Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10340 closed defect (no_response)

make command error

Reported by: anonymous Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

hi all when I made the command:
$make

I get many lines but finally I get the following error:

make -r world: build failed. Please re-run make with V=99 to see what's going on
make: * [world] Error 1

Please help
Thanks in advance

Attachments (0)

Change History (6)

comment:1 Changed 6 years ago by jow

Now do as suggested and run "make V=99" ...

comment:2 Changed 6 years ago by anonymous

I did what the error say to do and I got the following:

raad@raad-laptop:~/openwrt/trunk$ make V=99
make[1]: Entering directory `/home/raad/openwrt/trunk'
make[2]: Entering directory `/home/raad/openwrt/trunk'
+ mkdir -p /home/raad/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32
+ cd /home/raad/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32
+ mkdir -p bin lib include stamp
mkdir -p /home/raad/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/stamp
touch /home/raad/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/.prepared
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/binutils'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/binutils'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/binutils'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/binutils'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/binutils'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/binutils'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/gcc/minimal'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/gcc/minimal'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/gcc/minimal'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/gcc/minimal'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/gcc/minimal'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/gcc/minimal'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/kernel-headers'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/kernel-headers'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/kernel-headers'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/kernel-headers'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/kernel-headers'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/kernel-headers'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/uClibc'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/uClibc'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/gcc/initial'
make[3]: Nothing to be done for `prepare'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/gcc/initial'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/gcc/initial'
make[3]: Nothing to be done for `compile'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/gcc/initial'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/gcc/initial'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/gcc/initial'
make[3]: Entering directory `/home/raad/openwrt/trunk/toolchain/uClibc'
/home/raad/openwrt/trunk/staging_dir/host/bin/sed -i -e 's,CROSS=.*,CROSS=mips-openwrt-linux-uclibc-,g' /home/raad/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/uClibc-0.9.32/Rules.mak
PATH='/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/bin:/home/raad/openwrt/trunk/staging_dir/host/bin:/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/bin:/home/raad/openwrt/trunk/staging_dir/host/bin:/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/bin:/home/raad/openwrt/trunk/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/raad/omnetpp/omnetpp-4.1/bin:/home/raad/ns-allinone-2.34/bin:/home/raad/ns-allinone-2.34/tcl8.4.18/unix:/home/raad/ns-allinone-2.34/tk8.4.18/unix:/home/raad/ns-allinone-2.34/ns-2.34/:/home/raad/ns-allinone-2.34/nam-1.14/' make -C /home/raad/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/uClibc-0.9.32 AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size DEVEL_PREFIX=/ RUNTIME_PREFIX=/ HOSTCC="gcc" CPU_CFLAGS="-funsigned-char -fno-builtin -fno-asm --std=gnu99 -ffunction-sections -fdata-sections -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" ARCH=""mips"" LIBGCC="/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/libgcc_initial.a" DOSTRIP="" PREFIX= all
make[4]: Entering directory `/home/raad/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/uClibc-0.9.32'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/raad/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/uClibc-0.9.32'
PATH='/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/bin:/home/raad/openwrt/trunk/staging_dir/host/bin:/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/bin:/home/raad/openwrt/trunk/staging_dir/host/bin:/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/bin:/home/raad/openwrt/trunk/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/raad/omnetpp/omnetpp-4.1/bin:/home/raad/ns-allinone-2.34/bin:/home/raad/ns-allinone-2.34/tcl8.4.18/unix:/home/raad/ns-allinone-2.34/tk8.4.18/unix:/home/raad/ns-allinone-2.34/ns-2.34/:/home/raad/ns-allinone-2.34/nam-1.14/' make -C /home/raad/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/uClibc-0.9.32 AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size DEVEL_PREFIX=/ RUNTIME_PREFIX=/ HOSTCC="gcc" CPU_CFLAGS="-funsigned-char -fno-builtin -fno-asm --std=gnu99 -ffunction-sections -fdata-sections -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float" ARCH=""mips"" LIBGCC="/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/libgcc_initial.a" DOSTRIP="" PREFIX="/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/" install_runtime install_dev
make[4]: Entering directory `/home/raad/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/uClibc-0.9.32'
install -m 755 ./lib/lib*-0.9.32.1-git.so \

/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32lib/

(cd ./lib && tar -cf - *.so.*) | tar -xf - -C /home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32lib/
tar: error while loading shared libraries: libpthread.so.0: ELF file data encoding not little-endian
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
make[4]: * [install_runtime] Error 2
make[4]: Leaving directory `/home/raad/openwrt/trunk/build_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/uClibc-0.9.32'
make[3]:
* /home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/stamp/.uclibc_installed Error 2
make[3]: Leaving directory `/home/raad/openwrt/trunk/toolchain/uClibc'
make[2]: * [toolchain/uClibc/compile] Error 2
make[2]: Leaving directory `/home/raad/openwrt/trunk'
make[1]:
* [/home/raad/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/stamp/.to

comment:3 Changed 6 years ago by nbd

what do you see when you run 'echo $LD_LIBRARY_PATH'?

comment:4 Changed 6 years ago by Bartłomiej Zimoń <uzi18@…>

unset LD_LIBRARY_PATH

comment:5 Changed 6 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.