#764: madwifi-ng fails to build
-----------------------------------------+----------------------------------
 Reporter:  [EMAIL PROTECTED]  |            Owner:     
     Type:  defect                       |           Status:  new
 Priority:  major                        |        Milestone:     
Component:  madwifi: other               |          Version:     
 Keywords:                               |   Patch_attached:  0  
-----------------------------------------+----------------------------------
 Hi,

 I've updated today (19th July) from svn, but it fails to compile under
 kernel-2.6.17-2405.fc6 (Fedora Core).

 The build log reports the following

 In file included from include/asm/system.h:4,
                  from include/asm/processor.h:18,
                  from include/asm/thread_info.h:16,
                  from include/linux/thread_info.h:21,
                  from include/linux/preempt.h:9,
                  from include/linux/spinlock.h:49,
                  from include/linux/capability.h:45,
                  from include/linux/sched.h:44,
                  from include/linux/module.h:9,
                  from /home/paul/madwifi-ng/ath/if_ath_pci.c:47:
 include/linux/kernel.h:37:1: warning: "roundup" redefined
 In file included from <command line>:1:
 /home/paul/madwifi-ng/ath/../include/compat.h:46:1: warning: this is the
 location of the previous definition
 In file included from include/asm/system.h:4,
                  from include/asm/processor.h:18,
                  from include/asm/thread_info.h:16,
                  from include/linux/thread_info.h:21,
                  from include/linux/preempt.h:9,
                  from include/linux/spinlock.h:49,
                  from include/linux/capability.h:45,
                  from include/linux/sched.h:44,
                  from include/linux/module.h:9,
                  from /home/paul/madwifi-ng/ath_rate/sample/sample.c:46:
 include/linux/kernel.h:37:1: warning: "roundup" redefined
 In file included from <command line>:1:
 /home/paul/madwifi-ng/ath_rate/sample/../../include/compat.h:46:1:
 warning: this is the location of the previous definition
 In file included from include/asm/system.h:4,
                  from include/asm/processor.h:18,
                  from include/asm/thread_info.h:16,
                  from include/linux/thread_info.h:21,
                  from include/linux/preempt.h:9,
                  from include/linux/spinlock.h:49,
                  from include/linux/capability.h:45,
                  from include/linux/sched.h:44,
                  from include/linux/module.h:9,
                  from /home/paul/madwifi-ng/ath_rate/sample/sample.c:46:
 include/linux/kernel.h:37:1: warning: "roundup" redefined
 In file included from <command line>:1:
 /home/paul/madwifi-ng/ath_rate/sample/../../include/compat.h:46:1:
 warning: this is the location of the previous definition
 In file included from include/asm/system.h:4,
                  from include/asm/processor.h:18,
                  from include/asm/thread_info.h:16,
                  from include/linux/thread_info.h:21,
                  from include/linux/preempt.h:9,
                  from include/linux/spinlock.h:49,
                  from include/linux/capability.h:45,
                  from include/linux/sched.h:44,
                  from include/linux/module.h:9,
                  from /home/paul/madwifi-ng/net80211/ieee80211_linux.c:38:
 include/linux/kernel.h:37:1: warning: "roundup" redefined
 In file included from <command line>:1:
 /home/paul/madwifi-ng/net80211/../include/compat.h:46:1: warning: this is
 the location of the previous definition
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c: In function
 'proc_ieee80211_open':
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:377: error: implicit
 declaration of function 'PDE'
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:377: warning:
 initialization makes pointer from integer without a cast
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:378: error: dereferencing
 pointer to incomplete type
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c: In function
 'ieee80211_sysctl_vattach':
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:640: error: 'proc_net'
 undeclared (first use in this function)
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:640: error: (Each
 undeclared identifier is reported only once
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:640: error: for each
 function it appears in.)
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:641: error: implicit
 declaration of function 'proc_mkdir'
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:641: warning: assignment
 makes pointer from integer without a cast
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:649: warning: assignment
 makes pointer from integer without a cast
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:660: error: implicit
 declaration of function 'create_proc_entry'
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:661: warning: assignment
 makes pointer from integer without a cast
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:662: error: dereferencing
 pointer to incomplete type
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:663: error: dereferencing
 pointer to incomplete type
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c: In function
 'ieee80211_proc_vcreate':
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:732: warning: assignment
 makes pointer from integer without a cast
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:733: error: dereferencing
 pointer to incomplete type
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:734: error: dereferencing
 pointer to incomplete type
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c: In function
 'ieee80211_sysctl_vdetach':
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:765: error: implicit
 declaration of function 'remove_proc_entry'
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:770: error: dereferencing
 pointer to incomplete type
 /home/paul/madwifi-ng/net80211/ieee80211_linux.c:772: error: 'proc_net'
 undeclared (first use in this function)
 make[3]: *** [/home/paul/madwifi-ng/net80211/ieee80211_linux.o] Error 1
 make[2]: *** [/home/paul/madwifi-ng/net80211] Error 2
 make[1]: *** [_module_/home/paul/madwifi-ng] Error 2
 make: *** [modules] Error 2

-- 
Ticket URL: <http://madwifi.org/ticket/764>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to