[Scratchbox-users] Using Foriegn Toolchain error
Jussi Hakala
jussi.hakala at movial.fi
Tue Jun 24 18:17:28 EEST 2008
Interesting error.
Try [1], and see if that solves your problem.
Regards,
Jussi
[1] sb-conf in HOST -F
E Robertson wrote:
> Hi All,
> I'm attempting to use a foreign toolchain and I seem to be stuck at
> building the auxiliary tools. I followed all the instructions so far,
> and unless I'm missing something, perhaps the script has a bug.
> Does anyone have a suggestion or an answer to this error? What is
> meant by preload library?
>
> Below is my configuration file for my toolchain as well as the command
> and error:
>
> [sbox-HOST: ~/sb-toolchain-extras] > make
> CONFIG=meta/alien-tc/ez-arm-gcc4.2.4.conf -C meta/alien-tc
> make: Entering directory `/home/erobertson/sb-toolchain-extras/meta/alien-tc'
> [===== NOW BUILDING: alien-tc-1 =====]
> install -d download
> [fetch] complete for alien-tc.
> ...
> ...
> [===== NOW BUILDING: gcc-4.2 =====]
> install -d download
> [fetch] complete for gcc.
> install -d cookies
> [checksum] complete for gcc.
> install -d work
> [extract] complete for gcc.
> install -d work/gcc-4.2
> [patch] complete for gcc.
> mkdir -p work/gcc-4.2/debian
> cp files/{copyright,rules} work/gcc-4.2/debian/
> m4 -DVERSION=4:4.2.4 -DCC_GCCVER=4.2.4 files/control.in \
> > work/gcc-4.2/debian/control
> m4 -DVERSION=4:4.2.4 -DCC_GCCVER=4.2.4 files/changelog.in \
> > work/gcc-4.2/debian/changelog
> 822-date: warning: This program is deprecated. Please use 'date -R' instead.
> chmod +x work/gcc-4.2/debian/rules
> mkdir -p cookies/. && date >> cookies/configure-packages
> [configure] complete for gcc.
> cd work/gcc-4.2 && env
> COMPILER_DIR=/scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29
> TARGET=arm-linux-uclibc VERSION=4.2.4
> SBOX_REDIRECT_BINARIES=/scratchbox/compilers/bin/gcc:/scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29/bin/arm-linux-gcc
> LIBC_FILES_LIBS="/scratchbox/compilers/arm-gcc4.2.4-uclibc0.9.29/arm-linux/lib
> /lib " dpkg-buildpackage -rfakeroot -b -uc
> dpkg-buildpackage: source package is gcc-4.2
> dpkg-buildpackage: source version is 4:4.2.4-sb1
> dpkg-buildpackage: source changed by Scratchbox Developers
> <scratchbox-devel at lists.scratchbox.org>
> dpkg-architecture: warning: Unknown gcc system type arm-linux-uclibc,
> falling back to default (native compilation)
> dpkg-architecture: warning: Unknown gcc system type arm-linux-uclibc,
> falling back to default (native compilation)
> dpkg-buildpackage: host architecture i386
> dpkg-buildpackage: source version without epoch 4.2.4-sb1
> dpkg-checkbuilddeps: Using Scratchbox tools to satisfy builddeps
> fakeroot debian/rules clean
> fakeroot: preload library not found, aborting.
> make[1]: *** [build-packages] Error 1
> make[1]: Leaving directory
> `/home/erobertson/sb-toolchain-extras/cc/gcc-3.4-debian'
> make: *** [dep-../../cc/gcc-3.4-debian] Error 2
> make: Leaving directory `/home/erobertson/sb-toolchain-extras/meta/alien-tc'
> [sbox-HOST: ~/sb-toolchain-extras] >
>
>
> Config file:
> COMPILER_NAME = arm-gcc4.2.4-uclibc0.9.29
> ALIEN_TC = yes
>
> COMPILER_PACKAGE = buildroot-toolchain-gcc4.2.4
> ARCH = arm
> SUB_ARCH = $(ARCH)
> VENDOR =
> #TOOLCHAIN_PREFIX_END = uclibc-
> TOOLCHAIN_PREFIX_END =
> TARGET_END = -uclibc
>
> HEADERS_DIR = $(COMPILER_DIR)/include
> #LINUX_HEADERS_SUBDIRS = linux asm asm-generic
> LINUX_HEADERS_VER = 2.6.25.6
>
> LIBC_FILES_BINS = $(COMPILER_DIR)/arm-linux/bin
> LIBC_FILES_LIBS = $(COMPILER_DIR)/arm-linux/lib $(COMPILER_DIR)/lib
>
> BINUTILS_FULLVER = 2.18
>
> CC_VER = 4.2
> CC_GCCVER = 4.2.4
> CC_FULLVER = 4:$(CC_GCCVER)
> CC_DEBIAN_DIR = gcc-3.4-debian
>
> CHECKSUM_FILE = ../../$(CONFIG:.conf=.checksums)
>
>
>
>
> Thanks.
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users at lists.scratchbox.org
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
More information about the Scratchbox-users
mailing list