Hi,

Not sure if this is the right pace to post this, so apologies in advance if it 
is wrong. 

I have the 01/06 Solaris 10 install on my laptop and I have compiled the 
cardbus and ndis_wrapper components to enable wireless support using my 
Belkin54g WiFi Cardbus adapter (Broadcom chipset I believe).

This was mostly successful but thought it might be appropriate to share the 
following error.

When making ndis (after the ndiscvt ?I 
 line) I got 

# make ndis
/usr/sfw/bin/gcc -g -O2 -D_KERNEL -D__i386__ -I../include -I. -c ../if_ndis.c -
o ndis.o
In file included from /usr/include/sys/sunddi.h:23,
                 from ../if_ndis.c:57:
/usr/include/sys/ddi_implfuncs.h:206: error: syntax error 
before "peekpoke_ctlops_t"
./if_ndis.c: In function `ndis_attach':
./if_ndis.c:2304: error: `drv_data_len' undeclared (first use in this function)
./if_ndis.c:2304: error: (Each undeclared identifier is reported only once
./if_ndis.c:2304: error: for each function it appears in.)
./if_ndis.c:2305: error: `drv_data' undeclared (first use in this function)
./if_ndis.c:2376: error: `ndis_regvals' undeclared (first use in this function)
./if_ndis.c: In function `ndis_detach':
./if_ndis.c:2741: error: `drv_data_len' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `ndis'

After some digging I tried commenting out the line (206) 
in /usr/include/sys/ddi_implfuncs.h and the compilation completed. The driver 
loaded and bound to the cardbus socket with no issues. I was then able to plumb 
the interface and attach to my network using wificonfig.

Hope somebody finds this useful

Cheers

Shaun
(shaun007)


-- 

Reply via email to