Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Changes between Version 17 and Version 18 of UserDocs/BuildProblems

Author:
proski (IP: 0.0.0.0)
Timestamp:
04/12/09 21:40:41 (8 years ago)
Comment:

Fix entry about missing libc headers

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/BuildProblems

    v17 v18  
    126126 3. Especially for (but not limited to) Ubuntu users: If you're running a pre-compiled kernel that comes with your distribution and you're about to compile MadWifi yourself for that kernel, make sure you use the same gcc version that the kernel was compiled with.[[BR]]Ubuntu, for example, compiles their kernels with gcc 3.x but installs only gcc 4.x for the users by default. If you compile MadWifi manually now, it will be compiled with gcc 4.x. This mismatch then results in problems once you're done with compiling and trying to load the MadWifi modules. 
    127127 
    128 == stdlib.h, stdio.h, string.h, etc do not exist == 
     128== stdio.h, stdlib.h etc do not exist == 
    129129The errors look like 
    130130{{{  
    131 In file included from hostapd.c:16: 
    132 includes.h:25:20: warning: stdlib.h: No such file or directory 
    133 includes.h:26:19: warning: stdio.h: No such file or directory 
    134 includes.h:28:20: warning: string.h: No such file or directory 
    135 includes.h:30:20: warning: signal.h: No such file or directory 
     131ath_info.c:22:19: error: stdio.h: No such file or directory 
     132ath_info.c:23:20: error: stdlib.h: No such file or directory 
     133ath_info.c:24:20: error: unistd.h: No such file or directory 
     134ath_info.c:25:19: error: errno.h: No such file or directory 
    136135}}} 
    137 You have to install the libc6-dev package
     136You have to install the libc development package.  It's called libc6-dev on Debian and glibc-devel on Fedora