
All,
Possible fix, since I am a newbie at messing with somebody elses code can the owner of the MD5 code verify this problem / fix??
I found that if I did the following with changing some include files, this will now compile on my older FC5 system. <Oddly I tried the newer ELDK42, etc.. not sure why this is broke on my box, but it was not the ELDK install or the source code being corrupted>.
MD5 Compile Fix:
1) In file 'include/u-boot/md5.h' change the #include <linux/types.h> --> #include <asm/types.h>
2) In file 'tools/md5.c' remove the reference to #include <linux/types.h>
This corrects the problems on my system and removes all compile / errors and warning about implicit declarations for the string.h functions as well as the double declarations for __kernel_dev_t
-Russ
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Wednesday, May 28, 2008 2:56 PM To: rmcguire@videopresence.com Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Latest U-Boot MD5 compile error??
In message F9448BAF273D479DB7935923C812A0BB@absolutdaddy you wrote:
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?
Probably. Try building for some other boards...
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>
Just tried to build a few boards on a FC5 host. A few warnings about including /usr/include/asm/byteorder.h, but it builds fine.
Best regards,
Wolfgang Denk