#2328: On Ubuntu Hardy 8.04, with AR5007EG card -----------------------------------------+---------------------------------- Reporter: andrew.j....@gmail.com | Owner: Type: defect | Status: closed Priority: minor | Milestone: Component: madwifi: other | Version: v0.9.4 Resolution: invalid | Keywords: Toshiba A215, AR5007EG, Hardy, Ubuntu, 8.04, 0.9.4 Patch_attached: 0 | Pending: 0 -----------------------------------------+---------------------------------- Changes (by mrenzmann):
* status: new => closed * resolution: => invalid Old description: > I am honestly not sure what the problem could be. > I backdated from Jaunty a few days ago because my vid card did not have > 3D support, and I like to play games. My wireless card was immediately > recognized with the default opensource driver in Jaunty, and I was able > to use it no problem. > In Hardy, it is mis-recognized as an AR242X. > > I disabled the proprietary drivers, and HAL, which do not work, and then > compiled the tar.gz, went into the folder, and then with the make > command, here is what I got: > > a...@linus:~$ cd /home/aj/Desktop/madwifi-0.9.4/ > a...@linus:~/Desktop/madwifi-0.9.4$ make > Checking requirements... ok. > Checking kernel configuration... ok. > make -C /lib/modules/2.6.24-24-generic/build > SUBDIRS=/home/aj/Desktop/madwifi-0.9.4 modules > make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-generic' > HOSTCC /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:26:19: error: stdio.h: > No such file or directory > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:27:19: error: errno.h: > No such file or directory > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:28:20: error: getopt.h: > No such file or directory > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:29:20: error: string.h: > No such file or directory > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:30:20: error: stdlib.h: > No such file or directory > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:32:23: error: > sys/fcntl.h: No such file or directory > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:33:22: error: > sys/stat.h: No such file or directory > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c: In function > 'uudecode_usage': > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: implicit > declaration of function 'printf' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: > incompatible implicit declaration of built-in function 'printf' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c: At top level: > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:40: error: expected ')' > before '*' token > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:70: error: expected ')' > before '*' token > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c: In function 'main': > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'FILE' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: (Each > undeclared identifier is reported only once > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: for each > function it appears in.) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: > 'src_stream' undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:122: error: > 'dst_stream' undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'NULL' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:130: warning: implicit > declaration of function 'getopt' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:134: error: 'optarg' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: implicit > declaration of function 'exit' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: > incompatible implicit declaration of built-in function 'exit' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:141: error: 'optind' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:142: error: 'stdin' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:144: warning: implicit > declaration of function 'fopen' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: implicit > declaration of function 'fprintf' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: > incompatible implicit declaration of built-in function 'fprintf' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:146: error: 'stderr' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: implicit > declaration of function 'strerror' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:147: error: 'errno' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: format > '%s' expects type 'char *', but argument 4 has type 'int' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:148: warning: > incompatible implicit declaration of built-in function 'exit' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:152: warning: > incompatible implicit declaration of built-in function 'exit' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: implicit > declaration of function 'get_line_from_file' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: > assignment makes pointer from integer without a cast > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:157: warning: implicit > declaration of function 'strncmp' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:164: warning: > incompatible implicit declaration of built-in function 'fprintf' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:165: warning: > incompatible implicit declaration of built-in function 'exit' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:168: warning: implicit > declaration of function 'strtoul' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: implicit > declaration of function 'strchr' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: > incompatible implicit declaration of built-in function 'strchr' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:172: warning: > incompatible implicit declaration of built-in function 'fprintf' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:173: warning: > incompatible implicit declaration of built-in function 'exit' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:178: warning: implicit > declaration of function 'strcmp' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:179: error: 'stdout' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_WRONLY' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_CREAT' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_TRUNC' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:186: error: 'O_EXCL' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:188: warning: implicit > declaration of function 'open' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXU' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXG' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXO' > undeclared (first use in this function) > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:191: warning: implicit > declaration of function 'fdopen' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:193: warning: > incompatible implicit declaration of built-in function 'fprintf' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:194: warning: format > '%s' expects type 'char *', but argument 4 has type 'int' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:195: warning: > incompatible implicit declaration of built-in function 'exit' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:199: warning: implicit > declaration of function 'read_stduu' > /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:201: warning: implicit > declaration of function 'fclose' > make[3]: *** [/home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode] Error 1 > make[2]: *** [/home/aj/Desktop/madwifi-0.9.4/ath_hal] Error 2 > make[1]: *** [_module_/home/aj/Desktop/madwifi-0.9.4] Error 2 > make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic' > make: *** [modules] Error 2 > a...@linus:~/Desktop/madwifi-0.9.4$ > > And that is it... > All I really want is the default driver from Jaunty to work with Hardy, > because all was well in Jaunty. New description: I am honestly not sure what the problem could be. I backdated from Jaunty a few days ago because my vid card did not have 3D support, and I like to play games. My wireless card was immediately recognized with the default opensource driver in Jaunty, and I was able to use it no problem. In Hardy, it is mis-recognized as an AR242X. I disabled the proprietary drivers, and HAL, which do not work, and then compiled the tar.gz, went into the folder, and then with the make command, here is what I got: {{{ a...@linus:~$ cd /home/aj/Desktop/madwifi-0.9.4/ a...@linus:~/Desktop/madwifi-0.9.4$ make Checking requirements... ok. Checking kernel configuration... ok. make -C /lib/modules/2.6.24-24-generic/build SUBDIRS=/home/aj/Desktop/madwifi-0.9.4 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-24-generic' HOSTCC /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c: In function 'uudecode_usage': /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c: At top level: /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:40: error: expected ')' before '*' token /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:70: error: expected ')' before '*' token /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c: In function 'main': /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: for each function it appears in.) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function) /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu' /home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose' make[3]: *** [/home/aj/Desktop/madwifi-0.9.4/ath_hal/uudecode] Error 1 make[2]: *** [/home/aj/Desktop/madwifi-0.9.4/ath_hal] Error 2 make[1]: *** [_module_/home/aj/Desktop/madwifi-0.9.4] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-24-generic' make: *** [modules] Error 2 a...@linus:~/Desktop/madwifi-0.9.4$ }}} And that is it... All I really want is the default driver from Jaunty to work with Hardy, because all was well in Jaunty. Comment: Seems like some essential packages are missing, which is no bug in MadWifi. Try the instructions given [wiki:UserDocs/Distro/Ubuntu #Buildingmadwifi-ng here], and if that does not help please contact our [wiki:Support regular support channels] for further help. Thanks. -- Ticket URL: <https://madwifi-project.org/ticket/2328#comment:1> madwifi-project.org <http://madwifi-project.org/> Multiband Atheros Driver for Wireless Fidelity ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Madwifi-tickets mailing list Madwifi-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/madwifi-tickets