Hello, At last, I get something working..
Don't ask me how I've get it, because after several 'try&error' with different solutions from internet (thanks St. Google), I have been able to compile the modules. I think that creating 'usr/src/linux/.tmp_versions' directory have made the trick, but I am not sure. Well, now I have to play a bit with hotplug and needed scripts to turn down eth0 and turn up wlan0 (using dhcp) when the usb-wifi is plugged. Thanks and best regards, > >>> Well, mostly creating symlink to kernel-source-2.6.8 or to >>> kernel-build-2.6.8-powerpc the result is the same than answering its >>> location to Linux source question, I haven't pasted the results but I >>> can do it later. >> Ok. > Here they go what it happens: > > > [EMAIL PROTECTED]:~/linux-wlan-ng-0.2.1pre23$ make all > set -e; for d in src doc man etc; do make -C $d ; done > make[1]: Entering directory > `/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src' set -e; for d in mkmeta > p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make -C $d ; > donemake[2]: Entering directory > `/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/mkmeta'gcc -E -M > -I../include -I/usr/src/linux/include -D__LINUX_WLAN__ > /shared/p80211types.c ../shared/p80211metamsg.c > /shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c > /shared/p80211types.c ../shared/p80211metamsg.c > /shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c > > .dependmkdir -p obj gcc -c -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer -I../include -I/usr/src/linux/include > -D__LINUX_WLAN__ ../shared/p80211types.c -o > obj/p80211types.o../shared/p80211types.c: En la función > `p80211_totext_displaystr': /shared/p80211types.c:272: aviso: formato > long unsigned int, argumento UINT32 (argumento > 3)../shared/p80211types.c: En la función `p80211_totext_octetstr': > /shared/p80211types.c:477: aviso: formato long unsigned int, argumento > UINT32 (argumento 3)../shared/p80211types.c: En la función > `p80211_totext_int': /shared/p80211types.c:669: aviso: formato long > unsigned int, argumento unsigned int (argumento > 4)../shared/p80211types.c:687: aviso: formato long unsigned int, > argumento UINT32 (argumento 3)../shared/p80211types.c: En la función > `p80211_totext_enumint': /shared/p80211types.c:884: aviso: formato long > unsigned int, argumento UINT32 (argumento 3)../shared/p80211types.c: En > la función `p80211_totext_getmibattribute': /shared/p80211types.c:1082: > aviso: formato long unsigned int, argumento UINT32 (argumento > 3)../shared/p80211types.c:1097: aviso: formato long unsigned int, > argumento UINT32 (argumento 3)../shared/p80211types.c: En la función > `p80211_totext_setmibattribute': /shared/p80211types.c:1177: aviso: > formato long unsigned int, argumento UINT32 (argumento > 3)../shared/p80211types.c:1192: aviso: formato long unsigned int, > argumento UINT32 (argumento 3)../shared/p80211types.c: En la función > `p80211_totext_intarray': /shared/p80211types.c:1559: aviso: formato > long unsigned int, argumento UINT32 (argumento > 3)../shared/p80211types.c:1577: aviso: formato long unsigned int, > argumento unsigned int (argumento 3)../shared/p80211types.c:1577: > aviso: formato long unsigned int, argumento unsigned int (argumento > 3)../shared/p80211types.c: En la función `p80211_totext_bitarray': > /shared/p80211types.c:1772: aviso: formato long unsigned int, argumento > UINT32 (argumento 3)../shared/p80211types.c:1796: aviso: formato long > unsigned int, argumento unsigned int (argumento > 3)../shared/p80211types.c: En la función `p80211_fromtext_bitarray': > /shared/p80211types.c:1869: aviso: formato long unsigned int, argumento > UINT32 (argumento 3)../shared/p80211types.c: En la función > `p80211_totext_macarray': /shared/p80211types.c:1970: aviso: formato > long unsigned int, argumento UINT32 (argumento 3)gcc -c -Wall > -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include > -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211metamsg.c -o > obj/p80211metamsg.ogcc -c -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer -I../include -I/usr/src/linux/include > -D__LINUX_WLAN__ ../shared/p80211metamib.c -o obj/p80211metamib.ogcc -c > -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include > -I/usr/src/linux/include -D__LINUX_WLAN__ ../shared/p80211meta.c -o > obj/p80211meta.ogcc -c -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer -I../include -I/usr/src/linux/include > -D__LINUX_WLAN__ mkmetadef.c -o obj/mkmetadef.ogcc -o mkmetadef > obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o > obj/p80211meta.o obj/mkmetadef.ocat mkmetadefhead.txt > > ../include/wlan/p80211metadef.h /mkmetadef >> > ../include/wlan/p80211metadef.h > echo "#endif" >> ../include/wlan/p80211metadef.h > gcc -c -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include > -I/usr/src/linux/include -D__LINUX_WLAN__ mkmetastruct.c -o > obj/mkmetastruct.omkmetastruct.c: En la función `main': > mkmetastruct.c:93: aviso: formato long int, argumento UINT32 (argumento > 2) mkmetastruct.c:104: aviso: formato long int, argumento UINT32 > (argumento 2) mkmetastruct.c:116: aviso: formato long int, argumento > UINT32 (argumento 2) mkmetastruct.c:121: aviso: formato long int, > argumento UINT32 (argumento 3) mkmetastruct.c:129: aviso: formato long > int, argumento UINT32 (argumento 2) mkmetastruct.c:136: aviso: formato > long int, argumento UINT32 (argumento 3) mkmetastruct.c:142: aviso: > formato long int, argumento UINT32 (argumento 2) mkmetastruct.c:149: > aviso: formato long int, argumento UINT32 (argumento 3) gcc -o > mkmetastruct obj/p80211types.o obj/p80211metamsg.o > obj/p80211metamib.o obj/p80211meta.o obj/mkmetastruct.ocat > mkmetastructhead.txt > ../include/wlan/p80211metastruct.h /mkmetastruct > >> ../include/wlan/p80211metastruct.h > echo "#endif" >> ../include/wlan/p80211metastruct.h > make[2]: Leaving directory > `/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/mkmeta'make[2]: Entering > directory `/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211'if test > ! -d > /home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211/../.tmp_versions; > then \ if test -d /usr/src/linux/.tmp_versions; then \ > cp -rf /usr/src/linux/.tmp_versions > /home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211/../ > ; \ fi ; \ > fi > make -C /usr/src/linux > SUBDIRS=/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211 > WLAN_SRC=/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211/ \ > MODVERDIR=/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211/../.tmp_versions> > modulesmake[3]: Entering directory > `/usr/src/kernel-source-2.6.8' > CC [M] > /home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211/p80211mod.o > /bin/sh: scripts/genksyms/genksyms: No existe el fichero o el > directorio make[4]: *** > [/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211/p80211mod.o] > Error 1make[3]: *** > [_module_/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211] Error > 2make[3]: Leaving directory `/usr/src/kernel-source-2.6.8' make[2]: *** > [default] Error 2 > make[2]: Leaving directory > `/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src/p80211'make[1]: *** > [all] Error 2 make[1]: Leaving directory > `/home/jsmanrique/linux-wlan-ng-0.2.1pre23/src' make: *** [all] Error 2 > [EMAIL PROTECTED]:~/linux-wlan-ng-0.2.1pre23$ > > What a madness! > > PS: Sorry if that makes the email too long. > > ============================================= > J.Manrique López de la Fuente (o- / > Jabber: [EMAIL PROTECTED] //\-/ > http://www.asturlinux.org/~jsmanrique V_/_ > ============================================ > > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] ============================================= J.Manrique López de la Fuente (o- / Jabber: [EMAIL PROTECTED] //\-/ http://www.asturlinux.org/~jsmanrique V_/_ ============================================