[U-Boot-Users] Latest U-Boot MD5 compile error??

Russell McGuire rmcguire at videopresence.com
Wed May 28 23:29:50 CEST 2008


All,

Just pulled the latest GIT down today <1.3.3+>, merged with my current code.

<Note, last I pulled was back at 1.3.1>.

Anyway, all is well until the newish MD5 code attempts to compile then I get
two different types of errors. <See Log Below>

Is this an artificat of an uncomplete merge perhaps? 
Dependencies on a certain level of kernel that needs to be sitting in the
ppc_6xx/usr/src/ directory? Or perhaps is FC5 to old to now correctly
compile the latest U-boot?
To old of an ELDK? <I am using ELDK 4.1>

----Log----

In file included from md5.c:32:
/usr/include/linux/types.h:19: error: conflicting types for '__kernel_dev_t'
/usr/include/asm/posix_types.h:10: error: previous declaration of
'__kernel_dev_t' was here
/usr/include/linux/types.h:31: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'timer_t'
/usr/include/linux/types.h:32: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'clockid_t'
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'
md5.c: In function 'MD5Final':
md5.c:143: warning: implicit declaration of function 'memset'
md5.c:143: warning: incompatible implicit declaration of built-in function
'memset'
md5.c:151: warning: incompatible implicit declaration of built-in function
'memset'
md5.c:161: warning: incompatible implicit declaration of built-in function
'memmove'
md5.c:162: warning: incompatible implicit declaration of built-in function
'memset'
make[1]: *** [md5.o] Error 1
make[1]: Leaving directory `/usr/local/eldk/ppc_6xx/usr/src/u-boot/tools'
make: *** [tools] Error 2

--End Log---





More information about the U-Boot mailing list