Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9035 closed defect (fixed)

Kernel doesn't compile on Orion due to lib_ifxos error

Reported by: maddes Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description (last modified by maddes)

Trunk: r26081 (no feeds; all packages selected)
Platform: Orion

make[7]: Entering directory `/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/linux-2.6.37.1'
  CC [M]  /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/lib_ifxos-1.5.12/src/common/ifxos_version.o
arm-openwrt-linux-uclibcgnueabi-gcc: 0: No such file or directory
arm-openwrt-linux-uclibcgnueabi-gcc: unrecognized option '-G'
cc1: error: unrecognized command line option "-mno-abicalls"
make[9]: *** [/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/lib_ifxos-1.5.12/src/common/ifxos_version.o] Error 1
make[8]: *** [_module_/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/lib_ifxos-1.5.12/src] Error 2
make[7]: *** [sub-make] Error 2
make[7]: Leaving directory `/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/linux-2.6.37.1'
make[6]: *** [drv_ifxos.ko] Error 2
make[6]: Leaving directory `/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/lib_ifxos-1.5.12/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/lib_ifxos-1.5.12'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/lib_ifxos-1.5.12'
make[3]: *** [/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/lib_ifxos-1.5.12/.built] Error 2
make[3]: Leaving directory `/home/maddes/openwrt/trunk/package/ltq-ifxos'
make[2]: *** [package/ltq-ifxos/compile] Error 2
make[2]: Leaving directory `/home/maddes/openwrt/trunk'
make[1]: *** [/home/maddes/openwrt/trunk/staging_dir/target-arm_v5t_uClibc-0.9.32_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/maddes/openwrt/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (6)

comment:1 Changed 7 years ago by maddes

  • Description modified (diff)

comment:3 Changed 7 years ago by nbd

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

fixed in r26132

comment:4 Changed 7 years ago by anonymous

Same for ltq-tapi, and I assume all other ltq packages too.
Here ltq-tapi depends on ltq_ixfos library.

make[3]: Entering directory `/home/maddes/openwrt/trunk/package/ltq-tapi'
WARNING: skipping kmod-ltq-tapi -- package not selected
mkdir -p /home/maddes/openwrt/trunk/dl
/home/maddes/openwrt/trunk/scripts/download.pl "/home/maddes/openwrt/trunk/dl" "drv_tapi-3.13.0.tar.bz2" "edb43b494832c540cc035493d18db58f" "http://mirror2.openwrt.org/sources"
--2011-03-13 22:21:33--  http://mirror2.openwrt.org/sources/drv_tapi-3.13.0.tar.bz2
Resolving mirror2.openwrt.org... 46.4.11.11
Connecting to mirror2.openwrt.org|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 321121 (314K) [application/x-bzip2]
Saving to: `STDOUT'

100%[===================================================================================================================================================================================================>] 321,121      575K/s   in 0.5s

2011-03-13 22:21:34 (575 KB/s) - written to stdout [321121/321121]

. /home/maddes/openwrt/trunk/include/shell.sh; . /home/maddes/openwrt/trunk/include/shell.sh; bzcat /home/maddes/openwrt/trunk/dl/drv_tapi-3.13.0.tar.bz2 | /bin/tar -C /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/.. -xf -

Applying ./patches/001-portability.patch using plaintext:
patching file src/Makefile.am
Hunk #1 succeeded at 154 (offset 5 lines).
Hunk #2 succeeded at 162 (offset 5 lines).
patching file configure.in
patching file src/drv_tapi_linux.h
patching file src/drv_tapi_linux.c
patching file src/drv_tapi_linux.c
Hunk #3 succeeded at 3718 (offset 118 lines).

Applying ./patches/100-ifxmips.patch using plaintext:
patching file src/drv_tapi_linux.c
Hunk #1 succeeded at 547 (offset 3 lines).
patching file src/drv_tapi_osmap.h
patching file include/drv_tapi_ll_interface.h
patching file src/lib/lib_bufferpool/lib_bufferpool.c
Hunk #1 succeeded at 85 with fuzz 2 (offset 5 lines).

Applying ./patches/linux-37.patch using plaintext:
patching file src/drv_tapi_linux.c
patching file src/lib/lib_fifo/lib_fifo.c
touch /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/.prepared_63a9b351112f3b7a0c91bea893b9b6b0
(cd /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0; aclocal && autoconf && automake)
src/Makefile.am:143: addprefix @srcdir@/,$(drv_tapi_SOURCES: non-POSIX variable name
src/Makefile.am:143: (probably a GNU make extension)
src/Makefile.am:154: subst .c,.o, $(drv_tapi_SOURCES: non-POSIX variable name
src/Makefile.am:154: (probably a GNU make extension)
src/Makefile.am:166: subst .ko,.o,$@: non-POSIX variable name
src/Makefile.am:166: (probably a GNU make extension)
src/Makefile.am:167: subst .ko,,$@: non-POSIX variable name
src/Makefile.am:167: (probably a GNU make extension)
(cd /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/./; if [ -x ./configure ]; then /usr/bin/find /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/ -name config.guess | xargs -r -n1 cp /home/maddes/openwrt/trunk/scripts/config.guess; /usr/bin/find /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/ -name config.sub | xargs -r -n1 cp /home/maddes/openwrt/trunk/scripts/config.sub; AR=arm-openwrt-linux-uclibcgnueabi-ar AS="arm-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5t -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float" LD=arm-openwrt-linux-uclibcgnueabi-ld NM=arm-openwrt-linux-uclibcgnueabi-nm CC="arm-openwrt-linux-uclibcgnueabi-gcc" GCC="arm-openwrt-linux-uclibcgnueabi-gcc" CXX="arm-openwrt-linux-uclibcgnueabi-g++" RANLIB=arm-openwrt-linux-uclibcgnueabi-ranlib STRIP=arm-openwrt-linux-uclibcgnueabi-strip OBJCOPY=arm-openwrt-linux-uclibcgnueabi-objcopy OBJDUMP=arm-openwrt-linux-uclibcgnueabi-objdump SIZE=arm-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv5t -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float " CXXFLAGS="-Os -pipe -march=armv5t -mtune=xscale -funit-at-a-time -fhonour-copts -msoft-float " CPPFLAGS="-I/home/maddes/openwrt/trunk/staging_dir/target-arm_v5t_uClibc-0.9.32_eabi/usr/include -I/home/maddes/openwrt/trunk/staging_dir/target-arm_v5t_uClibc-0.9.32_eabi/include -I/home/maddes/openwrt/trunk/staging_dir/toolchain-arm_v5t_gcc-linaro_uClibc-0.9.32_eabi/usr/include -I/home/maddes/openwrt/trunk/staging_dir/toolchain-arm_v5t_gcc-linaro_uClibc-0.9.32_eabi/include " LDFLAGS="-L/home/maddes/openwrt/trunk/staging_dir/target-arm_v5t_uClibc-0.9.32_eabi/usr/lib -L/home/maddes/openwrt/trunk/staging_dir/target-arm_v5t_uClibc-0.9.32_eabi/lib -L/home/maddes/openwrt/trunk/staging_dir/toolchain-arm_v5t_gcc-linaro_uClibc-0.9.32_eabi/usr/lib -L/home/maddes/openwrt/trunk/staging_dir/toolchain-arm_v5t_gcc-linaro_uClibc-0.9.32_eabi/lib "   ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=i486-linux-gnu --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   ARCH=arm --enable-linux-26 --enable-kernelbuild="/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/linux-2.6.37.3" --enable-kernelincl="/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/linux-2.6.37.3/include" --with-ifxos-incl=/home/maddes/openwrt/trunk/staging_dir/target-arm_v5t_uClibc-0.9.32_eabi/usr/include/ifxos --disable-el-debug --disable-fax --disable-t38 --disable-cid --disable-dect --disable-kpi --disable-qos --disable-lt --disable-statistics --disable-metering --disable-hdlc --disable-trace --disable-hotplug ; fi; )
configure: WARNING: unrecognized options: --disable-nls, --disable-hotplug
configure: loading site script /home/maddes/openwrt/trunk/include/site/arm-openwrt-linux-uclibcgnueabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-openwrt-linux-strip... arm-openwrt-linux-uclibcgnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-openwrt-linux-gcc... arm-openwrt-linux-uclibcgnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-openwrt-linux-uclibcgnueabi-gcc accepts -g... yes
checking for arm-openwrt-linux-uclibcgnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-openwrt-linux-uclibcgnueabi-gcc... gcc3
checking whether arm-openwrt-linux-uclibcgnueabi-gcc and cc understand -c and -o together... yes
Set the kernel architecture to arm
configure: error: The lib_ifxos include directory is not valid!
make[3]: *** [/home/maddes/openwrt/trunk/build_dir/linux-orion_generic/drv_tapi-3.13.0/.configured_] Error 1
make[3]: Leaving directory `/home/maddes/openwrt/trunk/package/ltq-tapi'
make[2]: *** [package/ltq-tapi/compile] Error 2
make[2]: Leaving directory `/home/maddes/openwrt/trunk'
make[1]: *** [/home/maddes/openwrt/trunk/staging_dir/target-arm_v5t_uClibc-0.9.32_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/maddes/openwrt/trunk'
make: *** [world] Error 2

comment:5 Changed 7 years ago by nbd

should be fixed by r26154

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.