> I am trying to build my code in the .Net(2003) Server DDK build
environment.
I am building one module as .lib and the other module as
an DLL which uses some of the Exported classes in the .lib by statically
linking to the library.
The .lib builds perfectly. But when I try to build my
other module as a .DLL it throws
up an Error telling
libcpmt.lib(xlock.obj) : warning LNK4099:
PDB ‘libcpmt.pdb’ was not found with
‘(DDK_LIB_PATH) \libcpmt.lib’ or at ‘(MY_BUILD_PATH)\i386
\libcpmt.pdb’; linking object as if no debug info.
In my Sources file I have given the option to Ignore the
Warning 4099 (LINKER_FLAGS=/IGNORE:4099), but this does
not seems to get ignored.
Can anyone please tell me what is going wrong.
Is it that 2003 DDK does not ignore the 4099 Warning.
Regards,
Mallik
Mallik,
This is a problem with the Windows Server 2003 DDK. The referenced PDBs
are missing from the kit. We’re working on getting the files available for
download. In the meantime, you can turn of the linker flag “/Wx” by defining
%BUILD_ALLOW_LINKER_WARNINGS% in the build environment.
It is not possible to suppress only warning 4099.
–Scott
This posting is provided “AS IS” with no warranties, and confers no rights
I am trying to build my code in the .Net(2003) Server DDK build
environment.
I am building one module as .lib and the other module as
an DLL which uses some of the Exported classes in the .lib by statically
linking to the library.
The .lib builds perfectly. But when I try to build my
other module as a .DLL it throws
up an Error telling
libcpmt.lib(xlock.obj) : warning LNK4099:
PDB ‘libcpmt.pdb’ was not found with
‘(DDK_LIB_PATH) \libcpmt.lib’ or at ‘(MY_BUILD_PATH)\i386
\libcpmt.pdb’; linking object as if no debug info.
In my Sources file I have given the option to Ignore the
Warning 4099 (LINKER_FLAGS=/IGNORE:4099), but this does
not seems to get ignored.
Can anyone please tell me what is going wrong.
Is it that 2003 DDK does not ignore the 4099 Warning.
Regards,
Mallik