Page 1 of 1

vanila 2.6.19.2 + grsec + madwifi current

PostPosted: Thu May 17, 2007 10:22 am
by sebar
Hello.
I'm trying to compile AP driver for my
TP-link card...
root <at> router:/usr/src/madwifi-ng-r2344-20070517# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.19.2-grsec/build SUBDIRS=/usr/src/madwifi-ng-r2344-20070517 modules
make[1]: Entering directory `/usr/src/linux-2.6.19.2'
CC [M] /usr/src/madwifi-ng-r2344-20070517/ath/if_ath.o
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9534: warning: missing initializer
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9534: warning: (near initialization for `ath_sysctl_template[17].procname')
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9715: warning: missing initializer
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9715: warning: (near initialization for `ath_static_sysctls[5].procname')
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9722: warning: missing initializer
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9722: warning: (near initialization for `ath_ath_table[1].procname')
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9729: warning: missing initializer
/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.c:9729: warning: (near initialization for `ath_root_table[1].procname')
make[3]: *** [/usr/src/madwifi-ng-r2344-20070517/ath/if_ath.o] Error 1
make[2]: *** [/usr/src/madwifi-ng-r2344-20070517/ath] Error 2
make[1]: *** [_module_/usr/src/madwifi-ng-r2344-20070517] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19.2'
make: *** [modules] Error 2


Madwifi compiles fines without grsec.
------------------------
Sebastian Rolek

PostPosted: Thu May 17, 2007 5:52 pm
by harrygittens
hi

look in Makefile.in

there is line COPTS += Werror, remove the Werror

PostPosted: Fri May 18, 2007 9:00 am
by sebar
Now works fine (^_^).
Thanks for help.