Modify

Opened 3 years ago

Last modified 3 years ago

#19928 new defect

Unable to build TP-Link TD-W8970 from trunk

Reported by: d.buffa@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: base system Version: Trunk
Keywords: Cc:

Description

I think issue is common to other Lantiq XRX200 devices..

This is the first build error I found

rm: cannot remove `/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/': Is a directory
touch /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/.prepared_df367685e795aba5a50f5b284d47f853
rm -f /home/daniele/dev/openwrt/trunk/openwrt/staging_dir/target-mips_34kc+dsp_musl-1.1.10/stamp/.etherwake_installed
(cd /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/./; if [ -x ./configure ]; then find /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/ -name config.guess | xargs -r chmod u+w; find /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/ -name config.guess | xargs -r -n1 cp --remove-destination /home/daniele/dev/openwrt/trunk/openwrt/scripts/config.guess; find /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/ -name config.sub | xargs -r chmod u+w; find /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/ -name config.sub | xargs -r -n1 cp --remove-destination /home/daniele/dev/openwrt/trunk/openwrt/scripts/config.sub; AR="mips-openwrt-linux-musl-gcc-ar" AS="mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro" LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-linux-musl-gcc-nm" CC="mips-openwrt-linux-musl-gcc" GCC="mips-openwrt-linux-musl-gcc" CXX="mips-openwrt-linux-musl-g++" RANLIB="mips-openwrt-linux-musl-gcc-ranlib" STRIP=mips-openwrt-linux-musl-strip OBJCOPY=mips-openwrt-linux-musl-objcopy OBJDUMP=mips-openwrt-linux-musl-objdump SIZE=mips-openwrt-linux-musl-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/target-mips_34kc+dsp_musl-1.1.10/usr/include -I/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/target-mips_34kc+dsp_musl-1.1.10/include -I/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/toolchain-mips_34kc+dsp_gcc-4.8-linaro_musl-1.1.10/usr/include -I/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/toolchain-mips_34kc+dsp_gcc-4.8-linaro_musl-1.1.10/include " LDFLAGS="-L/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/target-mips_34kc+dsp_musl-1.1.10/usr/lib -L/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/target-mips_34kc+dsp_musl-1.1.10/lib -L/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/toolchain-mips_34kc+dsp_gcc-4.8-linaro_musl-1.1.10/usr/lib -L/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/toolchain-mips_34kc+dsp_gcc-4.8-linaro_musl-1.1.10/lib -fstack-protector -Wl,-z,now -Wl,-z,relro "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-redhat-linux --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   ; fi; )
rm -f /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/.configured_*
touch /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/.configured_yyyyyyyy
mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -Wl,-z,now -Wl,-z,relro -D__UCLIBC__ /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/ether-wake.c -o /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/etherwake
In file included from /home/daniele/dev/openwrt/trunk/openwrt/staging_dir/toolchain-mips_34kc+dsp_gcc-4.8-linaro_musl-1.1.10/include/netinet/ether.h:8:0,
                 from /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/ether-wake.c:94:
/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/toolchain-mips_34kc+dsp_gcc-4.8-linaro_musl-1.1.10/include/netinet/if_ether.h:96:8: error: redefinition of 'struct ethhdr'
 struct ethhdr {
        ^
In file included from /home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/ether-wake.c:91:0:
/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/toolchain-mips_34kc+dsp_gcc-4.8-linaro_musl-1.1.10/include/linux/if_ether.h:137:8: note: originally defined here
 struct ethhdr {
        ^
make[3]: *** [/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/etherwake-1.09.orig/.built] Error 1
make[3]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt/feeds/packages/net/etherwake'
make[2]: *** [package/feeds/packages/etherwake/compile] Error 2
make[2]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt'
make[1]: *** [/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/target-mips_34kc+dsp_musl-1.1.10/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt'
make: *** [world] Errore 2

Once removed the duplicated struct I have this one

mips-openwrt-linux-musl-ld: unrecognized option '-Wl,-z,now'
mips-openwrt-linux-musl-ld: use the --help option for usage information
make[9]: *** [/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/lib_ifxos-1.5.14/src/drv_ifxos.o] Error 1
make[8]: *** [_module_/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/lib_ifxos-1.5.14/src] Error 2
make[8]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/linux-3.18.16'
make[7]: *** [sub-make] Error 2
make[7]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/linux-3.18.16'
make[6]: *** [drv_ifxos.ko] Error 2
make[6]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/lib_ifxos-1.5.14/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/lib_ifxos-1.5.14'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/lib_ifxos-1.5.14'
make[3]: *** [/home/daniele/dev/openwrt/trunk/openwrt/build_dir/target-mips_34kc+dsp_musl-1.1.10/linux-lantiq_xrx200/lib_ifxos-1.5.14/.built] Error 2
make[3]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt/package/kernel/lantiq/ltq-ifxos'
make[2]: *** [package/kernel/lantiq/ltq-ifxos/compile] Error 2
make[2]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt'
make[1]: *** [/home/daniele/dev/openwrt/trunk/openwrt/staging_dir/target-mips_34kc+dsp_musl-1.1.10/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/daniele/dev/openwrt/trunk/openwrt'
make: *** [world] Errore 2

Thanks in advance
Daniele.

Attachments (0)

Change History (1)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.