for h3900, 

NOTE: package at76c503a-modules-0.0+cvs20060511-r4: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows 
(/home/mike/oe-devel/tmp/work/h3900-linux/at76c503a-modules-0.0+cvs20060511-r4/temp/log.do_compile.13444)
| 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
| ccache arm-linux-gcc-3.3.4  -MD -O2 -Wall -Wstrict-prototypes -pipe 
-fno-strict-aliasing  -DCOMPILE_FIRMWARE_INTO_DRIVER -fno-common 
-Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB 
-I/home/mike/oe-devel/tmp/staging/h3900-linux/kernel/include  -c at76c503.c
| at76c503.c:6709:18: token "=" is not valid in preprocessor expressions
| make: *** [at76c503.o] Error 1
| FATAL: oe_runmake failed
NOTE: Task 
failed: 
/home/mike/oe-devel/tmp/work/h3900-linux/at76c503a-modules-0.0+cvs20060511-r4/temp/log.do_compile.13444
NOTE: package at76c503a-modules-0.0+cvs20060511-r4: task do_compile: failed




quick fix for me was to change the #elif to a simple #else, I don't know yet, 
if the driver still works on my ipaq later on :)


--- at76c503.c.orig     2006-05-11 09:36:48.000000000 +0200
+++ at76c503.c  2006-05-11 09:38:55.000000000 +0200
@@ -6705,7 +6705,7 @@
        .private_args   = (struct iw_priv_args *) at76c503_priv_args,
 #if WIRELESS_EXT > 16
        .get_wireless_stats = at76c503_get_wireless_stats,
-#elif WIRELESS_EXT = 16
+#else //#if WIRELESS_EXT = 16
        .spy_offset     = offsetof(struct at76c503, spy_data),
 #endif // #if WIRELESS_EXT > 15

_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to