s3erios / rtwn

Merged rtwn(4), urtwn(4) and urtwm FreeBSD drivers
8 stars 7 forks source link

Issue with compiling - "'if_maddr_rlock' declared here" #7

Closed unix-vokar closed 3 years ago

unix-vokar commented 3 years ago

Have issue on:

Build and install main module: cd ../rtwn && make depend && make && make install.


/usr/home/cziken/.github/rtwn/sys/modules/rtwn/../../dev/rtwn/if_rtwn_rx.c:336:4: error: implicit declaration of function 'if_maddr_rlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if_maddr_rlock(ifp); ^ /usr/home/cziken/.github/rtwn/sys/modules/rtwn/../../dev/rtwn/if_rtwn_rx.c:351:4: error: implicit declaration of function 'if_maddr_runlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if_maddr_runlock(ifp); ^ /usr/home/cziken/.github/rtwn/sys/modules/rtwn/../../dev/rtwn/if_rtwn_rx.c:351:4: note: did you mean 'if_maddr_rlock'? /usr/home/cziken/.github/rtwn/sys/modules/rtwn/../../dev/rtwn/if_rtwn_rx.c:336:4: note: 'if_maddr_rlock' declared here if_maddr_rlock(ifp); ^ 2 errors generated. *** Error code 1

Stop.

s3erios commented 3 years ago

The compilation issue should be resolved now; however, this repository is not maintained anymore since the driver was already merged to FreeBSD few years ago.

mrPsycho commented 2 years ago

hm... if it is merged to FreeBSD... why it is not so easy to find it on FreeBSD 13 nowadays?

looks like will continue to find this repo time to time )