[Buildroot] New Buildroot install setup issues

H Hartley Sweeten hartleys at visionengravers.com
Thu Feb 24 23:34:31 UTC 2011


On Thursday, February 24, 2011 10:58 AM, Yann E. MORIN wrote:
> On Thursday 24 February 2011 18:37:57 H Hartley Sweeten wrote:
>> The system has a fresh install of Fedora 14 on it.  I cloned a new copy of
>> Buildroot last night then did a make menuconfig and setup everything like
>> my current system.  The problem occurs when setting up the external-toolchain.
>> 
>> mkdir -p /export/kdrive/mvr/mx35/devel/buildroot/output/external-toolchain
>> bzcat /export/kdrive/mvr/mx35/devel/buildroot/dl/arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 | tar --strip-components=1 -C /export/kdrive/mvr/mx35/devel/buildroot/output/external-toolchain  -xf -
>> /din/sh: /export/kdrive/mvr/mx35/devel/buildroot/output/external-toolchain/bin/arm-none-linux-gnueabi-gcc: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
>> readlink: missing operand
>> Try `readlink --help` for more information.
>> /bin/sh: line 5: @echo: command not found
>> make: *** [/export/kdrive/mvr/mx35/devel/buildroot/output/stamps/ext-toolchain-installed] Error 1
>
> Your machine is a pure 64-bit system. The CodeSourcery toolchains are meant
> to run on 32-bit machines. So what the error actually means is that it can't
> execute the binaries.
>
> To fix it, you'll have to install the ia32 libraries for your distribution
> (in Debian, they are bundled in packages whose names start with ia32-libs,
> Fedora should have something similar).

Thanks, that got me farther along.

Now I have an issue with the host-mtd build:

/usr/bin/ld: cannot find -llzo2

I assumed it was a similar problem so I installed the lzo-devel.i686 package.
Now I get:

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../liblzo2.so when searching for -llzo2
/usr/bin/ld: skipping incompatible /usr/lib/liblzo2.so when searching for -llzo2
/usr/bin/ld: cannot find -llzo2

Any ideas on this one?

Regards,
Hartley


More information about the buildroot mailing list