net80211+atheros changes

Tomas Randa lists at hosting50.cz
Sun Aug 22 04:01:32 PDT 2004


Thanks, i deleted all the sources and downloaded again, then applied
patch and next problem is here with compilation:

===> ray
cc -O -pipe -march=pentium4 -D_KERNEL -DKLD_MODULE -nostdinc -I-  
-include /usr/src/sys/i386/compile/1ATHEROS/opt_global.h -I. -I@
-I@/contrib/altq -I/usr/include -finline-limit=8000 -fno-common -g
-I/usr/src/sys/i386/compile/1ATHEROS -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:335: error:
`ieee80211_information' defined as wrong kind of tag
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:335: warning: "struct
ieee80211_information" declared inside parameter list
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:335: warning: its scope
is only this definition or declaration, which is probably not what you
want
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c: In function
`ray_rx_mgt_beacon':
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2189: error:
`ieee80211_information' defined as wrong kind of tag
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2189: error: storage
size of 'elements' isn't known
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2189: warning: unused
variable `elements'
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c: At top level:
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2206: error:
`ieee80211_information' defined as wrong kind of tag
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2206: warning: "struct
ieee80211_information" declared inside parameter list
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2207: error: conflicting
types for 'ray_rx_mgt_info'
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:335: error: previous
declaration of 'ray_rx_mgt_info' was here
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2207: error: conflicting
types for 'ray_rx_mgt_info'
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:335: error: previous
declaration of 'ray_rx_mgt_info' was here
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c: In function
`ray_rx_mgt_info':
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2230: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2231: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2241: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2242: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2243: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2244: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2264: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2265: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2266: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2284: error:
dereferencing pointer to incomplete type
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c: At top level:
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:335: warning:
'ray_rx_mgt_info' declared `static' but never defined
/usr/src/sys/modules/ray/../../dev/ray/if_ray.c:2207: warning:
'ray_rx_mgt_info' defined but not used
*** Error code 1

Stop in /usr/src/sys/modules/ray.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

in kernel i have defined device ath, device ath_hal but not device
wlan_wep

Thanks for help again. Tomas Randa


More information about the freebsd-current mailing list