Community gatherings on Freenode at #tinycorelinux (webchat)
root@box:/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module# make allmake -C /lib/modules/2.6.29.1-tinycore/build SUBDIRS=/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module modulesmake[1]: Entering directory `/usr/local/src/linux-headers-2.6.29.1' CC [M] /tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.o/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'rt61_get_drvinfo':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:78: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:78: warning: unused variable 'pAd'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'rt61_get_regs_len':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:97: warning: no return statement in function returning non-void/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'rt61_get_regs':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:103: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:104: warning: unused variable 'counter'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:103: warning: unused variable 'pAd'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'rt61_ethtool_get_link':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:120: warning: unused variable 'pAd'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:130: warning: no return statement in function returning non-void/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'rt61_get_eeprom_len':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:139: warning: no return statement in function returning non-void/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'rt61_get_eeprom':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:145: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:146: warning: unused variable 'counter'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:145: warning: unused variable 'pAd'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:159: warning: no return statement in function returning non-void/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: At top level:/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:169: warning: initialization from incompatible pointer type/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RT61_probe':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:238: warning: assignment discards qualifiers from pointer target type/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:287: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:290: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:294: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:344: warning: ISO C90 forbids mixed declarations and code/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RT61_open':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:422: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:472: warning: passing argument 2 of 'request_irq' from incompatible pointer type/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RTMPSendPackets':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:627: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RTMPIsr':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:713: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RT61_get_wireless_stats':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:825: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RT61_get_ether_stats':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:873: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RT61_close':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:942: error: 'struct net_device' has no member named 'priv'/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c: In function 'RT61_remove_one':/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.c:1002: error: 'struct net_device' has no member named 'priv'make[2]: *** [/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module/rtmp_main.o] Error 1make[1]: *** [_module_/tmp/2009_0123_RT61_Linux_STA_v1.1.2.3/Module] Error 2make[1]: Leaving directory `/usr/local/src/linux-headers-2.6.29.1'make: *** [all] Error 2
Do you have 'linux-headers-2.6.29.1-tinycore.tcz' installed/mounted? I need that when I build for my TI ACX-based WiFi adapter or the ralink chipset in the ASUS EeePC.--Mike L.
I did have the kernel header files mounted. From reading the link by Arsian, it sounds like the source code was wrote for older kernels. Maybe I need to search ralink's web page for something newer. Thanks for the help. Mike