Re: LNK4078: multiple .rdata and .data
- From: Betsy <Betsy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 1 May 2006 08:54:01 -0700
I'm not making good progress. I select a command prompt that puts me in the
build environment and run build. It now creates a build.dat file in the
winddk directory which lists the C and H files but I don't understand how
this gets me closer to resolving the multiple .rdata sections when I compile?
I've never used this build tool and have found little documentation. My
program is compiled from non-tool produced makefiles.
"Norman Diamond" wrote:
From your Start button you need to go to Development Kits, continue to the.
DDK and the kind of target environment that you want to build for, and open
a command prompt from that part of the start menu. That command prompt will
have environment variables set to use the DDK instead of other compilers.
That is what you need in order to build a device driver or to get debug
output from the DDK's compiler.
"Betsy" <Betsy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1A9574BE-1ECA-47C1-BAEF-4BC7131A59CB@xxxxxxxxxxxxxxxx
I never used BUILD before so I might be doing something wrong but the
output
in build.log states :
BUILD: Compile and Link for i386
BUILD: Computing Include file dependencies:
BUILD: c:\progra~1\micros~4\vc98\include\exdisp.odl(31):
c:\progra~1\micros~4\vc
98\include\exdisp.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: c:\progra~1\micros~4\vc98\include\vidsvr.odl(16):
c:\progra~1\micros~4\vc
98\include\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: Unable to save the dependency database: \nt\build.dat
BUILD: Done
"Maxim S. Shatskih" wrote:
Also, I am compiling from homemade makefiles and would like to add
debug
information to debug the application with windbg. What are the compiler
and
link options I need to add to get full debug information ?
Build something with BUILD, then look at the compiler and linker command
lines
in BUILD.LOG
Usually, the compiler's flag to switch on debug info is -Zi
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
- Follow-Ups:
- Re: LNK4078: multiple .rdata and .data
- From: Norman Diamond
- Re: LNK4078: multiple .rdata and .data
- Prev by Date: Re: Updates, Upgrades, Drivers, Managing the Madness
- Next by Date: access to port 0x2e
- Previous by thread: Re: NDIS and selective suspend
- Next by thread: Re: LNK4078: multiple .rdata and .data
- Index(es):