Descobri o erro que eu e o colega fizemos.... quando baixamos o pacote, baixamos desse link
http://madwifi-project.org/ o pacote que tinha na apresentação, no link
http://downloads.sourceforge.net/madwifi/madwifi-0.9.4.tar.gz
Esse pacote tem um nome diferente do outro... quando baixei nesse site
http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6/ .. o pacote "zipado" tinha o "hal" no meio do nome.... nesse eu dei o make... e.... não resolveu.... kkkk...
Olha o resultado que me apareceu na tela:
===============================================
#:~/madwifi-hal-0.10.5.6-r4103-20100110$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.38-10-generic/build SUBDIRS=/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-10-generic'
CC [M] /home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath/if_ath.o
/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath/if_ath.c:49:26: fatal error: linux/config.h: No such file or directory
compilation terminated.
make[3]: *** [/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath/if_ath.o] Error 1
make[2]: ** [/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath] Erro 2
make[1]: *** [_module_/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-10-generic'
make: ** [modules] Erro 2
#:~/madwifi-hal-0.10.5.6-r4103-20100110$ sudo make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.38-10-generic/build SUBDIRS=/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-10-generic'
CC [M] /home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath/if_ath.o
/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath/if_ath.c:49:26: fatal error: linux/config.h: No such file or directory
compilation terminated.
make[3]: *** [/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath/if_ath.o] Error 1
make[2]: ** [/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110/ath] Erro 2
make[1]: *** [_module_/home/fernando/madwifi-hal-0.10.5.6-r4103-20100110] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-10-generic'
make: ** [modules] Erro 2
#:~/madwifi-hal-0.10.5.6-r4103-20100110$
=================================================