You are not logged in.

Dear visitor, welcome to Dreamboard. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, October 17th 2011, 9:11pm

Compiling zd1211b_r222

Hi to all,

this is my first post and I wanna great everybody firs of all.

I'm not an expert and I'm tryng to compile an image for 800se by openembedded officila script using ubuntu 11.10.

The compiling task end with an error in the pakage

Source code

1
ERROR: Task 1863 (/home/Desktop/cvs/openembedded/recipes/zd1211/zd1211b_r222.bb, do_compile) failed


The log file is the follow

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
NOTE: make -e MAKEFLAGS= MODPATH={D}/lib/modules/2.6.18-7.4-dm800se/kernel/drivers/net KERNEL_SOURCE=/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel KDIR=/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel KERNEL_VERSION=2.6.18-7.4-dm800se CC=ccache mipsel-oe-linux-gcc  LD=mipsel-oe-linux-ld 
ccache mipsel-oe-linux-gcc  -static -fomit-frame-pointer -Os -Wall -Wstrict-prototypes -pipe -Wno-unused -DZDCONF_WE_STAT_SUPPORT=1 -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUSE_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZDCONF_MENUDBG -DZDCONF_APDBG -DZDCONF_BANDEDGE_ADJUST -DZDCONF_SES_SUPPORT=1 -DAAAA03_FIX=1 -DZDCONF_FULL_TIM_FIX=1 -DZDCONF_IWPRIV_CONNECT=1 -DZDCONF_REGION_CONFIG=1 -DZDCONF_MIC_CHECK=1 -DZDCONF_SETMULTI_SUPPORT=1 -DZDCONF_SETMAC_SUPPORT=1 -DZDCONF_PSEUDO_SUPPORT=1 -DZDCONF_FULL_IDS=1 -DZDCONF_SIGNAL_INFO=1 -DZDCONF_STA_PSM=0 -DZDCONF_DBGMSG_NORMAL=1 -DZDCONF_EXTRA_FIX_IPC=1 -DZDCONF_ADHOC_SUPPORT=1 -DZDCONF_AP_SUPPORT=1 -DPRODUCTION=1 -DZDCONF_RF_RFMD_SUPPORT=1 -DZDCONF_RF_AR2124_SUPPORT=1 -DZDCONF_RF_UW2453_SUPPORT=1 -DZDCONF_RF_AL2232_SUPPORT=1 -DZDCONF_RF_AL2230_SUPPORT=1 -DZDCONF_RF_AL7230B_SUPPORT=1 -DZDCONF_DRV_FORWARD=0 -DZDCONF_APC=1 -DZDCONF_80211A_SUPPORT=1 -DZDCONF_R8610_FRAG_FIX=0 -DZDCONF_DEFER_RX=0 -DZDCONF_TX_NOCOPY=0 -DZDCONF_WPS_SUPPORT=1 -DZDCONF_RATE_DEGRADE=0 -DZD1211B -I/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include -Isrc/include/ -Isrc -D__KERNEL__ -DMODULE=1  -c src/zd1205.c -o src/zd1205.o                          	
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cpu-info.h:15,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cpu-features.h:14,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/bitops.h:16,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/bitops.h:9,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/kernel.h:15,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:12,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:25,
             	from src/zd1205.c:34:
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cache.h:12:21: error: kmalloc.h: No such file or directory
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cpu-features.h:14,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/bitops.h:16,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/bitops.h:9,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/kernel.h:15,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:12,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:25,
             	from src/zd1205.c:34:
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cpu-info.h:87: error: 'CONFIG_MIPS_L1_CACHE_SHIFT' undeclared here (not in a function)
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cpu-info.h:87: error: requested alignment is not a constant
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/bitops.h:16,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/bitops.h:9,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/kernel.h:15,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:12,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:25,
             	from src/zd1205.c:34:
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cpu-features.h:15:35: error: cpu-feature-overrides.h: No such file or directory
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/bitops.h:9,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/kernel.h:15,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:12,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:25,
             	from src/zd1205.c:34:
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/bitops.h: In function 'set_bit':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/bitops.h:100: warning: implicit declaration of function 'local_irq_save'
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/bitops.h:102: warning: implicit declaration of function 'local_irq_restore'
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/processor.h:20,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/thread_info.h:15,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/thread_info.h:21,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:14,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:25,
             	from src/zd1205.c:34:
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/mipsregs.h:207:2: error: #error Bad page size configuration!
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/system.h:18,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/processor.h:22,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/thread_info.h:15,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/linux/thread_info.h:21,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:14,
             	from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:25,
             	from src/zd1205.c:34:
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/addrspace.h:13:20: error: spaces.h: No such file or directory
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:25,
             	from src/zd1205.c:34:
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h: In function '__clear_user':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:641: error: expected ':' or ')' before '__UA_LA'
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h: In function '__strncpy_from_user':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:690: error: expected ':' or ')' before '__UA_LA'
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h: In function 'strncpy_from_user':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:727: error: expected ':' or ')' before '__UA_LA'
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h: In function '__strlen_user':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:746: error: expected ':' or ')' before '__UA_LA'
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h: In function 'strlen_user':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:776: error: expected ':' or ')' before '__UA_LA'
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h: In function '__strnlen_user':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:793: error: expected ':' or ')' before '__UA_LA'
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h: In function 'strnlen_user':
/home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/uaccess.h:824: error: expected ':' or ')' before '__UA_LA'
In file included from /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/net/checksum.h:26,
             	from src/zd1205.c:34:
...................................................................................................................................................
...................................................................................................................................................
src/zd1205.c:10035: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/zd1205.c:10231: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
src/zd1205.c:10232: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
src/zd1205.c:10299: warning: dereferencing type-punned pointer will break strict-aliasing rules
src/zd1205.c: In function 'zd1205_set_zd_cbs':
src/zd1205.c:11057: warning: assignment from incompatible pointer type
make: *** [src/zd1205.o] Error 1
FATAL: oe_runmake failed


I check here /home/Desktop/cvs/dm800se/build/tmp/staging/dm800se-oe-linux/kernel/include/asm/cache.h and there is an include of kmalloc.h but this file is missing.

Who can help me please?

Thanks!!