I suggest you to upgrade or replace exist onbld with below onbld, and try again.
#wget http://dlc.sun.com/osol/on/downloads/b127/SUNWonbld.i386.tar.bz2

Thanks,
Michael



[email protected] ??:
gcc is valid compiler for ndiswrapper toolkit for now, don't use cc please.
Just tried ndis-1.2.5 with default compiler gcc, it passed compiling under my Opensolairs build 127. You'd better to post the compile log with default gcc.

Michael, I use SunStudio not because I want so.

I faced following error when I tried gcc:

$ make ndis
/usr/gnu/bin/gcc -g -O2 -D_KERNEL -D__i386__ -I../include -I. -c ../if_ndis.c 
-o if_ndis.o
/usr/gnu/bin/gcc -g -O2 -D_KERNEL -D__i386__ -I../include -I. -c ../ndis_prop.c 
-o ndis_prop.o
/opt/onbld/bin/i386/ctfconvert -g -l NDISWRAPPER if_ndis.o
ERROR: ctfconvert: die 80: base type without name
Removing if_ndis.o
*** Error code 1
make: Fatal error: Command failed for target `ndis'

And for ndisapi
$ make ndisapi
/usr/gnu/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_ndis.c -o 
subr_ndis.o
/usr/gnu/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_ntoskrnl.c 
-o subr_ntoskrnl.o
/usr/gnu/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_pe.c -o 
subr_pe.o
/usr/gnu/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../subr_hal.c -o 
subr_hal.o
/usr/gnu/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../kern_ndis.c -o 
kern_ndis.o
/usr/gnu/bin/gcc -g -O -D_KERNEL -D__i386__ -I../include -c ../kern_windrv.c -o 
kern_windrv.o
/opt/onbld/bin/i386/ctfconvert -g -l NDISWRAPPER subr_ndis.o
ERROR: ctfconvert: die 80: base type without name
Removing subr_ndis.o
*** Error code 1
make: Fatal error: Command failed for target `ndisapi'


This log is in my first post.
I guess you didn't receive the first post as I wasn't subscribed
to driver-discuss.

You can see all my suffering :-) at
http://www.opensolaris.org/jive/thread.jspa?threadID=118796&tstart=0


_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to