http://bugs.openembedded.org/show_bug.cgi?id=972
Summary: hostap .pc/ipaq_compat.patch is wrong!
Product: Openembedded
Version: Familiar 0.8.2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
the ifdef checks for CONFIG_IPAQ_HANDHELD, so it leads to a
#typdef HOSTAP_QUEUE struct work_struct
which is nowhere defined :(
I quick-fixed it, but I have no idea what I really did :) at least it compiles
thru now ....
--- hostap_compat.h.orig 2006-05-11 09:52:27.000000000 +0200
+++ hostap_compat.h 2006-05-11 10:05:12.000000000 +0200
@@ -5,7 +5,7 @@
#define NEW_MODULE_CODE
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,44)) &&
!defined(CONFIG_IPAQ_HANDHELD)
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,44)) //&&
!defined(CONFIG_IPAQ_HANDHELD)
#define HOSTAP_QUEUE struct tq_struct
OE Build Configuration:
BB_VERSION = "1.4.3"
OE_REVISION = "34a4cccc8cdb74f4173031879341a1dcedfc7e31"
TARGET_ARCH = "arm"
TARGET_OS = "linux"
MACHINE = "h3900"
DISTRO = "familiar"
DISTRO_VERSION = "unstable-20060511"
TARGET_FPU = ""
NOTE: multiple providers are available (glibc, glibc-intermediate);
NOTE: consider defining PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc
NOTE:
NOTE: multiple providers are available (qemu-native, qemu-qop-nogfx-native);
NOTE: consider defining PREFERRED_PROVIDER_qemu-native
NOTE:
NOTE: multiple providers are available (handhelds-sa, gumstix, linux-efika,
poodle255-kernel-2.4-embedix, opensimpad, linux-h6300-omap1, linux-omap1,
husky-kernel-2.4-embedix, linux-geodegx, poodle-kernel-2.4-embedix,
shepherd-kernel-2.4-embedix, linux-h1940, ipod, linux-omap-2.6, mnci-ramses,
handhelds-pxa-2.6, corgi-kernel-2.4-embedix, linux-geodelx, linux-xxs1500,
LAB-kernel, handhelds-sa-2.6, handhelds-pxa, linux-bast, opensimpad-64+0,
xanadux-ba-2.6, linux-gumstix);
NOTE: consider defining a PREFERRED_PROVIDER to match runtime
kernel-module-mmc-asic3
NOTE:
NOTE: package hostap-modules-0.3.9: started
NOTE: package hostap-modules-0.3.9-r10: task do_fetch: started
NOTE: package hostap-modules-0.3.9-r10: task do_fetch: completed
NOTE: package hostap-modules-0.3.9-r10: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/home/mike/oe-devel/tmp/work/h3900-linux/hostap-modules-0.3.9-r10/temp/log.do_compile.8386)
| NOTE: make -e MAKEFLAGS=
KERNEL_PATH=/home/mike/oe-devel/tmp/staging/h3900-linux/kernel
KERNEL_SRC=/home/mike/oe-devel/tmp/staging/h3900-linux/kernel
KERNEL_VERSION=2.4.19-rmk6-pxa1-hh37 CC=ccache arm-linux-gcc-3.3.4
LD=arm-linux-ld KERNEL_PATH=/home/mike/oe-devel/tmp/staging/h3900-linux/kernel
MAKE=make -e
| make -e -C /home/mike/oe-devel/tmp/staging/h3900-linux/kernel
SUBDIRS=/home/mike/oe-devel/tmp/work/h3900-linux/hostap-modules-0.3.9-r10/hostap-driver-0.3.9/driver/modules
modules
| make[1]: Entering directory
`/home/mike/oe-devel/tmp/staging/h3900-linux/kernel'
| make -e -C
/home/mike/oe-devel/tmp/work/h3900-linux/hostap-modules-0.3.9-r10/hostap-driver-0.3.9/driver/modules
CFLAGS="-D__KERNEL__
-I/home/mike/oe-devel/tmp/staging/h3900-linux/kernel/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -Uarm -fno-common -pipe -frename-registers -mapcs-32
-D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes
-msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
| make[2]: Entering directory
`/home/mike/oe-devel/tmp/work/h3900-linux/hostap-modules-0.3.9-r10/hostap-driver-0.3.9/driver/modules'
| ccache arm-linux-gcc-3.3.4 -D__KERNEL__
-I/home/mike/oe-devel/tmp/staging/h3900-linux/kernel/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -Uarm -fno-common -pipe -frename-registers -mapcs-32
-D__LINUX_ARM_ARCH__=5 -mcpu=xscale -mtune=xscale -mshort-load-bytes
-msoft-float -Uarm -DMODULE -nostdinc -I
/home/mike/oe-devel/tmp/cross/lib/gcc-lib/arm-linux/3.3.4/include
-DKBUILD_BASENAME=hostap -c -o hostap.o hostap.c
| In file included from hostap.c:39:
| hostap_wlan.h:724: error: field `reset_queue' has incomplete type
| hostap_wlan.h:728: error: field `set_multicast_list_queue' has incomplete
type
| hostap_wlan.h:730: error: field `set_tim_queue' has incomplete type
| hostap_wlan.h:831: error: field `info_queue' has incomplete type
| hostap_wlan.h:862: error: field `comms_qual_update' has incomplete type
| In file included from hostap.c:41:
| hostap_ap.h:200: error: field `add_sta_proc_queue' has incomplete type
| hostap_ap.h:203: error: field `wds_oper_queue' has incomplete type
| In file included from hostap.c:108:
| hostap_ap.c: In function `hostap_init_data':
| hostap_ap.c:808: warning: implicit declaration of function `INIT_WORK'
| hostap_ap.c: In function `ap_add_sta':
| hostap_ap.c:1131: warning: implicit declaration of function `schedule_work'
| hostap.c: In function `prism2_close':
| hostap.c:746: warning: implicit declaration of function
`flush_scheduled_work'
| make[2]: *** [hostap.o] Error 1
| make[2]: Leaving directory
`/home/mike/oe-devel/tmp/work/h3900-linux/hostap-modules-0.3.9-r10/hostap-driver-0.3.9/driver/modules'
| make[1]: ***
[_mod_/home/mike/oe-devel/tmp/work/h3900-linux/hostap-modules-0.3.9-r10/hostap-driver-0.3.9/driver/modules]
Error 2
| make[1]: Leaving directory
`/home/mike/oe-devel/tmp/staging/h3900-linux/kernel'
| make: *** [2.4] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/mike/oe-devel/tmp/work/h3900-linux/hostap-modules-0.3.9-r10/temp/log.do_compile.8386
NOTE: package hostap-modules-0.3.9-r10: task do_compile: failed
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe