Compiling Problems
FC13 i686
trying to compile a driver for Linksys WUSB600N Ver. 2 from a Ralink driver.tar.gz Below is a portion of the output of the compile, I can't put this whole output on this LinuxQuestions Website it is to large. In file included from /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:21, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/os/rt_linux.h:62, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp_os.h:42, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rt_config.h:72, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/common/crypt_md5.c:28: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘get_mm_hiwater_rss’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: error: ‘struct mm_struct’ has no member named ‘hiwater_rss’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: warning: type defaults to ‘int’ in declaration of ‘_max1’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: error: ‘struct mm_struct’ has no member named ‘hiwater_rss’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: error: ‘struct mm_struct’ has no member named ‘_file_rss’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: error: ‘struct mm_struct’ has no member named ‘_anon_rss’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: warning: type defaults to ‘int’ in declaration of ‘_max2’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: error: ‘struct mm_struct’ has no member named ‘_file_rss’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:444: error: ‘struct mm_struct’ has no member named ‘_anon_rss’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘get_mm_hiwater_vm’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:458: error: ‘struct mm_struct’ has no member named ‘hiwater_vm’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:458: warning: type defaults to ‘int’ in declaration of ‘_max1’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:458: error: ‘struct mm_struct’ has no member named ‘hiwater_vm’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:458: error: ‘struct mm_struct’ has no member named ‘total_vm’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:458: warning: type defaults to ‘int’ in declaration of ‘_max2’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:458: error: ‘struct mm_struct’ has no member named ‘total_vm’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: At top level: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:501: error: ‘_NSIG’ undeclared here (not in a function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:510: error: expected specifier-qualifier-list before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:515: error: expected specifier-qualifier-list before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:533: error: expected specifier-qualifier-list before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:646: error: expected specifier-qualifier-list before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:1359: error: expected specifier-qualifier-list before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:1764: error: expected declaration specifiers or ‘...’ before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:1764: error: expected declaration specifiers or ‘...’ before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:1765: error: expected declaration specifiers or ‘...’ before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:1765: error: expected declaration specifiers or ‘...’ before ‘cputime_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2015: error: field ‘thread_info’ has incomplete type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2016: error: ‘THREAD_SIZE’ undeclared here (not in a function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘dequeue_signal_lock’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2091: error: ‘struct task_struct’ has no member named ‘sighand’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2093: error: ‘struct task_struct’ has no member named ‘sighand’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘on_sig_stack’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2142: error: ‘current’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘sas_ss_flags’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2149: error: ‘current’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘mmdrop’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2162: error: ‘struct mm_struct’ has no member named ‘mm_count’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘task_lock’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2281: error: ‘struct task_struct’ has no member named ‘alloc_lock’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘task_unlock’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2286: error: ‘struct task_struct’ has no member named ‘alloc_lock’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘unlock_task_sighand’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2295: error: ‘struct task_struct’ has no member named ‘sighand’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘setup_thread_stack’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2305: error: dereferencing pointer to incomplete type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2305: error: dereferencing pointer to incomplete type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2306: error: dereferencing pointer to incomplete type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘end_of_stack’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2311: error: invalid use of undefined type ‘struct thread_info’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘object_is_on_stack’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2318: error: ‘current’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘set_tsk_thread_flag’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2343: warning: passing argument 1 of ‘set_ti_thread_flag’ from incompatible pointer type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/thread_info.h:65: note: expected ‘struct thread_info *’ but argument is of type ‘struct thread_info *’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘clear_tsk_thread_flag’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2348: warning: passing argument 1 of ‘clear_ti_thread_flag’ from incompatible pointer type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/thread_info.h:70: note: expected ‘struct thread_info *’ but argument is of type ‘struct thread_info *’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘test_and_set_tsk_thread_flag’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2353: warning: passing argument 1 of ‘test_and_set_ti_thread_flag’ from incompatible pointer type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/thread_info.h:75: note: expected ‘struct thread_info *’ but argument is of type ‘struct thread_info *’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘test_and_clear_tsk_thread_flag’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2358: warning: passing argument 1 of ‘test_and_clear_ti_thread_flag’ from incompatible pointer type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/thread_info.h:80: note: expected ‘struct thread_info *’ but argument is of type ‘struct thread_info *’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘test_tsk_thread_flag’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2363: warning: passing argument 1 of ‘test_ti_thread_flag’ from incompatible pointer type /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/thread_info.h:85: note: expected ‘struct thread_info *’ but argument is of type ‘struct thread_info *’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘set_tsk_need_resched’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2368: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘clear_tsk_need_resched’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2373: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘test_tsk_need_resched’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2378: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘restart_syscall’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2383: error: ‘current’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2383: error: ‘TIF_SIGPENDING’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘signal_pending’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2389: error: ‘TIF_SIGPENDING’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘__fatal_signal_pending’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2394: error: ‘struct task_struct’ has no member named ‘pending’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘need_resched’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2414: warning: implicit declaration of function ‘current_thread_info’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2414: error: ‘TIF_NEED_RESCHED’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2414: warning: passing argument 1 of ‘test_ti_thread_flag’ makes pointer from integer without a cast /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/thread_info.h:85: note: expected ‘struct thread_info *’ but argument is of type ‘int’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘thread_group_cputime_init’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: error: unknown field ‘utime’ specified in initializer /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: error: ‘cputime_zero’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: warning: excess elements in struct initializer /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: warning: (near initialization for ‘(anonymous)’) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: error: unknown field ‘stime’ specified in initializer /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: warning: excess elements in struct initializer /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: warning: (near initialization for ‘(anonymous)’) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: error: unknown field ‘sum_exec_runtime’ specified in initializer /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: warning: excess elements in struct initializer /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2473: warning: (near initialization for ‘(anonymous)’) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘task_rlimit’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2629: error: ‘const struct task_struct’ has no member named ‘signal’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2629: error: ‘const struct task_struct’ has no member named ‘signal’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2629: warning: type defaults to ‘int’ in declaration of ‘type name’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘task_rlimit_max’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2635: error: ‘const struct task_struct’ has no member named ‘signal’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2635: error: ‘const struct task_struct’ has no member named ‘signal’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2635: warning: type defaults to ‘int’ in declaration of ‘type name’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘rlimit’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2640: error: ‘current’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h: In function ‘rlimit_max’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/sched.h:2645: error: ‘current’ undeclared (first use in this function) In file included from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/os/rt_linux.h:62, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp_os.h:42, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rt_config.h:72, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/common/crypt_md5.c:28: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h: In function ‘usb_register’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:951: error: ‘KBUILD_MODNAME’ undeclared (first use in this function) /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h: At top level: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1214: error: expected specifier-qualifier-list before ‘dma_addr_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h: In function ‘usb_fill_control_urb’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1259: error: ‘struct urb’ has no member named ‘setup_packet’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1261: error: ‘struct urb’ has no member named ‘transfer_buffer_length’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1262: error: ‘struct urb’ has no member named ‘complete’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1263: error: ‘struct urb’ has no member named ‘context’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h: In function ‘usb_fill_bulk_urb’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1290: error: ‘struct urb’ has no member named ‘transfer_buffer_length’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1291: error: ‘struct urb’ has no member named ‘complete’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1292: error: ‘struct urb’ has no member named ‘context’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h: In function ‘usb_fill_int_urb’: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1325: error: ‘struct urb’ has no member named ‘transfer_buffer_length’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1326: error: ‘struct urb’ has no member named ‘complete’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1327: error: ‘struct urb’ has no member named ‘context’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1329: error: ‘struct urb’ has no member named ‘interval’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1331: error: ‘struct urb’ has no member named ‘interval’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1332: error: ‘struct urb’ has no member named ‘start_frame’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h: At top level: /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1382: error: expected declaration specifiers or ‘...’ before ‘dma_addr_t’ /lib/modules/2.6.33.6-147.2.4.fc13.i686/build/include/linux/usb.h:1384: error: expected declaration specifiers or ‘...’ before ‘dma_addr_t’ In file included from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp_os.h:42, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rt_config.h:72, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/common/crypt_md5.c:28: /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/os/rt_linux.h:166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘NDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/os/rt_linux.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/os/rt_linux.h:277: error: expected specifier-qualifier-list before ‘mm_segment_t’ In file included from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/chip/rt2870.h:41, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp_chip.h:47, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rt_config.h:75, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/common/crypt_md5.c:28: /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/chip/mac_usb.h:201: error: expected specifier-qualifier-list before ‘dma_addr_t’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/chip/mac_usb.h:228: error: expected specifier-qualifier-list before ‘dma_addr_t’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/chip/mac_usb.h:251: error: expected specifier-qualifier-list before ‘dma_addr_t’ In file included from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:49, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rt_config.h:99, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/common/crypt_md5.c:28: /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/wsc.h: In function ‘WscCheckWSCHeader’: /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/wsc.h:106: warning: implicit declaration of function ‘get_unaligned’ In file included from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rt_config.h:99, from /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/common/crypt_md5.c:28: /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h: At top level: /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:626: error: expected specifier-qualifier-list before ‘NDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:642: error: expected specifier-qualifier-list before ‘NDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:6175: error: expected declaration specifiers or ‘...’ before ‘PNDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:6183: error: expected declaration specifiers or ‘...’ before ‘PNDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:6190: error: expected declaration specifiers or ‘...’ before ‘NDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:6197: error: expected declaration specifiers or ‘...’ before ‘PNDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:6204: error: expected declaration specifiers or ‘...’ before ‘PNDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:6210: error: expected declaration specifiers or ‘...’ before ‘NDIS_PHYSICAL_ADDRESS’ /home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/include/rtmp.h:6221: error: expected declaration specifiers or ‘...’ before ‘PNDIS_PHYSICAL_ADDRESS’ make[1]: *** [/home/jim/Downloads/RT3572/2010_0709_RT3572_Linux_STA_v2.4.0.1/common/crypt_md5.o] Error 1 make: *** [LINUX] Error 2 [root@inspiron 2010_0709_RT3572_Linux_STA_v2.4.0.1]# |
Usually this happens when you're trying to compile the driver on an unsupported version of the kernel by the driver. Are you sure the driver is up-to-date to support 2.6.33.6-147.2.4.fc13? If possible, try compiling this on an older kernel.
|
Here is a copy of the Make file.
RT28xx_MODE = STA TARGET = LINUX CHIPSET = 3572 OSABL = NO #RT28xx_DIR = home directory of RT28xx source code RT28xx_DIR = $(shell pwd) RTMP_SRC_DIR = $(RT28xx_DIR)/RT$(CHIPSET) #PLATFORM: Target platform PLATFORM = PC #PLATFORM = 5VT #PLATFORM = IKANOS_V160 #PLATFORM = IKANOS_V180 #PLATFORM = SIGMA #PLATFORM = SIGMA_8622 #PLATFORM = STAR #PLATFORM = IXP #PLATFORM = INF_TWINPASS #PLATFORM = INF_DANUBE #PLATFORM = INF_AR9 #PLATFORM = INF_VR9 #PLATFORM = BRCM_6358 #PLATFORM = INF_AMAZON_SE #PLATFORM = CAVM_OCTEON #PLATFORM = CMPC #PLATFORM = RALINK_2880 #PLATFORM = RALINK_3052 #PLATFORM = SMDK #PLATFORM = RMI #PLATFORM = RMI_64 #PLATFORM = KODAK_DC #PLATFORM = DM6446 #PLATFORM = FREESCALE8377 #PLATFORM = BL2348 #PLATFORM = BLUBB #PLATFORM = BLPMP #PLATFORM = MT85XX #PLATFORM = NXP_TV550 #PLATFORM = MVL5 ifeq ($(TARGET),LINUX) MAKE = make endif ifeq ($(PLATFORM),5VT) LINUX_SRC = /project/stable/5vt/ralink-2860-sdk/linux-2.6.17 CROSS_COMPILE = /opt/crosstool/uClibc_v5te_le_gcc_4_1_1/bin/arm-linux- endif ifeq ($(PLATFORM),IKANOS_V160) LINUX_SRC = /home/sample/projects/LX_2618_RG_5_3_00r4_SRC/linux-2.6.18 CROSS_COMPILE = mips-linux- endif ifeq ($(PLATFORM),IKANOS_V180) LINUX_SRC = /home/sample/projects/LX_BSP_VX180_5_4_0r1_ALPHA_26DEC07/linux-2.6.18 CROSS_COMPILE = mips-linux- endif ifeq ($(PLATFORM),SIGMA) LINUX_SRC = /root/sigma/smp86xx_kernel_source_2.7.172.0/linux-2.6.15 CROSS_COMPILE = /root/sigma/smp86xx_toolchain_2.7.172.0/build_mipsel_nofpu/staging_dir/bin/mipsel-linux- endif ifeq ($(PLATFORM),SIGMA_8622) LINUX_SRC = /home/snowpin/armutils_2.5.120.1/build_arm/linux-2.4.22-em86xx CROSS_COMPILE = /home/snowpin/armutils_2.5.120.1/toolchain/bin/arm-elf- CROSS_COMPILE_INCLUDE = /home/snowpin/armutils_2.5.120.1/toolchain/lib/gcc-lib/arm-elf/2.95.3 endif ifeq ($(PLATFORM),STAR) LINUX_SRC = /opt/star/kernel/linux-2.4.27-star CROSS_COMPILE = /opt/star/tools/arm-linux/bin/arm-linux- endif ifeq ($(PLATFORM),RMI) LINUX_SRC = /opt/rmi/1.7.0/linux/src/ CROSS_COMPILE = /opt/rmi/1.7.0/mipscross/nptl/bin/mips64-unknown-linux-gnu- endif ifeq ($(PLATFORM),RMI_64) LINUX_SRC = /opt/rmi/1.7.0/linux_64/src/ CROSS_COMPILE = /opt/rmi/1.7.0/mipscross/nptl/bin/mips64-unknown-linux-gnu- endif ifeq ($(PLATFORM), RALINK_2880) LINUX_SRC = /project/stable/RT288x/RT288x_SDK/source/linux-2.4.x CROSS_COMPILE = /opt/buildroot-gdb/bin/mipsel-linux- endif ifeq ($(PLATFORM),RALINK_3052) LINUX_SRC = /home/peter/ap_soc/SDK_3_3_0_0/RT288x_SDK/source/linux-2.6.21.x CROSS_COMPILE = /opt/buildroot-gcc342/bin/mipsel-linux-uclibc- endif ifeq ($(PLATFORM),FREESCALE8377) LINUX_SRC = /opt/ltib-mpc8377_rds-20090309/rpm/BUILD/linux-2.6.25 CROSS_COMPILE = /opt/freescale/usr/local/gcc-4.2.187-eglibc-2.5.187/powerpc-linux-gnu/bin/powerpc-linux-gnu- endif ifeq ($(PLATFORM),BL2348) LINUX_SRC = /home/sample/Customers/BroadLight/bl234x-linux-2.6.21-small-v29 CROSS_COMPILE = mips-wrs-linux-gnu- endif ifeq ($(PLATFORM),BLUBB) LINUX_SRC = /home/sample/Customers/BroadLight/UBB/gmp20/linux-2.6.21-small CROSS_COMPILE = mips-wrs-linux-gnu- endif ifeq ($(PLATFORM),BLPMP) LINUX_SRC = /home/sample/Customers/BroadLight/UBB/pmp16/bl234x-linux-2.6.21-small-v30.2 CROSS_COMPILE = mips-wrs-linux-gnu- endif ifeq ($(PLATFORM),PC) # Linux 2.6 LINUX_SRC = /lib/modules/$(shell uname -r)/build # Linux 2.4 Change to your local setting #LINUX_SRC = /usr/src/linux-2.4 LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/ CROSS_COMPILE = endif ifeq ($(PLATFORM),IXP) LINUX_SRC = /project/stable/Gmtek/snapgear-uclibc/linux-2.6.x CROSS_COMPILE = arm-linux- endif ifeq ($(PLATFORM),INF_TWINPASS) # Linux 2.6 #LINUX_SRC = /lib/modules/$(shell uname -r)/build # Linux 2.4 Change to your local setting LINUX_SRC = /project/stable/twinpass/release/2.0.1/source/kernel/opensource/linux-2.4.31/ CROSS_COMPILE = mips-linux- endif ifeq ($(PLATFORM),INF_DANUBE) LINUX_SRC = /opt/danube/sdk/linux-2.6.16.x CROSS_COMPILE = mips-linux- ROOTDIR = /opt/danube/sdk export ROOTDIR endif ifeq ($(PLATFORM),INF_AR9) LINUX_SRC = /root/ar9/xR9_BSP1.2.2.0/source/kernel/opensource/linux-2.6.20/ CROSS_COMPILE = /root/ar9/ifx-lxdb26-1.0.2/gcc-3.4.4/toolchain-mips/bin/ endif ifeq ($(PLATFORM),INF_VR9) LINUX_SRC = /home/public/lantiq/VR9/UGW-4.2/build_dir/linux-ifxcpe_platform_vr9/linux-2.6.20.19 CROSS_COMPILE = /home/public/lantiq/VR9/UGW-4.2/staging_dir/toolchain-mips_gcc-3.4.6_uClibc-0.9.29/bin/mips-linux- endif ifeq ($(PLATFORM),BRCM_6358) LINUX_SRC = CROSS_COMPILE = endif ifeq ($(PLATFORM),INF_AMAZON_SE) # Linux 2.6 #LINUX_SRC = /lib/modules/$(shell uname -r)/build # Linux 2.4 Change to your local setting LINUX_SRC = /backup/ifx/3.6.2.2/source/kernel/opensource/linux-2.4.31 #CROSS_COMPILE = mips-linux- #LINUX_SRC = /project/Infineon/3.6.2.2/source/kernel/opensource/linux-2.4.31 CROSS_COMPILE = /opt/uclibc-toolchain/ifx-lxdb-1-2-3-external/gcc-3.3.6/toolchain-mips/R0208V35/mips-linux-uclibc/bin/ endif ifeq ($(PLATFORM),ST) LINUX_SRC = /opt/STM/STLinux-2.2/devkit/sources/kernel/linux0039 CROSS_COMPILE = /opt/STM/STLinux-2.2/devkit/sh4/bin/sh4-linux- ARCH := sh export ARCH endif ifeq ($(PLATFORM),CAVM_OCTEON) OCTEON_ROOT = /usr/local/Cavium_Networks/OCTEON-SDK LINUX_SRC = $(OCTEON_ROOT)/linux/kernel_2.6/linux CROSS_COMPILE = mips64-octeon-linux-gnu- endif ifeq ($(PLATFORM),CMPC) LINUX_SRC = /opt/fvt_11N_SDK_0807/fvt131x_SDK_11n/linux-2.6.17 CROSS_COMPILE = endif ifeq ($(PLATFORM),SMDK) LINUX_SRC = /home/bhushan/itcenter/may28/linux-2.6-samsung CROSS_COMPILE = /usr/local/arm/4.2.2-eabi/usr/bin/arm-linux- endif ifeq ($(PLATFORM),KODAK_DC) SKD_SRC = C:/SigmaTel/DC1250_SDK_v1-9/sdk CROSS_COMPILE = $(cc) endif ifeq ($(PLATFORM),DM6446) LINUX_SRC = /home/fonchi/work/soc/ti-davinci endif ifeq ($(PLATFORM),MT85XX) LINUX_SRC = /home/john/MTK/BDP_Linux/linux-2.6.27 CROSS_COMPILE = armv6z-mediatek-linux-gnueabi- endif ifeq ($(PLATFORM),NXP_TV550) LINUX_SRC = /data/tv550/kernel/linux-2.6.28.9 LINUX_SRC_MODULE = /data/tv550/kernel/linux-2.6.28.9/drivers/net/wireless CROSS_COMPILE = /opt/embeddedalley/nxp_tv550/bin/mipsel-linux- endif ifeq ($(PLATFORM),MVL5) LINUX_SRC = /home2/charlestu/AP-VT3426/linux-2.6.18 CROSS_COMPILE = /opt/montavista/pro/devkit/arm/v5t_le_mvl5/bin/arm_v5t_le- endif export OSABL RT28xx_DIR RT28xx_MODE LINUX_SRC CROSS_COMPILE CROSS_COMPILE_INCLUDE PLATFORM RELEASE CHIPSET RTMP_SRC_DIR LINUX_SRC_MODULE TARGET # The targets that may be used. PHONY += all build_tools test UCOS THREADX LINUX release prerelease clean uninstall install libwapi osabl all: build_tools $(TARGET) build_tools: $(MAKE) -C tools $(RT28xx_DIR)/tools/bin2h test: $(MAKE) -C tools test LINUX: ifneq (,$(findstring 2.4,$(LINUX_SRC))) cp -f os/linux/Makefile.4 $(RT28xx_DIR)/os/linux/Makefile $(MAKE) -C $(RT28xx_DIR)/os/linux/ cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot else cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile ifeq ($(PLATFORM),DM6446) $(MAKE) ARCH=arm CROSS_COMPILE=arm_v5t_le- -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules else ifeq ($(PLATFORM),FREESCALE8377) $(MAKE) ARCH=powerpc CROSS_COMPILE=$(CROSS_COMPILE) -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules else $(MAKE) -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules endif endif endif clean: ifeq ($(TARGET), LINUX) ifneq (,$(findstring 2.4,$(LINUX_SRC))) cp -f os/linux/Makefile.4 os/linux/Makefile else cp -f os/linux/Makefile.6 os/linux/Makefile endif $(MAKE) -C os/linux clean rm -rf os/linux/Makefile endif uninstall: ifeq ($(TARGET), LINUX) ifneq (,$(findstring 2.4,$(LINUX_SRC))) $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.4 uninstall else $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.6 uninstall endif endif install: ifeq ($(TARGET), LINUX) ifneq (,$(findstring 2.4,$(LINUX_SRC))) $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.4 install else $(MAKE) -C $(RT28xx_DIR)/os/linux -f Makefile.6 install endif endif |
May be supply the full file-name of the downloaded
2010_0709_RT3572_Linux_STA_v2.4.0.1. And a link to where you got it. Other comments : http://www.spinics.net/linux/fedora/...msg378876.html Quote : "One can install rt2860 and kmod-rt2860 packages from rpmfusion and cards based on that chipset should work just fine. My HP system has that and I've had no problems with it." ...... |
The Website the driver came from is http://www.ralinktech.com/support.php?s You must download the Rt3572USB driver for the
WUSB600N Ver. 2. . Ver 1 of the WUSB600N will use the RPMfusion kmod driver but not ver. 2 . The Chipsets are different . After a lot of hacking by Ed Greshko the RT3572USB driver from Ralinktech finally, will work on Fedora , The driver is setup for 2.4 kernels and Ed got it working for the 2.6 . I'am going to post the fixes on Linuxquestions/fedora today or tomorrow under the subject "Getting the Linksys WUSB600N ver. 2 working on Fedora" |
All times are GMT -5. The time now is 03:14 AM. |