Compilation error in the latest development release

Pablo Osuna posuna
Tue Sep 6 07:29:13 PDT 2005


Hi:

I am trying to compile 0.4.4 hostap driver (latest development release)
in Ubuntu but I am getting this error when I do make:

root at Pablo:/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4 # make
KERNEL_PATH=/usr/src/linux-headers-2.6.10-5-386 
make -C /usr/src/linux-headers-2.6.10-5-386
SUBDIRS=/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules \

MODVERDIR=/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5-386'
  CC
[M]  /home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap.o
  CC
[M]  /home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_crypt_wep.o
  CC
[M]  /home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_crypt_tkip.o
  CC
[M]  /home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_crypt_ccmp.o
  CC
[M]  /home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.o
/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.c: En la funci?n `prism2_config':
/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.c:741: error: dereferencing pointer to incomplete type
/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.c:741: aviso: type defaults to `int' in declaration of `__mptr'
/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.c:741: aviso: inicializaci?n de tipo de puntero incompatible
/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.c:741: error: dereferencing pointer to incomplete type
/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.c:741: error: invalid type argument of `->'
make[2]: ***
[/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules/hostap_cs.o] Error 1
make[1]: ***
[_module_/home/pablo/EHAS/RouterMesh/Hostap/hostap-driver-0.4.4/driver/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'
make: *** [2.6] Error 2

I am not getting any error when I compile hostap driver 0.3.9. What am I
doing wrong?.

Thanks:

Pablo





More information about the Hostap mailing list