Problemer med at få installeret ASUS 138g trådløst netkort
Jeg prøver at få installeret ASUS 138g trådløst netkort, og jeg har fundet driveren til det. Desværre skal den først compiles, jeg fik derfor en del hjælp i går af en som desværre ikke svarer over MSN i dag. Jeg har installeret build-essential, linux-headers og linux-kernel (source tror jeg). Han sagde inden han gik at det burde virke med "make" af driveren, men jeg får en masse fejl.Driveren er 138gv2_linux.zip: http://www.joyce.cz/download.php?typ=1&file=138gv2_linux.zip
Fejl:
include/linux/skbuff.h:1271: error: 'struct sk_buff' has no member named 'ip_summed'
include/linux/skbuff.h: In function 'pskb_trim_rcsum':
include/linux/skbuff.h:1290: error: 'struct sk_buff' has no member named 'ip_summed'
include/linux/skbuff.h:1291: error: 'struct sk_buff' has no member named 'ip_summed'
include/linux/skbuff.h: At top level:
include/linux/skbuff.h:1344: error: expected declaration specifiers or '...' before 'u8'
include/linux/skbuff.h:1346: error: expected declaration specifiers or '...' before 'u8'
include/linux/skbuff.h:1348: warning: type defaults to 'int' in declaration of 'u32'
include/linux/skbuff.h:1348: error: expected ';', ',' or ')' before 'len'
include/linux/skbuff.h: In function 'skb_header_pointer':
include/linux/skbuff.h:1358: error: 'const struct sk_buff' has no member named 'data'
include/linux/skbuff.h: In function 'skb_get_timestamp':
include/linux/skbuff.h:1380: error: 'struct timeval' has no member named 'tv_sec'
include/linux/skbuff.h:1380: error: 'const struct skb_timeval' has no member named 'off_sec'
include/linux/skbuff.h:1381: error: 'struct timeval' has no member named 'tv_usec'
include/linux/skbuff.h:1381: error: 'const struct skb_timeval' has no member named 'off_usec'
include/linux/skbuff.h: In function 'skb_set_timestamp':
include/linux/skbuff.h:1395: error: 'struct skb_timeval' has no member named 'off_sec'
include/linux/skbuff.h:1395: error: 'const struct timeval' has no member named 'tv_sec'
include/linux/skbuff.h:1396: error: 'struct skb_timeval' has no member named 'off_usec'
include/linux/skbuff.h:1396: error: 'const struct timeval' has no member named 'tv_usec'
include/linux/skbuff.h: In function 'skb_checksum_complete':
include/linux/skbuff.h:1421: error: 'struct sk_buff' has no member named 'ip_summed'
include/linux/skbuff.h: In function 'skb_is_gso':
include/linux/skbuff.h:1498: error: 'const struct sk_buff' has no member named 'end'
In file included from /var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:59,
from /var/www/src/linuxsta/src/wl/linux/../../include/linux_osl.h:21,
from /var/www/src/linuxsta/src/wl/linux/../../include/osl.h:24,
from /var/www/src/linuxsta/src/wl/linux/wlc_led.c:19:
include/linux/netdevice.h: At top level:
include/linux/netdevice.h:170: error: expected declaration specifiers or '...' before 'netdev_rx_stat'
include/linux/netdevice.h:170: warning: data definition has no type or storage class
include/linux/netdevice.h:170: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU'
include/linux/netdevice.h:170: error: conflicting types for 'DECLARE_PER_CPU'
include/linux/rcupdate.h:115: error: previous declaration of 'DECLARE_PER_CPU' was here
include/linux/netdevice.h:180: error: expected specifier-qualifier-list before '__u8'
include/linux/netdevice.h:189: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/netdevice.h:445: error: expected specifier-qualifier-list before 'atomic_t'
include/linux/netdevice.h:547: error: expected specifier-qualifier-list before '__be16'
include/linux/netdevice.h:622: error: expected declaration specifiers or '...' before 'softnet_data'
include/linux/netdevice.h:622: warning: data definition has no type or storage class
include/linux/netdevice.h:622: warning: type defaults to 'int' in declaration of 'DECLARE_PER_CPU'
include/linux/netdevice.h:622: error: conflicting types for 'DECLARE_PER_CPU'
include/linux/rcupdate.h:115: error: previous declaration of 'DECLARE_PER_CPU' was here
include/linux/netdevice.h: In function 'dev_kfree_skb_irq':
include/linux/netdevice.h:674: error: 'struct sk_buff' has no member named 'users'
include/linux/netdevice.h:679: warning: implicit declaration of function '__get_cpu_var'
include/linux/netdevice.h:679: error: 'softnet_data' undeclared (first use in this function)
include/linux/netdevice.h:679: error: invalid lvalue in unary '&'
include/linux/netdevice.h: In function 'dev_put':
include/linux/netdevice.h:718: error: 'struct net_device' has no member named 'refcnt'
include/linux/netdevice.h: In function 'dev_hold':
include/linux/netdevice.h:723: error: 'struct net_device' has no member named 'refcnt'
include/linux/netdevice.h: At top level:
include/linux/netdevice.h:820: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'netif_msg_init'
include/linux/netdevice.h: In function 'netif_rx_reschedule':
include/linux/netdevice.h:868: error: 'softnet_data' undeclared (first use in this function)
include/linux/netdevice.h:868: error: request for member 'poll_list' in something not a structure or union
include/linux/netdevice.h:869: warning: implicit declaration of function 'local_softirq_pending'
include/linux/netdevice.h:869: error: invalid lvalue in assignment
include/linux/netdevice.h: In function 'netif_rx_complete':
include/linux/netdevice.h:888: warning: implicit declaration of function 'smp_mb__before_clear_bit'
include/linux/netdevice.h: In function 'skb_gso_ok':
include/linux/netdevice.h:1008: error: 'struct sk_buff' has no member named 'end'
include/linux/netdevice.h: In function 'netif_needs_gso':
include/linux/netdevice.h:1015: error: 'struct sk_buff' has no member named 'ip_summed'
include/linux/netdevice.h: In function 'skb_bond_should_drop':
include/linux/netdevice.h:1029: error: 'struct sk_buff' has no member named 'pkt_type'
include/linux/netdevice.h:1030: error: 'struct sk_buff' has no member named 'pkt_type'
include/linux/netdevice.h:1034: error: 'struct sk_buff' has no member named 'protocol'
include/linux/netdevice.h:1034: warning: implicit declaration of function '__constant_htons'
In file included from /var/www/src/linuxsta/src/wl/linux/../../include/linux_osl.h:21,
from /var/www/src/linuxsta/src/wl/linux/../../include/osl.h:24,
from /var/www/src/linuxsta/src/wl/linux/wlc_led.c:19:
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:60:20: error: asm/io.h: No such file or directory
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:62:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:62:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:62:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:65:26: error: linux/tqueue.h: No such file or directory
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:80:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:80:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:80:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:131:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:131:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:131:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:170:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:170:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:170:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:180:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:180:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:180:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:185:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:185:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:185:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:187:8: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:187:29: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:187:43: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:191:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:191:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:191:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:195:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:195:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:195:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:199:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:199:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:199:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:257:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:257:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:257:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:324:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:324:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:324:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:347:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:347:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:347:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:390:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:390:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:390:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:412:6: warning: "LINUX_VERSION_CODE" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:412:27: warning: "KERNEL_VERSION" is not defined
/var/www/src/linuxsta/src/wl/linux/../../include/linuxver.h:412:41: error: missing binary operator before token "("
/var/www/src/linuxsta/src/wl/linux/wlc_led.c: In function 'wlc_led_attach':
/var/www/src/linuxsta/src/wl/linux/wlc_led.c:118: error: too many arguments to function 'memset'
make[2]: *** [/var/www/src/linuxsta/src/wl/linux/wlc_led.o] Error 1
make[1]: *** [_module_/var/www/src/linuxsta/src/wl/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.4'
make: *** [default] Error 2
