Failing to build uClibc (with attached log)
Alan Post
alanpost at sunflowerriver.org
Fri Oct 22 23:27:45 EDT 2010
A related issue just came across the openwrt-devel list that I'll
echo here: Make sure you don't have LD_LIBRARY_PATH set.
-Alan
On Sat, Oct 23, 2010 at 11:21:54AM +0800, Xiangfu Liu wrote:
> Hi Ernest
>
> have you pass the "-j" to the "make"
>
> from the log seems the "make" is try to compile
> packages in parallel,
>
> I think there are some parallel build bug in [backfire]
> branch. I have saw there are some improve about parallel
> build in [master] branch.
>
> so just try "make"
>
> On 10/23/2010 04:19 AM, Ernest Kugel wrote:
> > Hi All,
> >
> >
> >
> > It’s been a while but I could really use some brains here. I cannot compile
> > the software image with the toolchain. uClibc fails to build. I went through
> > the log and Google and was unable to figure out WHY. The Error [2] for
> > uClibc is clear, but what caused it is not apparent (or I’m missing the
> > obvious).
> >
> >
> >
> > This was attempted with the instructions from
> > http://en.qi-hardware.com/wiki/Building_Software_Image
> >
> >
> >
> > …using the .config from Qi on a Slackware 13.1 32bit machine.
> >
> >
> >
> > I’ve zipped up the 20MB, V=99 log and attached it.
> >
> >
> >
> > It ends with the lines below.
> >
> >
> >
> > What am I missing???
> >
> >
> >
> > make V=99 -j1 clean-staging
> >
> > make[4]: Entering directory
> > `/home/erik/sandbox/ben/openwrt-xburst/feeds/qipackages/cxxtools'
> >
> > rm -f
> > /home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.cxxtools_installed
> >
> > make[4]: Leaving directory
> > `/home/erik/sandbox/ben/openwrt-xburst/feeds/qipackages/cxxtools'
> >
> > rm -rf /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools
> >
> > mkdir -p /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools/host
> > /home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/packages
> > /home/erik/sandbox/ben/openwrt-xburst/staging_dir/host/packages
> >
> > install -d -m0755
> > /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools/usr/include
> > /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools/usr/lib
> >
> > cp -fpR
> > /home/erik/sandbox/ben/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/cxxtools-1.99.5.20091227-1/ipkg-install/usr/include/cxxtools
> > /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools/usr/include/
> >
> > cp -fpR
> > /home/erik/sandbox/ben/openwrt-xburst/build_dir/target-mipsel_uClibc-0.9.32/cxxtools-1.99.5.20091227-1/ipkg-install/usr/lib/libcxxtools.{a,so*,la}
> > /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools/usr/lib/
> >
> > find /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools -name '*.la' |
> > xargs -r /home/erik/sandbox/ben/openwrt-xburst/staging_dir/host/bin/sed -i
> > -e "s,\(^libdir='\|
> > \|-L\|^dependency_libs='\)/usr/lib,\1/home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib,g"
> > -e
> > "s,/home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/usr/lib/\(libstdc++\|libsupc++\).la,/home/erik/sandbox/ben/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.32/usr/lib/\
> > 1.la,g"
> >
> > if [ -d /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools ]; then (cd
> > /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools; find ./ >
> > /home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/packages/cxxtools.list);
> > cp -fpR /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools/*
> > /home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/;
> > fi
> >
> > rm -rf /home/erik/sandbox/ben/openwrt-xburst/tmp/stage-cxxtools
> >
> > touch
> > /home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.cxxtools_installed
> >
> > make[3]: Leaving directory
> > `/home/erik/sandbox/ben/openwrt-xburst/feeds/qipackages/cxxtools'
> >
> > make[2]: Leaving directory `/home/erik/sandbox/ben/openwrt-xburst'
> >
> > make[1]: ***
> > [/home/erik/sandbox/ben/openwrt-xburst/staging_dir/target-mipsel_uClibc-0.9.32/stamp/.package_compile]
> > Error 2
> >
> > make[1]: Leaving directory `/home/erik/sandbox/ben/openwrt-xburst'
> >
> > make: *** [world] Error 2
> >
>
>
> --
> Best Regards
> Xiangfu Liu
> http://www.nanonote.cc
>
> _______________________________________________
> Qi Hardware Discussion List
> Mail to list (members only): discussion at lists.en.qi-hardware.com
> Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion
--
.i ko djuno fi le do sevzi
More information about the discussion
mailing list