
On Wednesday 30 April 2008 09:49:20 Wolfgang Denk wrote:
In message 200804300936.47258.matthias.fuchs@esd-electronics.com you
wrote:
I noticed some warnings when compiling recent U-Boot source for some 4xx bo> ards with gcc 4.0.0 or 4.2.2. Perhaps somebody has a clue on how to get rid of t> hese:
That's your host GCC. WHich distro is this?
Yes you are right.
It's Debian Etch.
matthias@debby:~$ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21
Matthias
I didn't see such warnigns yet...
gcc -g -Wall -pedantic -idirafter /data/home/matthias/git/u-boot/u-boot/inc> lude -idirafter /data/home/matthias/git/u-boot/u-boot/include2 -idirafter /> data/home/matthias/git/u-boot/u-boot/include -DTEXT_BASE=0xFFFA0000 -DUSE> _HOSTCC -O -c -o md5.o md5.c md5.c: In function âMD5Updateâ: md5.c:95: warning: implicit declaration of function âmemmoveâ> md5.c:95: warning: incompatible implicit declaration of built-in function
âmemmoveâ md5.c:98: warning: incompatible implicit declaration of
built-in function > âmemmoveâ md5.c:107: warning: incompatible implicit declaration of built-in function > âmemmoveâ md5.c:116: warning: incompatible implicit declaration of built-in function > âmemmoveâ
I smell some header file incompatibitilies - eventually this is a distro issue.
Best regards,
Wolfgang Denk