PDA

View Full Version : Is NDIS broken on FreeBSD 7.1 Beta 2


Weinter
November 20th, 2008, 10:53
I got this error
/usr/src/sys/i386/i386/genassym.c:223: error: 'struct mtx' has no member named 'mtx_recurse'
*** Error code 1

danger@
November 20th, 2008, 11:06
how do you know this is related to ndis?

Weinter
November 20th, 2008, 11:10
I tried to add
device ndis
options NDISAPI

The build fail

When i remove it it compiles successfully

Or instead of adding ndis into kernel config file can I kldload both ndis and the api?

Because my NDIS spits out this error when I tried to ndisgen my drivers

Building kernel module... cd: can't cd to /sys/i386/include build failed. Exiting

Thank You

danger@
November 20th, 2008, 11:16
seems like your src tree isn't complete. I would recommend you remove the whole /usr/src and /usr/obj and csup sources again.

Weinter
November 20th, 2008, 11:20
seems like your src tree isn't complete. I would recommend you remove the whole /usr/src and /usr/obj and csup sources again.

arghhh no...
I don't have a working internet connection now :x

Weinter
November 20th, 2008, 11:34
Yea I resync the /usr/src from CD now it works thanks