<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: compiling cipe
From: Damion Wilson <dwilson,AT,ibl,DOT,bm>
Date: Mon, 16 Sep 2002 19:34:16 +0200
In-reply-to: <20020916163114.63028.qmail@web12202.mail.yahoo.com>

I have no idea. It appears that there is something very broken  with your DDK 
installation. Try building the example drivers. Once you get that working, 
CIPE should build ok.

DKW

On Monday 16 September 2002 01:31 pm, you wrote:
> Thank you for your response. I am using DDK free and
> checked environment to build. The missing library I
> grabbed from cygwin.(I am not using cygwin to build.)
>
> The following is the compile errors:
>
> Driver version = 2.100
>       cl.exe -c -I. -I..\cipdrvr -GR -GX -Zi -Zp1 -MD -Fd
> -DDEBUG -D_WIN32_WINNT=0x0400 -DKEY_EXCHANGE_EARLY=1
> -DKEY_EXCHANGE_TIMEOUT=600000
> -DKEY_EXCHANGE_PACKETS=10000
> -DCIPE_DRIVER_MAJOR_VERSION=2
> -DCIPE_DRIVER_MINOR_VERSION=100 -DWIN32 -D_CONSOLE -GR
> -GX -Zi -Zp1 -MD -Fd -DDEBUG -D_WIN32_WINNT=0x0400
> -DKEY_EXCHANGE_EARLY=1 -DKEY_EXCHANGE_TIMEOUT=600000
> -DKEY_EXCHANGE_PACKETS=10000
> -DCIPE_DRIVER_MAJOR_VERSION=2
> -DCIPE_DRIVER_MINOR_VERSION=100 -DWIN32 -D_CONSOLE
> main.cpp
> main.cpp
> .\winnt.h(2657) : warning C4068: unknown pragma
> .\winnt.h(2663) : warning C4068: unknown pragma
> .\rpcdcep.h(88) : warning C4518: 'void ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\rpcdcep.h(88) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\rpcdcep.h(88) : error C2165: 'left-side modifier' :
> cannot modify pointers to data
> .\rpcdcep.h(88) : error C2501: 'I_RpcAllocate' :
> missing storage-class or type specifiers
> .\winsock2.h(336) : error C2632: 'long' followed by
> 'long' is illegal
> .\winsock2.h(475) : warning C4518: 'char ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(475) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(475) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(475) : error C2501: 'inet_ntoa' : missing
> storage-class or type specifiers
> .\winsock2.h(484) : warning C4518: 'hostent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(484) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(484) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(484) : error C2501: 'gethostbyaddr' :
> missing storage-class or type specifiers
> .\winsock2.h(485) : warning C4518: 'hostent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(485) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(485) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(485) : error C2501: 'gethostbyname' :
> missing storage-class or type specifiers
> .\winsock2.h(486) : warning C4518: 'servent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(486) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(486) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(486) : error C2501: 'getservbyport' :
> missing storage-class or type specifiers
> .\winsock2.h(487) : warning C4518: 'servent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(487) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(487) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(487) : error C2501: 'getservbyname' :
> missing storage-class or type specifiers
> .\winsock2.h(488) : warning C4518: 'protoent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(488) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(488) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(488) : error C2501: 'getprotobynumber' :
> missing storage-class or type specifiers
> .\winsock2.h(489) : warning C4518: 'protoent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(489) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(489) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(489) : error C2501: 'getprotobyname' :
> missing storage-class or type specifiers
>       cd C:\CIPE\CIPE-Win32\source\cipapplt\..\cipsrvr
>       nmake
>       cl.exe -c -I. -I..\cipdrvr -GR -GX -Zi -Zp1 -MD -Fd
> -DDEBUG -D_WIN32_WINNT=0x0400 -DKEY_EXCHANGE_EARLY=1
> -DKEY_EXCHANGE_TIMEOUT=600000
> -DKEY_EXCHANGE_PACKETS=10000
> -DCIPE_DRIVER_MAJOR_VERSION=2
> -DCIPE_DRIVER_MINOR_VERSION=100 -DWIN32 -D_CONSOLE -GR
> -GX -Zi -Zp1 -MD -Fd -DDEBUG -D_WIN32_WINNT=0x0400
> -DKEY_EXCHANGE_EARLY=1 -DKEY_EXCHANGE_TIMEOUT=600000
> -DKEY_EXCHANGE_PACKETS=10000
> -DCIPE_DRIVER_MAJOR_VERSION=2
> -DCIPE_DRIVER_MINOR_VERSION=100 -DWIN32 -D_CONSOLE
> main.cpp
> main.cpp
> .\winnt.h(2657) : warning C4068: unknown pragma
> .\winnt.h(2663) : warning C4068: unknown pragma
> .\rpcdcep.h(88) : warning C4518: 'void ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\rpcdcep.h(88) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\rpcdcep.h(88) : error C2165: 'left-side modifier' :
> cannot modify pointers to data
> .\rpcdcep.h(88) : error C2501: 'I_RpcAllocate' :
> missing storage-class or type specifiers
> .\winsock2.h(336) : error C2632: 'long' followed by
> 'long' is illegal
> .\winsock2.h(475) : warning C4518: 'char ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(475) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(475) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(475) : error C2501: 'inet_ntoa' : missing
> storage-class or type specifiers
> .\winsock2.h(484) : warning C4518: 'hostent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(484) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(484) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(484) : error C2501: 'gethostbyaddr' :
> missing storage-class or type specifiers
> .\winsock2.h(485) : warning C4518: 'hostent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(485) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(485) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(485) : error C2501: 'gethostbyname' :
> missing storage-class or type specifiers
> .\winsock2.h(486) : warning C4518: 'servent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(486) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(486) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(486) : error C2501: 'getservbyport' :
> missing storage-class or type specifiers
> .\winsock2.h(487) : warning C4518: 'servent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(487) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(487) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(487) : error C2501: 'getservbyname' :
> missing storage-class or type specifiers
> .\winsock2.h(488) : warning C4518: 'protoent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(488) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(488) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(488) : error C2501: 'getprotobynumber' :
> missing storage-class or type specifiers
> .\winsock2.h(489) : warning C4518: 'protoent ' :
> storage-class or type specifier(s) unexpected here;
> ignored
> .\winsock2.h(489) : warning C4230: anachronism used :
> modifiers/qualifiers interspersed, qualifier ignored
> .\winsock2.h(489) : error C2165: 'left-side modifier'
>
> : cannot modify pointers to data
>
> .\winsock2.h(489) : error C2501: 'getprotobyname' :
> missing storage-class or type specifiers
> 0 File(s) copied
> 0 File(s) copied
> Overwrite C:\CIPE\CIPE-Win32\disk1\OemSetNT.inf
> (Yes/No/All)?  Overwrite
> C:\CIPE\CIPE-Win32\disk1\OemSetNT.inf (Yes/No/All)?
> Overwrite C:\CIPE\CIPE-Win32\disk1\OemSetNT.inf
> (Yes/No/All)? Overwrite
> C:\CIPE\CIPE-Win32\disk1\OemWin2k.inf (Yes/No/All)? 0
> File(s) copied
>
> --- Damion Wilson <dwilson,AT,ibl,DOT,bm> wrote:
> > Oh, sorry. You're trying to use Cygwin (and
> > presumably GCC) to build Windows
> > 2000 device drivers. Good luck. I don't know of
> > anyone who's been able to
> > accomplish that yet. I wouldn't recommend it,
> > either. I know that VCC is
> > expensive and it would be nice to be able to use
> > GCC, but the DDK and SDK
> > stuff is all VCC specific.
> >
> > DKW
> >
> > On Friday 13 September 2002 07:47 pm, you wrote:
> > > Hi Damion and all,
> > >
> > > I am trying to compile the CIPE-Win32 on my 2000
> >
> > ddk
> >
> > > checked and free build. I use the include files
> >
> > from
> >
> > > cygwin and got a lot of compiling errors. Can you
> >
> > tell
> >
> > > me what libraries I should use in order to
> >
> > compile?
> >
> > > Thanks!
> > > Yuanhui
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! News - Today's headlines
> > > http://news.yahoo.com
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! News - Today's headlines
> http://news.yahoo.com





<< | Thread Index | >> ]    [ << | Date Index | >> ]