Compile error on toolchain compile today but not some days ago:-(
Delbert Franz
ddf at sonic.net
Thu Dec 9 20:23:20 EST 2010
Today I tried to redo a compile of the toolchain from scratch because
it appeared I had made some blunder in .config and I was not able
to figure out what it was. However, there is now a compile error
fairly early in the process, thankfully. Here is the text near to the reported
error:
/bin/bash ../libtool --tag=CC --mode=compile
mipsel-openwrt-linux-uclibc-gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -I/home/ddf/openwrt/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/ddf/openwrt/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/ddf/openwrt/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/ddf/openwrt/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic -fvisibility=hidden ./localename.c
../libtool: line 46: -c: command not found
libtool: compile:
mipsel-openwrt-linux-uclibc-gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -I/home/ddf/openwrt/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/ddf/openwrt/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/ddf/openwrt/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/ddf/openwrt/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -fpic -fvisibility=hidden ./localename.c -fPIC -DPIC -o .libs/localename.o
./localename.c: In function '_nl_locale_name_thread_unsafe':
./localename.c:2619: error: dereferencing pointer to incomplete type
make[7]: *** [localename.lo] Error 1
make[7]: Leaving directory `/home/ddf/openwrt/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/gettext-0.18.1.1/gettext-runtime/intl'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/ddf/openwrt/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/gettext-0.18.1.1/gettext-runtime'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/ddf/openwrt/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/gettext-0.18.1.1/gettext-runtime'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ddf/openwrt/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/gettext-0.18.1.1'
make[3]: *** [/home/ddf/openwrt/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.30.1/gettext-0.18.1.1/.built] Error 2
make[3]: Leaving directory `/home/ddf/openwrt/openwrt-xburst/feeds/packages/libs/gettext'
make[2]: *** [package/feeds/packages/gettext/compile] Error 2
make[2]: Leaving directory `/home/ddf/openwrt/openwrt-xburst'
make[1]: *** [/home/ddf/openwrt/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/ddf/openwrt/openwrt-xburst'
make: *** [world] Error 2
There is apparently some compile-time error in localename.c
The script used to download and setup the toolchain for compiling was:
git clone git://projects.qi-hardware.com/openwrt-xburst.git # clone the git repository
cd openwrt-xburst # change-dir into the sourcecode directory
#bring in the latest released .config file
wget "http://downloads.qi-hardware.com/software/images/NanoNote/Ben/latest/config" -O .config
# bring in the standard feeds
cp data/qi_lb60/conf/feeds.conf ./
make package/symlinks
#setup some links to find files
ln -s data/qi_lb60/files
Then I did: make V=99 >& make.out
This script worked in two applications about a week ago. Something has changed in
the interval.
Thanks,
Delbert
More information about the discussion
mailing list