Build driver UniATA

Hi,
I’m I.T french student who need build this driver :
http://alter.org.ua/en/soft/win/uni_ata/
This UniATA Generic driver is a free driver.
I have WinXp SP3 with DDK 2003, Visual Studio C Express 2008 with DDK
wizard.
I have create a new DDk project (and put all files in) and I obtain this
rapport :

DDKBLD: >> Performing pre-build steps [ddkprebld.cmd] …
DDKBLD: << Finished pre-build steps [ddkprebld.cmd] …
DDKBLD: WNETXP (free) using the Windows 2003 Server DDK and %WNETBASE%
DDKBLD: Directory:
C:\DOCUME~1\ADMINI~1\MESDOC~1\VISUAL~1\Projects\EMPTYD~1\EMPTYD~1
DDKBLD: WNETBASE: C:\WINDDK\3790~1.183
DDKBLD: Run build -Ze for free version in .
BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\stdafx.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\stdafx.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\config.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\config.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\tools.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\tools.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\atapi.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\atapi.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\bm_devs.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\bm_devs.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\ntddscsi.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\ntddscsi.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\scsi.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\scsi.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\srb.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\srb.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\uata_ctl.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\uata_ctl.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\bsmaster.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\bsmaster.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\id_queue.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\id_queue.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\uniata_ver.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\uniata_ver.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\id_sata.h”
BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\id_sata.h”
BUILD: Examining
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
for files to compile.
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
BUILD: Compiling (NoSync)
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
Compiling - “idedma.rc” for unknown target
errors in directory
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
c:\winddk\3790~1.183\inc\wxp\common.ver(172) : error RC2104 : undefined
keyword or key name: UNIATA_VER_DOT_COMMA
Compiling - id_ata.cpp for unknown target
id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before identifier
‘UNIATA_VER_STR’
id_ata.cpp(64) : error C1004: unexpected end of file found
Compiling - id_ata.cpp for unknown target
LINK : error LNK1181: cannot open input file ‘ntoskrnl.lib’
idedma.mak(23) : error U1050: An invalid configuration is specified.
BUILD: Compile errors: not linking
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
BUILD: Done
4 files compiled - 1 Warning - 6 Errors
DDKBLD: ================ Build warnings =======================
id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before identifier
‘UNIATA_VER_STR’
id_ata.cpp(64) : fatal error C1004: unexpected end of file found
idedma.mak(23) : fatal error U1050: An invalid configuration is specified.
DDKBLD: =======================================================
DDKBLD: Build complete
DDKBLD: Building browse information files
DDKBLD: >> Performing post-build steps [ddkpostbld.cmd] …
DDKBLD: << Finished post-build steps [ddkpostbld.cmd] …
Le journal de g?n?ration a ?t? enregistr? ? l’emplacement
“file://c:\Documents and Settings\Administrateur\Mes documents\Visual Studio
2008\Projects\EmptyDriver1\EmptyDriver1\BuildLog.htm”
EmptyDriver1.WNET - 11 erreur(s), 0 avertissement(s)
========== G?n?ration : 0 a r?ussi, 1 a ?chou?, 0 mis ? jour, 0 a ?t? ignor?

*id_ata.cpp* :

#ifndef UNIATA_CORE

static const CHAR ver_string = “\n\nATAPI IDE MiniPort Driver (UniATA) v
0.” UNIATA_VER_STR “\n”; (line62)

static const CHAR uniata_comm_name = UNIATA_COMM_PORT_VENDOR_STR;

UNICODE_STRING SavedRegPath;
WCHAR SavedRegPathBuffer[256];

#endif //UNIATA_CORE

Can you help me please ? (I think you should try to build this because I can
have made errors :blush: )
I wonder if it’s only possible to compile…

PS : Sorry for my poor english…

Thanks for advance.
David.

Do yourself a favor - don’t ever locate any project that you plan to use
BUILD to build in a folder that has one or more spaces anywhere in the
fullpath. It will cause problems, and usually the error messages are
misleading.

Good luck,

mm

David GOUTTEBARON LAUBARY wrote:

Hi,
I’m I.T french student who need build this driver :
http://alter.org.ua/en/soft/win/uni_ata/
This UniATA Generic driver is a free driver.
I have WinXp SP3 with DDK 2003, Visual Studio C Express 2008 with DDK
wizard.
I have create a new DDk project (and put all files in) and I obtain this
rapport :

DDKBLD: >> Performing pre-build steps [ddkprebld.cmd] …
DDKBLD: << Finished pre-build steps [ddkprebld.cmd] …
DDKBLD: WNETXP (free) using the Windows 2003 Server DDK and %WNETBASE%
DDKBLD: Directory:
C:\DOCUME~1\ADMINI~1\MESDOC~1\VISUAL~1\Projects\EMPTYD~1\EMPTYD~1
DDKBLD: WNETBASE: C:\WINDDK\3790~1.183
DDKBLD: Run build -Ze for free version in .
BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\stdafx.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\stdafx.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\config.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\config.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\tools.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\tools.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\atapi.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\atapi.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\bm_devs.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\bm_devs.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\ntddscsi.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\ntddscsi.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\scsi.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\scsi.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\srb.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\srb.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\uata_ctl.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\uata_ctl.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\bsmaster.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\bsmaster.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\id_queue.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\id_queue.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\uniata_ver.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\uniata_ver.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid directory prefix in SOURCES= entry: “.\id_sata.h”
BUILD:
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
Ignoring invalid SOURCES= entry: “.\id_sata.h”
BUILD: Examining
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
directory for files to compile.
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
BUILD: Compiling (NoSync)
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
Compiling - “idedma.rc” for unknown target
errors in directory
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
c:\winddk\3790~1.183\inc\wxp\common.ver(172) : error RC2104 : undefined
keyword or key name: UNIATA_VER_DOT_COMMA
Compiling - id_ata.cpp for unknown target
id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before
identifier ‘UNIATA_VER_STR’
id_ata.cpp(64) : error C1004: unexpected end of file found
Compiling - id_ata.cpp for unknown target
LINK : error LNK1181: cannot open input file ‘ntoskrnl.lib’
idedma.mak(23) : error U1050: An invalid configuration is specified.
BUILD: Compile errors: not linking
c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
BUILD: Done
4 files compiled - 1 Warning - 6 Errors
DDKBLD: ================ Build warnings =======================
id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before
identifier ‘UNIATA_VER_STR’
id_ata.cpp(64) : fatal error C1004: unexpected end of file found
idedma.mak(23) : fatal error U1050: An invalid configuration is specified.
DDKBLD: =======================================================
DDKBLD: Build complete
DDKBLD: Building browse information files
DDKBLD: >> Performing post-build steps [ddkpostbld.cmd] …
DDKBLD: << Finished post-build steps [ddkpostbld.cmd] …
Le journal de génération a été enregistré à l’emplacement
“file://c:\Documents and Settings\Administrateur\Mes documents\Visual
Studio 2008\Projects\EmptyDriver1\EmptyDriver1\BuildLog.htm”
EmptyDriver1.WNET - 11 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été
ignoré ==========

*id_ata.cpp* :

#ifndef UNIATA_CORE

static const CHAR ver_string = “\n\nATAPI IDE MiniPort Driver (UniATA)
v 0.” UNIATA_VER_STR “\n”; (line62)

static const CHAR uniata_comm_name = UNIATA_COMM_PORT_VENDOR_STR;

UNICODE_STRING SavedRegPath;
WCHAR SavedRegPathBuffer[256];

#endif //UNIATA_CORE

Can you help me please ? (I think you should try to build this because I
can have made errors :blush: )
I wonder if it’s only possible to compile…

PS : Sorry for my poor english…

Thanks for advance.
David.

First of all thanks for your quickly response !
I have create a new project in D: (with clean folder etc.) but the mains
issues are the same …

DDKBLD: ================ Build warnings =======================
id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before identifier
‘UNIATA_VER_STR’
id_ata.cpp(64) : fatal error C1004: unexpected end of file found
idedma.mak(23) : fatal error U1050: An invalid configuration is specified.
DDKBLD: ===================================================

I don’t understand this kind of errors… It’s possible that the source code
is dead ?

Thx !

2009/1/19 Martin O’Brien

> Do yourself a favor - don’t ever locate any project that you plan to use
> BUILD to build in a folder that has one or more spaces anywhere in the
> fullpath. It will cause problems, and usually the error messages are
> misleading.
>
> Good luck,
>
> mm
>
>
> David GOUTTEBARON LAUBARY wrote:
>
>> Hi,
>> I’m I.T french student who need build this driver :
>> http://alter.org.ua/en/soft/win/uni_ata/
>> This UniATA Generic driver is a free driver.
>> I have WinXp SP3 with DDK 2003, Visual Studio C Express 2008 with DDK
>> wizard.
>> I have create a new DDk project (and put all files in) and I obtain this
>> rapport :
>>
>>
>> DDKBLD: >> Performing pre-build steps [ddkprebld.cmd] …
>> DDKBLD: << Finished pre-build steps [ddkprebld.cmd] …
>> DDKBLD: WNETXP (free) using the Windows 2003 Server DDK and %WNETBASE%
>> DDKBLD: Directory:
>> C:\DOCUME~1\ADMINI~1\MESDOC~1\VISUAL~1\Projects\EMPTYD~1\EMPTYD~1
>> DDKBLD: WNETBASE: C:\WINDDK\3790~1.183
>> DDKBLD: Run build -Ze for free version in .
>> BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
>> BUILD: Object root set to: ==> objfre_wxp_x86
>> BUILD: Compile and Link for i386
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\stdafx.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\stdafx.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\config.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\config.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\tools.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\tools.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\atapi.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\atapi.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\bm_devs.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\bm_devs.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\ntddscsi.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\ntddscsi.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\scsi.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\scsi.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\srb.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\srb.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\uata_ctl.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\uata_ctl.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\bsmaster.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\bsmaster.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\id_queue.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\id_queue.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\uniata_ver.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\uniata_ver.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid directory prefix in SOURCES= entry: “.\id_sata.h”
>> BUILD: c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>> Ignoring invalid SOURCES= entry: “.\id_sata.h”
>> BUILD: Examining
>> c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
>> for files to compile.
>> c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
>> BUILD: Compiling (NoSync)
>> c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
>> Compiling - “idedma.rc” for unknown target
>> errors in directory
>> c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
>> c:\winddk\3790~1.183\inc\wxp\common.ver(172) : error RC2104 : undefined
>> keyword or key name: UNIATA_VER_DOT_COMMA
>> Compiling - id_ata.cpp for unknown target
>> id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
>> id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before identifier
>> ‘UNIATA_VER_STR’
>> id_ata.cpp(64) : error C1004: unexpected end of file found
>> Compiling - id_ata.cpp for unknown target
>> LINK : error LNK1181: cannot open input file ‘ntoskrnl.lib’
>> idedma.mak(23) : error U1050: An invalid configuration is specified.
>> BUILD: Compile errors: not linking
>> c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
>> BUILD: Done
>> 4 files compiled - 1 Warning - 6 Errors
>> DDKBLD: ================ Build warnings =======================
>> id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
>> id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before identifier
>> ‘UNIATA_VER_STR’
>> id_ata.cpp(64) : fatal error C1004: unexpected end of file found
>> idedma.mak(23) : fatal error U1050: An invalid configuration is specified.
>> DDKBLD: =======================================================
>> DDKBLD: Build complete
>> DDKBLD: Building browse information files
>> DDKBLD: >> Performing post-build steps [ddkpostbld.cmd] …
>> DDKBLD: << Finished post-build steps [ddkpostbld.cmd] …
>> Le journal de g?n?ration a ?t? enregistr? ? l’emplacement
>> “file://c:\Documents and Settings\Administrateur\Mes documents\Visual Studio
>> 2008\Projects\EmptyDriver1\EmptyDriver1\BuildLog.htm”
>> EmptyDriver1.WNET - 11 erreur(s), 0 avertissement(s)
>> ========== G?n?ration : 0 a r?ussi, 1 a ?chou?, 0 mis ? jour, 0 a ?t?
>> ignor? ==========
>>
>> id_ata.cpp :
>>
>> #ifndef UNIATA_CORE
>>
>> static const CHAR ver_string = “\n\nATAPI IDE MiniPort Driver (UniATA) v
>> 0.” UNIATA_VER_STR “\n”; (line62)
>>
>> static const CHAR uniata_comm_name = UNIATA_COMM_PORT_VENDOR_STR;
>>
>> UNICODE_STRING SavedRegPath;
>> WCHAR SavedRegPathBuffer[256];
>>
>> #endif //UNIATA_CORE
>>
>>
>> Can you help me please ? (I think you should try to build this because I
>> can have made errors :blush: )
>> I wonder if it’s only possible to compile…
>>
>> PS : Sorry for my poor english…
>>
>> Thanks for advance.
>> David.
>>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Source code DEAD? Hmmm… Perhaps it is UNDEAD!? Which would be worse, of course. MUCH worse, in fact. Or do you need to have a zombie process in order to have undead source code?

Oh, such metaphysical questions are well beyond me.

Peter
OSR

I’ve just looked at this package and what a pile of #^%# it is.

Have you read the file “building.txt” ? Although
I hate the way it does things, it does tell you
how to build it - and you’re not doing it according to instructions.

The package builds using the command line and
“NMAKE”, it does not use Visual Studio apart from
requiring a path to where the VS tools reside.

Funnily enough, this dovetails nicely with the
other recent thread about how one might go about
replacing BUILD with NMAKE. However, I’m sure
there’s rather a lot of problems this package does not solve in that regard.

Mark.

At 15:41 19/01/2009, David GOUTTEBARON LAUBARY wrote:

First of all thanks for your quickly response !
I have create a new project in D: (with clean
folder etc.) but the mains issues are the same …

DDKBLD: ================ Build warnings =======================
id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
id_ata.cpp(64) : error C2146: syntax error :
missing ‘;’ before identifier ‘UNIATA_VER_STR’
id_ata.cpp(64) : fatal error C1004: unexpected end of file found
idedma.mak(23) : fatal error U1050: An invalid configuration is specified.
DDKBLD: ===================================================

I don’t understand this kind of errors… It’s
possible that the source code is dead ?

Thx !

2009/1/19 Martin O’Brien
<mailto:xxxxxxxxxx@evitechnology.com>
>Do yourself a favor - don’t ever locate any
>project that you plan to use BUILD to build in a
>folder that has one or more spaces anywhere in
>the fullpath. It will cause problems, and
>usually the error messages are misleading.
>
>Good luck,
>
>mm
>
>
>David GOUTTEBARON LAUBARY wrote:
>Hi,
>I’m I.T french student who need build this
>driver :
>http:</http:>http://alter.org.ua/en/soft/win/uni_ata/
>This UniATA Generic driver is a free driver.
>I have WinXp SP3 with DDK 2003, Visual Studio C Express 2008 with DDK wizard.
>I have create a new DDk project (and put all
>files in) and I obtain this rapport :
>
>
>DDKBLD: >> Performing pre-build steps [ddkprebld.cmd] …
>DDKBLD: << Finished pre-build steps [ddkprebld.cmd] …
>DDKBLD: WNETXP (free) using the Windows 2003 Server DDK and %WNETBASE%
>DDKBLD: Directory:
>C:\DOCUME~1\ADMINI~1\MESDOC~1\VISUAL~1\Projects\EMPTYD~1\EMPTYD~1
>DDKBLD: WNETBASE: C:\WINDDK\3790~1.183
>DDKBLD: Run build -Ze for free version in .
>BUILD: Adding /Y to COPYCMD so xcopy ops won’t hang.
>BUILD: Object root set to: ==> objfre_wxp_x86
>BUILD: Compile and Link for i386
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\stdafx.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\stdafx.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\config.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\config.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\tools.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\tools.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\atapi.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\atapi.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\bm_devs.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\bm_devs.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\ntddscsi.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\ntddscsi.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\scsi.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\scsi.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\srb.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\srb.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\uata_ctl.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\uata_ctl.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\bsmaster.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\bsmaster.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\id_queue.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\id_queue.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\uniata_ver.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\uniata_ver.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid directory prefix in SOURCES= entry: “.\id_sata.h”
>BUILD:
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1:
>Ignoring invalid SOURCES= entry: “.\id_sata.h”
>BUILD: Examining
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
>directory for files to compile.
> c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
>BUILD: Compiling (NoSync)
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
>Compiling - “idedma.rc” for unknown target
>errors in directory
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1
>c:\winddk\3790~1.183\inc\wxp\common.ver(172) :
>error RC2104 : undefined keyword or key name: UNIATA_VER_DOT_COMMA
>Compiling - id_ata.cpp for unknown target
>id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
>id_ata.cpp(64) : error C2146: syntax error :
>missing ‘;’ before identifier ‘UNIATA_VER_STR’
>id_ata.cpp(64) : error C1004: unexpected end of file found
>Compiling - id_ata.cpp for unknown target
>LINK : error LNK1181: cannot open input file ‘ntoskrnl.lib’
>idedma.mak(23) : error U1050: An invalid configuration is specified.
>BUILD: Compile errors: not linking
>c:\docume~1\admini~1\mesdoc~1\visual~1\projects\emptyd~1\emptyd~1 directory
>BUILD: Done
> 4 files compiled - 1 Warning - 6 Errors
>DDKBLD: ================ Build warnings =======================
>id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
>id_ata.cpp(64) : error C2146: syntax error :
>missing ‘;’ before identifier ‘UNIATA_VER_STR’
>id_ata.cpp(64) : fatal error C1004: unexpected end of file found
>idedma.mak(23) : fatal error U1050: An invalid configuration is specified.
>DDKBLD: =======================================================
>DDKBLD: Build complete
>DDKBLD: Building browse information files
>DDKBLD: >> Performing post-build steps [ddkpostbld.cmd] …
>DDKBLD: << Finished post-build steps [ddkpostbld.cmd] …
>Le journal de g?n?ration a ?t? enregistr? ?
>l’emplacement “file://c:\Documents and
>Settings\Administrateur\Mes documents\Visual
>Studio 2008\Projects\EmptyDriver1\EmptyDriver1\BuildLog.htm”
>EmptyDriver1.WNET - 11 erreur(s), 0 avertissement(s)
>========== G?n?ration : 0 a r?ussi, 1 a ?chou?,
>0 mis ? jour, 0 a ?t? ignor? ==========
>
>id_ata.cpp :
>
>#ifndef UNIATA_CORE
>
>static const CHAR ver_string = “\n\nATAPI IDE
>MiniPort Driver (UniATA) v 0.” UNIATA_VER_STR
>“\n”; (line62)
>
>static const CHAR uniata_comm_name = UNIATA_COMM_PORT_VENDOR_STR;
>
>UNICODE_STRING SavedRegPath;
>WCHAR SavedRegPathBuffer[256];
>
>#endif //UNIATA_CORE
>
>
>Can you help me please ? (I think you should try
>to build this because I can have made errors :blush: )
>I wonder if it’s only possible to compile…
>
>PS : Sorry for my poor english…
>
>Thanks for advance.
>David.
>
>
>—
>NTDEV is sponsored by OSR
>
>For our schedule of WDF, WDM, debugging and
>other seminars visit: http:http://www.osr.com/seminars
>
>To unsubscribe, visit the List Server section of
>OSR Online at
>http:http://www.osronline.com/page.cfm?name=ListServer
>
>
>— NTDEV is sponsored by OSR For our schedule
>of WDF, WDM, debugging and other seminars visit:
>http://www.osr.com/seminars To unsubscribe,
>visit the List Server section of OSR Online at
>http://www.osronline.com/page.cfm?name=ListServer</http:></http:></mailto:xxxxx>

David GOUTTEBARON LAUBARY wrote:

First of all thanks for your quickly response !
I have create a new project in D: (with clean folder etc.) but the
mains issues are the same …

DDKBLD: ================ Build warnings =======================
id_ata.cpp(62) : error C2143: syntax error : missing ‘;’ before ‘string’
id_ata.cpp(64) : error C2146: syntax error : missing ‘;’ before
identifier ‘UNIATA_VER_STR’
id_ata.cpp(64) : fatal error C1004: unexpected end of file found
idedma.mak(23) : fatal error U1050: An invalid configuration is specified.
DDKBLD: ===================================================

I don’t understand this kind of errors… It’s possible that the
source code is dead ?

If you will excuse me for being blunt, if you are not able to debug as
simple a C problem as this, perhaps you are not ready to be playing
around with a Universal ATA driver.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.