----- Original Message ----- From: "Stasis" <staceyh...@inbox.lv> To: <laptop-discuss at opensolaris.org> Sent: Monday, June 18, 2007 4:59 AM Subject: [laptop-discuss] Re: NDIS Wrapper Toolkit 1.1 is now available
> Hi Michael! > > Right today I tried to compile bcmndis using your latest ndis 1.1 toolkit. > Unfortunately I failed to finish the job. I got some error messages at the > end. Could you please have a look on them and give me some advice? I have no > idea what else can I do, therefore I got stacked. Windows drivers are > downloaded using your link from ndis-1.1 webpage. I am using Solaris 10. > Below are all the steps I made in order to compile it: This is the problem, just as mentioned in ndis project page, ndis-1.1 bases on GLDv3, it works on solaris nevada build54 and higher. "DDI_NT_NET_WIFI" is not defined in Solaris 10, so you failed to build it. If you have to work on solaris 10, don't try to build/install ndis-1.1 please. - Michael > . . . > $ cp bcmwl5.inf $PATH/i386 > $ cp bcmwl5.sys $PATH/i386 > $ cd i386 > $ iconv -f utf-16 -t ascii bcmwl5.inf > bcmwl5-utf.inf > $ mv bcmwl5.sys ndis.sys > $ mv bcmwl5-utf.inf ndis.inf > > $ make ndiscvt > /usr/sfw/bin/gcc -I../include -O -c ../err.c -o err.o > /usr/sfw/bin/gcc -I../include -O -c ../inf.c -o inf.o > /usr/sfw/bin/gcc -I../include -O -c ../ndiscvt.c -o ndiscvt.o > /usr/sfw/bin/gcc -I../include -O -c ../subr_pe.c -o subr_pe.o > /usr/ccs/bin/yacc -d -v ../inf-parse.y > > conflicts: 1 reduce/reduce > mv y.tab.c inf-parse.c > /usr/sfw/bin/gcc -I../include -O -c inf-parse.c -o inf-parse.o > /usr/ccs/bin/yacc -d -v ../inf-parse.y > > conflicts: 1 reduce/reduce > mv y.tab.c inf-parse.c > /usr/sfw/bin/gcc -I../include -O -c inf-parse.c -o inf-parse.o > rm -f inf-token.c > /usr/sfw/bin/flex -t ../inf-token.l > inf-token.c > /usr/sfw/bin/gcc -I../include -O -c inf-token.c -o inf-token.o ,krm -f > inf-token.c > /usr/sfw/bin/flex -t ../inf-token.l > inf-token.c > /usr/sfw/bin/gcc -I../include -O -c inf-token.c -o inf-token.o > /usr/sfw/bin/gcc -I../include -O -o ndiscvt err.o inf.o ndiscvt.o subr_pe.o > inf-token.o inf-parse.o > > $ ./ndiscvt -i ndis.inf -s ndis.sys -o ndis.h > $Windows NT$ > > $ make ndisapi > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_ndis.c -o > subr_ndis.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_ndis.c -o > subr_ndis.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c > ../subr_ntoskrnl.c -o subr_ntoskrnl.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c > ../subr_ntoskrnl.c -o subr_ntoskrnl.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_pe.c -o > subr_pe.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_hal.c -o > subr_hal.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_hal.c -o > subr_hal.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../kern_ndis.c -o > kern_ndis.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../kern_ndis.c -o > kern_ndis.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../kern_windrv.c > -o kern_windrv.o > /usr/sfw/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../kern_windrv.c > -o kern_windrv.o > /usr/ccs/bin/ld -r -o ndisapi subr_ndis.o subr_ntoskrnl.o subr_pe.o > subr_hal.o kern_ndis.o kern_windrv.o > > $ make ndis > /usr/sfw/bin/gcc -g -O2 -D_KERNEL -D__i386__ -I../include -I. -c ../if_ndis.c > -o ndis.o > ../if_ndis.c: In function `ndis_attach': > ../if_ndis.c:3038: error: `DDI_NT_NET_WIFI' undeclared (first use in this > function) > ../if_ndis.c:3038: error: (Each undeclared identifier is reported only once > ../if_ndis.c:3038: error: for each function it appears in.) > *** Error code 1 > make: Fatal error: Command failed for target `ndis' > > There are two matters of my concern so far: > first of all about > > CONFLICT 1: REDUCE/REDUCE. > May it cause any problems? > > Second is make ndis issue ... > > Actually I have been trying to get ndis driver to work on my laptop for the > last week, so your upgrade of ndis wrapper came the right time (for me at > least). With the ndis-0.1 I managed to compile it and to install, but kernel > reported ntioctl errors on boot and driver could not connect a network. I > could easily plumb it up, but inetmenu was unable to configure it on boot. If > there is a need I can post those error messages as well, if it may help to > define the problem. The PCI string I tried is the right one. I have BCM > built-in module pci14e4,4318. > > Looking forward to getting some help soon. > > Thanks in advance, > > Stasis > > > This message posted from opensolaris.org > _______________________________________________ > laptop-discuss mailing list > laptop-discuss at opensolaris.org >