|
From: Stefaan V. D. <st...@3-...> - 2010-08-29 19:04:54
|
I'm trying to setup the new uBering4 (alpha) on ubuntu 10.04 LTS, but having some difficulties. I checked out cvs, modified make/MasterInclude.mk to point to the right gcc and tried to run ./buildtool.pl build buildenv. This gave me an error about an unknown flag or something. Removing "-fno-stack-protector" from source/buildenv/buildtool.mk solved this problem. But now I'm stuck at this error : # # Hack things to use the correct shared lib loader # (cd /home/stefaan/leaf/src/bering-uclibc4/buildtool/source/buildenv/gcc-3.3.3; set -e; export LIST=`grep -lr -- "-dynamic-linker.*\.so[\.0-9]*" *`;\ if [ -n "$LIST" ] ; then \ perl -i -p -e "s,-dynamic-linker.*\.so[\.0-9]*},\ -dynamic-linker /lib/ld-uClibc.so.0},;" $LIST; fi); export: 3: gcc/FSFChangeLog.11: bad variable name make: *** [/home/stefaan/leaf/src/bering-uclibc4/buildtool/source/buildenv/gcc-3.3.3/.gcc_build_hacks] Fout 2 make: Map '/home/stefaan/leaf/src/bering-uclibc4/buildtool/source/buildenv' wordt verlaten My guess is, it has something todo with the grep instruction, but I'm not sure how to solve this. All help is welcome. Regards, Stefaan |