Rookie mistake: I had set the CROSS_COMPILE variable incorrectly in
the Makefile and it was using the ar, as, ld, and other tools from
the host rather than the target. Only gcc was set correctly.
Technologic Systems did an excellent job! The kernel compiled
without a glitch.
Regards,
Eduardo
--- In "eduardo_mendiola" <>
wrote:
>
> I'm trying to rebuild the kernel with the source included in the
> Linux-ARM development kit (linux24-ts9-ksrc.tar). I tested on a
> Debian Sarge host and Cygwin and in both, I get the following
error
> while running 'make vmlinux':
>
> $ make vmlinux
> . scripts/mkversion > .tmpversion
> /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/bin/arm-
> unknown-linux
> -gnu-gcc -D__KERNEL__ -I/usr/src/linux24/include -Wall -Wstrict-
> prototypes -Wno-
> trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common -
> pipe -mapcs-32
> -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi -msoft-float -
> Uarm -DUTS_M
> ACHINE='"arm"' -DKBUILD_BASENAME=version -c -o init/version.o
> init/version.c
> *** 2.4 kernels no longer build correctly with old versions of
> binutils.
> *** Please upgrade your binutils to 2.9.5.
> make: *** [checkbin] Error 1
>
>
> As you can see, I'm testing with gcc 3.3.2 and glibc 2.3.2
> crosstools. readelf -v returns 2.16.91 20050610 on cygwin.
>
> Can you suggest how to retrieve binutils version? Have any of you
> run into a similar problem?
>
> Thanks, Eduardo
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
You can search right from your browser? It's easy and it's free. See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|