On 1/14/06, Geert Bevin <gbevin at uwyn.com> wrote: > Ok, so I booted with a 32 bit kernel and downloaded the 32 bit Broadcom > windows drivers for the Acer Ferrari 4005. I took bcmwl5.sys and > bcmwl5.inf from there, renamed them to bcm32.inf and bcm32.sys and put > them into ndis-0.1/i386 (there's a typo on the site, there's additional > ndis directory). When I type 'make ndiscvt' the compilation complains > about missing headers, so I manually added -I../include to all $(CC) > calls. It seems that there's something wrong with the Makefile, but > after so many years of Java development I kinda forgot how everything > works together in there.
That's not what I get. I just untar'ed the archive in a new directory and tried to the same thing: $ 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 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 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 Are you using gmake? Try /usr/ccs/bin/make instead. > However, when I execute "./ndiscvt -i bcm32.inf -s bcm32.sys -o ndis.h" > as the next step, I get the following error message: > ndiscvt: line 13: e: syntax error. > > What did I do wrong? Did you convert the .inf file to ASCII? - Andrei
