On Wed Feb 23, 2005 at 23:49:43 -0600, Jayesh Salvi wrote:
I recently installed Fedora Core 3 and tried to compile the grub package for L4 using gcc 3.4.2, I got some trivial compilation errors. Upon trying the compilation on different machine with gcc 3.1 I found some code following deprecated practices that escapes as warnings in < 3.4.2 but throws compilation errors with 3.4.2. Here are three such case I found in the grub package. If this is indeed the case it might be helpful to make the necessary changes to the repository code.
This version of grub is a bit old (to put it mildly), you may want to try my patch from http://os.inf.tu-dresden.de/~adam/grub/0.96/grub-0.96-os.1.diff.gz which compiles with 3.4. This version has some features added that I find useful and works for me.
I am not sure what is wrong with the linking of memcpy function. Please advise.
gcc generates calls to memcpy (if not told otherwise) when e.g. copying structs (e.g. *x = *y), so it has to be there. In this version of grub it's not there.
Adam