Orinoco 0.11b and WE14

Paul Gonin paul-ml at gonin.net
Tue Jun 18 10:21:13 EST 2002


Hi,

I am trying to compile the orinoco 11b driver afetr having applied the 
patch for the support of the wireless extension 14 API 
(http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ori.11b.we14.mos.diff)

I am targetting an iPaq, so I got a kernel source 2.4.18 from the 
familiar project (familiar.handhelds.org) and I modified the Makefile to 
use these source (KERNEL_SRC = /home/paul/ipaq/kernel/linux/kernel), 
then I only replaced wireless.h in the include directory of this kernel 
tree with wireless.14.h

Then I try to cross compile it but it doesn't work (see attached trace)

My belief is that kernel 2.4.18 is not suitable for eventing which 
explains why I can't compile this driver. Am I correct? Was it intended 
to be used with a 2.5 kernel series only ?

Thank you
Paul Gonin

-------------- next part --------------
arm-linux-gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -D__KERNEL__ -DPCMCIA_DEBUG=1 -DMODULE -DEXPORT_SYMTAB -I/home/paul/thesis/kernel/linux/kernel/include  -c hermes.c
arm-linux-gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -D__KERNEL__ -DPCMCIA_DEBUG=1 -DMODULE -DEXPORT_SYMTAB -I/home/paul/thesis/kernel/linux/kernel/include  -c orinoco.c
orinoco.c:343: net/iw_handler.h: No such file or directory
orinoco.c: In function `__orinoco_ev_info':
orinoco.c:1412: warning: implicit declaration of function `wireless_send_event'
orinoco.c: At top level:
orinoco.c:2357: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2357: warning: its scope is only this definition or declaration, which is probably not what you want.
orinoco.c:2368: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2381: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2415: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2431: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2571: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2659: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2703: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2735: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2759: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2782: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2800: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2843: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2858: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2883: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2903: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2926: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2941: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:2980: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3020: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3065: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3134: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3189: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3240: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3256: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3311: warning: `struct iw_request_info' declared inside parameter list
orinoco.c: In function `orinoco_ioctl_reset':
orinoco.c:3325: dereferencing pointer to incomplete type
orinoco.c: At top level:
orinoco.c:3338: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3359: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3377: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3423: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3441: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3471: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3495: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3543: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3585: warning: `struct iw_request_info' declared inside parameter list
orinoco.c: In function `orinoco_translate_scan':
orinoco.c:3679: warning: implicit declaration of function `iwe_stream_add_event'
orinoco.c:3679: warning: assignment makes pointer from integer without a cast
orinoco.c:3689: warning: implicit declaration of function `iwe_stream_add_point'
orinoco.c:3689: warning: assignment makes pointer from integer without a cast
orinoco.c:3699: warning: assignment makes pointer from integer without a cast
orinoco.c:3706: warning: assignment makes pointer from integer without a cast
orinoco.c:3712: warning: assignment makes pointer from integer without a cast
orinoco.c:3723: warning: assignment makes pointer from integer without a cast
orinoco.c:3740: warning: implicit declaration of function `iwe_stream_add_value'
orinoco.c:3740: warning: assignment makes pointer from integer without a cast
orinoco.c: At top level:
orinoco.c:3757: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3823: warning: `struct iw_request_info' declared inside parameter list
orinoco.c:3871: parse error before `orinoco_handler'
orinoco.c:3871: warning: type defaults to `int' in declaration of `orinoco_handler'
orinoco.c:3873: `iw_handler' undeclared here (not in a function)
orinoco.c:3873: initializer element is not constant
orinoco.c:3873: (near initialization for `orinoco_handler[0]')
orinoco.c:3873: parse error before `orinoco_ioctl_commit'
orinoco.c:3874: `iw_handler' undeclared here (not in a function)
orinoco.c:3874: initializer element is not constant
orinoco.c:3874: (near initialization for `orinoco_handler[1]')
orinoco.c:3874: parse error before `orinoco_ioctl_getname'
orinoco.c:3875: `iw_handler' undeclared here (not in a function)
orinoco.c:3875: initializer element is not constant
orinoco.c:3875: (near initialization for `orinoco_handler[2]')
orinoco.c:3876: `iw_handler' undeclared here (not in a function)
orinoco.c:3876: initializer element is not constant
orinoco.c:3876: (near initialization for `orinoco_handler[3]')
orinoco.c:3877: `iw_handler' undeclared here (not in a function)
orinoco.c:3877: initializer element is not constant
orinoco.c:3877: (near initialization for `orinoco_handler[4]')
orinoco.c:3877: parse error before `orinoco_ioctl_setfreq'
orinoco.c:3878: `iw_handler' undeclared here (not in a function)
orinoco.c:3878: initializer element is not constant
orinoco.c:3878: (near initialization for `orinoco_handler[5]')
orinoco.c:3878: parse error before `orinoco_ioctl_getfreq'
orinoco.c:3879: `iw_handler' undeclared here (not in a function)
orinoco.c:3879: initializer element is not constant
orinoco.c:3879: (near initialization for `orinoco_handler[6]')
orinoco.c:3879: parse error before `orinoco_ioctl_setmode'
orinoco.c:3880: `iw_handler' undeclared here (not in a function)
orinoco.c:3880: initializer element is not constant
orinoco.c:3880: (near initialization for `orinoco_handler[7]')
orinoco.c:3880: parse error before `orinoco_ioctl_getmode'
orinoco.c:3881: `iw_handler' undeclared here (not in a function)
orinoco.c:3881: initializer element is not constant
orinoco.c:3881: (near initialization for `orinoco_handler[8]')
orinoco.c:3881: parse error before `orinoco_ioctl_setsens'
orinoco.c:3882: `iw_handler' undeclared here (not in a function)
orinoco.c:3882: initializer element is not constant
orinoco.c:3882: (near initialization for `orinoco_handler[9]')
orinoco.c:3882: parse error before `orinoco_ioctl_getsens'
orinoco.c:3883: `iw_handler' undeclared here (not in a function)
orinoco.c:3883: initializer element is not constant
orinoco.c:3883: (near initialization for `orinoco_handler[10]')
orinoco.c:3884: `iw_handler' undeclared here (not in a function)
orinoco.c:3884: initializer element is not constant
orinoco.c:3884: (near initialization for `orinoco_handler[11]')
orinoco.c:3884: parse error before `orinoco_ioctl_getiwrange'
orinoco.c:3885: `iw_handler' undeclared here (not in a function)
orinoco.c:3885: initializer element is not constant
orinoco.c:3885: (near initialization for `orinoco_handler[12]')
orinoco.c:3886: `iw_handler' undeclared here (not in a function)
orinoco.c:3886: initializer element is not constant
orinoco.c:3886: (near initialization for `orinoco_handler[13]')
orinoco.c:3887: `iw_handler' undeclared here (not in a function)
orinoco.c:3887: initializer element is not constant
orinoco.c:3887: (near initialization for `orinoco_handler[14]')
orinoco.c:3888: `iw_handler' undeclared here (not in a function)
orinoco.c:3888: initializer element is not constant
orinoco.c:3888: (near initialization for `orinoco_handler[15]')
orinoco.c:3889: `iw_handler' undeclared here (not in a function)
orinoco.c:3889: initializer element is not constant
orinoco.c:3889: (near initialization for `orinoco_handler[16]')
orinoco.c:3889: parse error before `orinoco_ioctl_setspy'
orinoco.c:3890: `iw_handler' undeclared here (not in a function)
orinoco.c:3890: initializer element is not constant
orinoco.c:3890: (near initialization for `orinoco_handler[17]')
orinoco.c:3890: parse error before `orinoco_ioctl_getspy'
orinoco.c:3891: `iw_handler' undeclared here (not in a function)
orinoco.c:3891: initializer element is not constant
orinoco.c:3891: (near initialization for `orinoco_handler[18]')
orinoco.c:3892: `iw_handler' undeclared here (not in a function)
orinoco.c:3892: initializer element is not constant
orinoco.c:3892: (near initialization for `orinoco_handler[19]')
orinoco.c:3893: `iw_handler' undeclared here (not in a function)
orinoco.c:3893: initializer element is not constant
orinoco.c:3893: (near initialization for `orinoco_handler[20]')
orinoco.c:3894: `iw_handler' undeclared here (not in a function)
orinoco.c:3894: initializer element is not constant
orinoco.c:3894: (near initialization for `orinoco_handler[21]')
orinoco.c:3894: parse error before `orinoco_ioctl_getwap'
orinoco.c:3895: `iw_handler' undeclared here (not in a function)
orinoco.c:3895: initializer element is not constant
orinoco.c:3895: (near initialization for `orinoco_handler[22]')
orinoco.c:3896: `iw_handler' undeclared here (not in a function)
orinoco.c:3896: initializer element is not constant
orinoco.c:3896: (near initialization for `orinoco_handler[23]')
orinoco.c:3898: `iw_handler' undeclared here (not in a function)
orinoco.c:3898: initializer element is not constant
orinoco.c:3898: (near initialization for `orinoco_handler[24]')
orinoco.c:3898: parse error before `orinoco_ioctl_setscan'
orinoco.c:3899: `iw_handler' undeclared here (not in a function)
orinoco.c:3899: initializer element is not constant
orinoco.c:3899: (near initialization for `orinoco_handler[25]')
orinoco.c:3899: parse error before `orinoco_ioctl_getscan'
orinoco.c:3904: `iw_handler' undeclared here (not in a function)
orinoco.c:3904: initializer element is not constant
orinoco.c:3904: (near initialization for `orinoco_handler[26]')
orinoco.c:3904: parse error before `orinoco_ioctl_setessid'
orinoco.c:3905: `iw_handler' undeclared here (not in a function)
orinoco.c:3905: initializer element is not constant
orinoco.c:3905: (near initialization for `orinoco_handler[27]')
orinoco.c:3905: parse error before `orinoco_ioctl_getessid'
orinoco.c:3906: `iw_handler' undeclared here (not in a function)
orinoco.c:3906: initializer element is not constant
orinoco.c:3906: (near initialization for `orinoco_handler[28]')
orinoco.c:3906: parse error before `orinoco_ioctl_setnick'
orinoco.c:3907: `iw_handler' undeclared here (not in a function)
orinoco.c:3907: initializer element is not constant
orinoco.c:3907: (near initialization for `orinoco_handler[29]')
orinoco.c:3907: parse error before `orinoco_ioctl_getnick'
orinoco.c:3908: `iw_handler' undeclared here (not in a function)
orinoco.c:3908: initializer element is not constant
orinoco.c:3908: (near initialization for `orinoco_handler[30]')
orinoco.c:3909: `iw_handler' undeclared here (not in a function)
orinoco.c:3909: initializer element is not constant
orinoco.c:3909: (near initialization for `orinoco_handler[31]')
orinoco.c:3910: `iw_handler' undeclared here (not in a function)
orinoco.c:3910: initializer element is not constant
orinoco.c:3910: (near initialization for `orinoco_handler[32]')
orinoco.c:3910: parse error before `orinoco_ioctl_setrate'
orinoco.c:3911: `iw_handler' undeclared here (not in a function)
orinoco.c:3911: initializer element is not constant
orinoco.c:3911: (near initialization for `orinoco_handler[33]')
orinoco.c:3911: parse error before `orinoco_ioctl_getrate'
orinoco.c:3912: `iw_handler' undeclared here (not in a function)
orinoco.c:3912: initializer element is not constant
orinoco.c:3912: (near initialization for `orinoco_handler[34]')
orinoco.c:3912: parse error before `orinoco_ioctl_setrts'
orinoco.c:3913: `iw_handler' undeclared here (not in a function)
orinoco.c:3913: initializer element is not constant
orinoco.c:3913: (near initialization for `orinoco_handler[35]')
orinoco.c:3913: parse error before `orinoco_ioctl_getrts'
orinoco.c:3914: `iw_handler' undeclared here (not in a function)
orinoco.c:3914: initializer element is not constant
orinoco.c:3914: (near initialization for `orinoco_handler[36]')
orinoco.c:3914: parse error before `orinoco_ioctl_setfrag'
orinoco.c:3915: `iw_handler' undeclared here (not in a function)
orinoco.c:3915: initializer element is not constant
orinoco.c:3915: (near initialization for `orinoco_handler[37]')
orinoco.c:3915: parse error before `orinoco_ioctl_getfrag'
orinoco.c:3916: `iw_handler' undeclared here (not in a function)
orinoco.c:3916: initializer element is not constant
orinoco.c:3916: (near initialization for `orinoco_handler[38]')
orinoco.c:3917: `iw_handler' undeclared here (not in a function)
orinoco.c:3917: initializer element is not constant
orinoco.c:3917: (near initialization for `orinoco_handler[39]')
orinoco.c:3917: parse error before `orinoco_ioctl_gettxpower'
orinoco.c:3918: `iw_handler' undeclared here (not in a function)
orinoco.c:3918: initializer element is not constant
orinoco.c:3918: (near initialization for `orinoco_handler[40]')
orinoco.c:3919: `iw_handler' undeclared here (not in a function)
orinoco.c:3919: initializer element is not constant
orinoco.c:3919: (near initialization for `orinoco_handler[41]')
orinoco.c:3919: parse error before `orinoco_ioctl_getretry'
orinoco.c:3920: `iw_handler' undeclared here (not in a function)
orinoco.c:3920: initializer element is not constant
orinoco.c:3920: (near initialization for `orinoco_handler[42]')
orinoco.c:3920: parse error before `orinoco_ioctl_setiwencode'
orinoco.c:3921: `iw_handler' undeclared here (not in a function)
orinoco.c:3921: initializer element is not constant
orinoco.c:3921: (near initialization for `orinoco_handler[43]')
orinoco.c:3921: parse error before `orinoco_ioctl_getiwencode'
orinoco.c:3922: `iw_handler' undeclared here (not in a function)
orinoco.c:3922: initializer element is not constant
orinoco.c:3922: (near initialization for `orinoco_handler[44]')
orinoco.c:3922: parse error before `orinoco_ioctl_setpower'
orinoco.c:3923: `iw_handler' undeclared here (not in a function)
orinoco.c:3923: initializer element is not constant
orinoco.c:3923: (near initialization for `orinoco_handler[45]')
orinoco.c:3923: parse error before `orinoco_ioctl_getpower'
orinoco.c:3924: warning: data definition has no type or storage class
orinoco.c:3929: parse error before `orinoco_private_handler'
orinoco.c:3929: warning: type defaults to `int' in declaration of `orinoco_private_handler'
orinoco.c:3931: `iw_handler' undeclared here (not in a function)
orinoco.c:3931: initializer element is not constant
orinoco.c:3931: (near initialization for `orinoco_private_handler[0]')
orinoco.c:3931: parse error before `orinoco_ioctl_reset'
orinoco.c:3932: `iw_handler' undeclared here (not in a function)
orinoco.c:3932: initializer element is not constant
orinoco.c:3932: (near initialization for `orinoco_private_handler[1]')
orinoco.c:3932: parse error before `orinoco_ioctl_reset'
orinoco.c:3933: `iw_handler' undeclared here (not in a function)
orinoco.c:3933: initializer element is not constant
orinoco.c:3933: (near initialization for `orinoco_private_handler[2]')
orinoco.c:3933: parse error before `orinoco_ioctl_setport3'
orinoco.c:3934: `iw_handler' undeclared here (not in a function)
orinoco.c:3934: initializer element is not constant
orinoco.c:3934: (near initialization for `orinoco_private_handler[3]')
orinoco.c:3934: parse error before `orinoco_ioctl_getport3'
orinoco.c:3935: `iw_handler' undeclared here (not in a function)
orinoco.c:3935: initializer element is not constant
orinoco.c:3935: (near initialization for `orinoco_private_handler[4]')
orinoco.c:3935: parse error before `orinoco_ioctl_setpreamble'
orinoco.c:3936: `iw_handler' undeclared here (not in a function)
orinoco.c:3936: initializer element is not constant
orinoco.c:3936: (near initialization for `orinoco_private_handler[5]')
orinoco.c:3936: parse error before `orinoco_ioctl_getpreamble'
orinoco.c:3937: `iw_handler' undeclared here (not in a function)
orinoco.c:3937: initializer element is not constant
orinoco.c:3937: (near initialization for `orinoco_private_handler[6]')
orinoco.c:3937: parse error before `orinoco_ioctl_setibssport'
orinoco.c:3938: `iw_handler' undeclared here (not in a function)
orinoco.c:3938: initializer element is not constant
orinoco.c:3938: (near initialization for `orinoco_private_handler[7]')
orinoco.c:3938: parse error before `orinoco_ioctl_getibssport'
orinoco.c:3939: warning: data definition has no type or storage class
orinoco.c:3941: variable `orinoco_handler_def' has initializer but incomplete type
orinoco.c:3943: unknown field `num_standard' specified in initializer
orinoco.c:3943: `iw_handler' undeclared here (not in a function)
orinoco.c:3943: warning: excess elements in struct initializer
orinoco.c:3943: warning: (near initialization for `orinoco_handler_def')
orinoco.c:3944: unknown field `num_private' specified in initializer
orinoco.c:3944: `iw_handler' undeclared here (not in a function)
orinoco.c:3944: warning: excess elements in struct initializer
orinoco.c:3944: warning: (near initialization for `orinoco_handler_def')
orinoco.c:3945: unknown field `num_private_args' specified in initializer
orinoco.c:3945: warning: excess elements in struct initializer
orinoco.c:3945: warning: (near initialization for `orinoco_handler_def')
orinoco.c:3946: unknown field `standard' specified in initializer
orinoco.c:3946: `iw_handler' undeclared here (not in a function)
orinoco.c:3946: parse error before `)'
orinoco.c:3946: warning: excess elements in struct initializer
orinoco.c:3946: warning: (near initialization for `orinoco_handler_def')
orinoco.c:3947: unknown field `private' specified in initializer
orinoco.c:3947: `iw_handler' undeclared here (not in a function)
orinoco.c:3947: parse error before `)'
orinoco.c:3947: warning: excess elements in struct initializer
orinoco.c:3947: warning: (near initialization for `orinoco_handler_def')
orinoco.c:3948: unknown field `private_args' specified in initializer
orinoco.c:3948: warning: excess elements in struct initializer
orinoco.c:3948: warning: (near initialization for `orinoco_handler_def')
orinoco.c: In function `alloc_orinocodev':
orinoco.c:4744: structure has no member named `wireless_handlers'
orinoco.c: At top level:
orinoco.c:2358: warning: `orinoco_ioctl_getname' defined but not used
orinoco.c:2369: warning: `orinoco_ioctl_getwap' defined but not used
orinoco.c:2382: warning: `orinoco_ioctl_setmode' defined but not used
orinoco.c:2416: warning: `orinoco_ioctl_getmode' defined but not used
orinoco.c:2432: warning: `orinoco_ioctl_getiwrange' defined but not used
orinoco.c:2572: warning: `orinoco_ioctl_setiwencode' defined but not used
orinoco.c:2660: warning: `orinoco_ioctl_getiwencode' defined but not used
orinoco.c:2704: warning: `orinoco_ioctl_setessid' defined but not used
orinoco.c:2736: warning: `orinoco_ioctl_getessid' defined but not used
orinoco.c:2760: warning: `orinoco_ioctl_setnick' defined but not used
orinoco.c:2783: warning: `orinoco_ioctl_getnick' defined but not used
orinoco.c:2801: warning: `orinoco_ioctl_setfreq' defined but not used
orinoco.c:2844: warning: `orinoco_ioctl_getfreq' defined but not used
orinoco.c:2859: warning: `orinoco_ioctl_getsens' defined but not used
orinoco.c:2884: warning: `orinoco_ioctl_setsens' defined but not used
orinoco.c:2904: warning: `orinoco_ioctl_setrts' defined but not used
orinoco.c:2927: warning: `orinoco_ioctl_getrts' defined but not used
orinoco.c:2942: warning: `orinoco_ioctl_setfrag' defined but not used
orinoco.c:2981: warning: `orinoco_ioctl_getfrag' defined but not used
orinoco.c:3021: warning: `orinoco_ioctl_setrate' defined but not used
orinoco.c:3066: warning: `orinoco_ioctl_getrate' defined but not used
orinoco.c:3135: warning: `orinoco_ioctl_setpower' defined but not used
orinoco.c:3190: warning: `orinoco_ioctl_getpower' defined but not used
orinoco.c:3241: warning: `orinoco_ioctl_gettxpower' defined but not used
orinoco.c:3257: warning: `orinoco_ioctl_getretry' defined but not used
orinoco.c:3312: warning: `orinoco_ioctl_reset' defined but not used
orinoco.c:3339: warning: `orinoco_ioctl_setibssport' defined but not used
orinoco.c:3360: warning: `orinoco_ioctl_getibssport' defined but not used
orinoco.c:3378: warning: `orinoco_ioctl_setport3' defined but not used
orinoco.c:3424: warning: `orinoco_ioctl_getport3' defined but not used
orinoco.c:3442: warning: `orinoco_ioctl_setpreamble' defined but not used
orinoco.c:3472: warning: `orinoco_ioctl_getpreamble' defined but not used
orinoco.c:3496: warning: `orinoco_ioctl_setspy' defined but not used
orinoco.c:3544: warning: `orinoco_ioctl_getspy' defined but not used
orinoco.c:3586: warning: `orinoco_ioctl_setscan' defined but not used
orinoco.c:3758: warning: `orinoco_ioctl_getscan' defined but not used
orinoco.c:3824: warning: `orinoco_ioctl_commit' defined but not used
make: *** [orinoco.o] Error 1


More information about the wireless mailing list