hi all,
i downloaded the SDK from http://downloads.openwrt.org/backfire/1 … c6/ar71xx/ in order to compile the backfire 10.03.1 for TP-linl TL WR1043ND
I added sources (backfire 10.03.1 filesystem to SDK concerned filesystem )
then tape make menuconfig
i have correct interface configuration so i can select target and profile
after exit and saving the new configuration , i tape make command , but fails at the end of build
then tape make V=99 in order to have more details about errors
make build fails at the end with this message format :
cc -O2 -I/home/hlejri/OpenWrt-SDK-ar71xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/include -include endian.h -o /home/hlejri/OpenWrt-SDK-ar71xx-for-
Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/host/firmware-utils/bin/imagetag src/imagetag.c
In file included from src/imagetag.c:19:0:
src/bcm_tag.h:1:6: error: expected '=', ',', ';', 'asm' or__attribute__' before '.' token
src/imagetag.c:46:24: error: 'NUM_PIRELLI' undeclared here (not in a function)
src/imagetag.c:46:37: error: 'BOARDID_LEN' undeclared here (not in a function)
src/imagetag.c:46:52: error: 'PIRELLI_BOARDS' undeclared here (not in a function)
src/imagetag.c: In function 'tagfile':
src/imagetag.c:135:17: error: storage size of 'tag' isn't known
src/imagetag.c:140:22: error: 'IMAGETAG_CRC_START' undeclared (first use in this function)
src/imagetag.c:140:22: note: each undeclared identifier is reported only once for each function it appears in
src/imagetag.c:145:24: error: storage size of 'intchar' isn't known
src/imagetag.c:149:25: error: invalid application of 'sizeof' to incomplete type 'struct bcm_tag'
src/imagetag.c:252:31: error: 'TAGVER_LEN' undeclared (first use in this function)
src/imagetag.c:270:45: error: 'RSASIG_LEN' undeclared (first use in this function)
src/imagetag.c:274:45: error: 'TAGLAYOUT_LEN' undeclared (first use in this function)
src/imagetag.c:285:3: error: invalid application of 'sizeof' to incomplete type 'union int2char'
src/imagetag.c:287:10: error: invalid application of 'sizeof' to incomplete type 'union int2char'
src/imagetag.c:289:9: error: invalid application of 'sizeof' to incomplete type 'union int2char'
src/imagetag.c:290:9: error: invalid application of 'sizeof' to incomplete type 'union int2char'
src/imagetag.c:291:2: error: invalid application of 'sizeof' to incomplete type 'union int2char'
src/imagetag.c:292:2: error: invalid application of 'sizeof' to incomplete type 'union int2char'
make[3]: *** [/home/hlejri/OpenWrt-SDK-ar71xx-for-
Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/host/firmware-
utils/.built] Error 1
make[3]: Leaving directory `/home/hlejri/OpenWrt-SDK-ar71xx-for-
Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/tools/firmware-utils'
make[2]: *** [tools/firmware-utils/compile] Error 2
make[2]: Leaving directory `/home/hlejri/OpenWrt-SDK-ar71xx-for-
Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[1]: *** [/home/hlejri/OpenWrt-SDK-ar71xx-for-
Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-
mips_r2_uClibc-0.9.30.1/stamp/.tools_install_nnynn] Error 2
make[1]: Leaving directory `/home/hlejri/OpenWrt-SDK-ar71xx-for-
Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make: *** [world] Error 2
any help will be appreciated !
(Last edited by hidouri on 7 May 2012, 21:41)