coldfire 4.2.153 tool chain uClinux Kernel build issue
Rick Walsh
rwalsh at lockinspection.co.uk
Fri Jul 4 08:03:20 UTC 2008
Hi
I am very green to uClinux building and I am having trouble with the code
sourcery toochain. When I try to build the uClinux kernel I get the
following error with the zlib library:-
which: no m68k-uclinux-20060615-gcc in
(/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/rick/bi
n:/home/rick/CodeSourcery/Sourcery_G++_Lite/bin:/home/rick/Programming/uCLin
ux/uClinux-dist/tools)
make[2]: Entering directory
`/home/rick/Programming/uCLinux/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory `/home/rick/Programming/uCLinux/uClinux-dist/lib'
[ -z "zlib" ] ||\
make -j1 zlib || exit $?
which: no m68k-uclinux-20060615-gcc in
(/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/rick/bi
n:/home/rick/CodeSourcery/Sourcery_G++_Lite/bin:/home/rick/Programming/uCLin
ux/uClinux-dist/tools)
make[2]: Entering directory
`/home/rick/Programming/uCLinux/uClinux-dist/lib'
[ ! -d "zlib" ] || ( touch zlib/.sgbuilt_lib && make -j1 -C zlib ) || exit
$?
make[3]: Entering directory
`/home/rick/Programming/uCLinux/uClinux-dist/lib/zlib'
ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -O2 -g
-fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED
-msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -fPIC -c -o crc32.o
crc32.c
In file included from crc32.c:36:
/home/rick/Programming/uCLinux/uClinux-dist/uClibc/include/limits.h:124:26:
error: limits.h: No such file or directory
make[3]: *** [crc32.o] Error 1
make[3]: Leaving directory
`/home/rick/Programming/uCLinux/uClinux-dist/lib/zlib'
make[2]: *** [zlib] Error 2
make[2]: Leaving directory `/home/rick/Programming/uCLinux/uClinux-dist/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rick/Programming/uCLinux/uClinux-dist/lib'
make: *** [subdirs] Error 1
The distro is uclinux-distr-test-20080627 and I have fully built the kernel
with a different tool chain on a separate host machine and had it running
boa on a M5329EVB target, with this other tool chain I tried to build a
simple hello world which did not run. I built the same simple hello world
code with code sourcery tool chain and it worked. This is why i want to
build the kernel with this tool chain.
I have parsed through to the file and it does exist but it is an include of
itself where the problem is:-
____________________________________________________________________________
_____________
.
.
.
/* Get the compiler’s limits.h, which defines almost all the ISO constants.
We put this #include_next outside the double inclusion check because
It should be possible to include this file more than once and still get
The definitions from gcc’s header. */
#if defined __GNUC__ && !defined _GCC_LIMITS_H_
/* ‘_GCC_LIMITS_H_’ is what GCC’s file defines. */
# include_next <limits.h>
.
.
.
____________________________________________________________________________
_____________
>From the comments it looks like a fudge which may have been corrected in the
code sourcery tool chain, if this was the case the world and his wife would
be complaining and I have searched the web and found nothing on the subject.
Could someone please direct me to my simple mistake that I have missed.
Regards
Rick
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.526 / Virus Database: 270.4.4/1532 - Release Date: 03/07/2008
08:32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20080704/6d8c1014/attachment.html>
More information about the coldfire-gnu-discuss
mailing list