Hi,
I posted this on the users list but perhaps I got the wrong list.
I've been trying to resolve this all weekend but so far no success,
still stuck at the same place.
I read some online docs that talked about known issues but none of
those apply to my case.
I'm using buildroot toolchain but this weekend aI also tried
codesourcery toolchain but that didn't help.

I did notice that their was no library when I setup a HOST target but
I assumes it was using the host libraries.
But, I expected the lib to be a link, that wasn't there and I was
unable to install (using apt-get) any libraries citing i386 compiler
issues.
Does anyone know how to solve this? I will certainly appreciate it.

On Fri, Jun 20, 2008 at 4:53 PM, E Robertson <[EMAIL PROTECTED]> 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
> <[email protected]>
> 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-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to