Gentoo Archives: gentoo-embedded

From: thomas.cooksey@××.com
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] crossdev failing on uclibc
Date: Wed, 06 Dec 2006 10:12:17
Message-Id: 0536FC9B908BEC4597EE721BE6A353891A100974@i2km07-ukbr.domain1.systemhost.net
1 I'm trying to use crossdev to generate a toolchain for an
2 arm-softfloat-linux-uclibc target. I'm using the following versions:
3
4 binutils 2.17
5 gcc 3.4.5
6 kernel 2.6.18
7 libc 0.9.28-r1
8
9 The command I'm using is:
10
11 USE="-*" UCLIBC_CPU=ARM_XSCALE crossdev --binutils 2.17 --gcc 3.4.5
12 --kernel 2.6.18 --libc 0.9.28-r1 --target arm-softfloat-linux-uclibc
13
14 The build fails on uclibc at the point it runs the fix_includes.sh
15 script, which fails saying "Unable to determine version for kernel
16 headers". I've looked at the version.h in the
17 /usr/arm-softfloat-linux-uclibc/usr/include/linux directory and it is
18 indeed missing the UTS_RELEASE define. If you edit version.h and add
19 "#define UST_RELEASE "2.6.18foo"", the build runs through to the end
20 (although I've not had chance to test the binaries it outputs yet).
21
22 Editing the version.h file by hand feels like a bit of a bodge. Is there
23 a fix for this? E.g. by adding a use flag I don't know about?
24
25
26
27 Cheers,
28
29 Tom
30
31
32
33 --
34 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] crossdev failing on uclibc Christopher Friedt <cfriedt@××××××××××××××.com>
Re: [gentoo-embedded] crossdev failing on uclibc Mike Frysinger <vapier@g.o>