Re: Driver linking error(symbols already defined), please help thi
- From: "sirip" <sirip@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 19 Sep 2005 17:51:01 -0700
Hi,
>From DDK build env window also I get same errors.
Onething I have to mention is that I got some warnings (both in cygwin & DDk
env) from this code as follows.
They didn't seem so harmful and I went ahead and SET
BUILD_ALLOW_ALL_WARNINGS=1.
Are these warnings creating the trouble after all ?
thanks
Ramesh
H:\CTO\windows\AOS_VPN\kernel\source\i386-windows-shim\ndis>.\buildit-free.cmd
****
Building for NT
****
Could Not Find
H:\CTO\windows\AOS_VPN\kernel\source\i386-windows-shim\ndis\*.pdb
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objfre_w2K_x86
BUILD: Compile and Link for i386
BUILD: Loading C:\WINDDK\3790~1.183\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining h:\cto\windows\aos_vpn\kernel\source\i386-windows-shim\ndis
dir
ectory for files to compile.
h:\cto\windows\aos_vpn\kernel\source\i386-windows-shim\ndis - 25 source
file
s (0 lines)
BUILD: Compiling (NoSync)
h:\cto\windows\aos_vpn\kernel\source\i386-windows-shim
\ndis directory
Compiling - shimmer.rc for i386
Compiling - devsec.c for i386
errors in directory
h:\cto\windows\aos_vpn\kernel\source\i386-windows-shim\ndis
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C2220:
war
ning treated as error - no object file generated
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C4005:
'SL
IST_ENTRY' : macro redefinition
Compiling - debug.c for i386
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C2220:
war
ning treated as error - no object file generated
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C4005:
'SL
IST_ENTRY' : macro redefinition
Compiling - pseudo-dhcpd.c for i386
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C2220:
war
ning treated as error - no object file generated
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C4005:
'SL
IST_ENTRY' : macro redefinition
pseudo-dhcpd.c(142) : error C4133: 'initializing' : incompatible types -
from 'u
nsigned short [17]' to 'PWSTR'
pseudo-dhcpd.c(387) : error C4133: 'function' : incompatible types - from
'unsig
ned short [15]' to 'WCHAR *'
pseudo-dhcpd.c(404) : error C4133: 'function' : incompatible types - from
'unsig
ned short [11]' to 'WCHAR *'
Compiling - irql.c for i386
Compiling - tcpioctl.c for i386
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C2220:
war
ning treated as error - no object file generated
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C4005:
'SL
IST_ENTRY' : macro redefinition
Compiling - tdi.c for i386
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C2220:
war
ning treated as error - no object file generated
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C4005:
'SL
IST_ENTRY' : macro redefinition
tdi.c(208) : error C4133: 'function' : incompatible types - from 'unsigned
short
[12]' to 'PWSTR'
tdi.c(351) : error C4133: 'function' : incompatible types - from 'unsigned
short
[12]' to 'PWSTR'
tdi.c(685) : error C4133: 'function' : incompatible types - from 'unsigned
short
[12]' to 'PWSTR'
Compiling - globals.c for i386
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C2220:
war
ning treated as error - no object file generated
h:\cto\windows\aos_vpn\kernel\include\common\sys\queue.h(124) : error C4005:
'SL
IST_ENTRY' : macro redefinition
globals.c(18) : error C4133: 'initializing' : incompatible types - from
'unsigne
d short [30]' to 'PWSTR'
globals.c(19) : error C4133: 'initializing' : incompatible types - from
'unsigne
"Ray Trent" wrote:
> sirip wrote:
> > I'm building it manually from cygwin which first calls ddkvars.bat.
>
> Does it work if you build it in the DDK build environment or do you get
> the same results?
> --
> Ray
>
.
- Follow-Ups:
- References:
- Prev by Date: Re: Driver linking error(symbols already defined), please help this ne
- Next by Date: Re: Question about "Pooltag utility"
- Previous by thread: Re: Driver linking error(symbols already defined), please help this ne
- Next by thread: Re: Driver linking error(symbols already defined), please help thi
- Index(es):
Relevant Pages
|