Guys, I'm attempting to compile the NDIS driver for a buffalo wifi card (wli-cb-g54hp) and have run accross simple definition errors compiling. Gcc complains about
../if_ndisvar.h:60: error: syntax error before 'ddi_acc_handle_t' ../if_ndisvar.h:60: warning: no semicolon at end of struct or union I've found ddi_acc_handle_t is defined here as such: /usr/include/sys/dditypes.h: typedef struct __ddi_acc_handle *ddi_acc_handle_t; The results don't change if I manually include <sys/dditypes.h>. Also in this same struct are ddi_dma_handle_t and ddi_dma_cookie_t which are both defined in dditypes.h. Gcc never complains about them. If I remove the ddi_acc_handle_t line it has no further problems with that struct, but I'm sure I don't want to do that. How can I get this to compile? I'm running nexenta with build 61 of opensolaris, gcc 4.0.3, make 3.81beta4. Thanks, Cory -- Cory Petkovsek Adapting Information Adaptable IT Consulting Technology to Your (858) 705-1655 Business cory at AdaptableIT.com www.AdaptableIT.com