On Tuesday 26 April 2005 16:12, Benjamin Cox wrote:
> Hi.
>
> I'm having trouble compiling Linux (2.4.27) on my machine.
>
> I'm using the source: linux-2.4.27.tar.bz2 that I got from kernel.org
> and uml-patch-2.4.27-1.bz2
>
> After I applied the patch I compiled it using the following commands and
> stuck with the defaults with the configuration:
>
> #make xconfig ARCH=um
> #make linux ARCH=um
>
> I get a large number of errors that start with:
>
> sched.c:213: error: conflicting types for 'reschedule_idle'
> sched.c:210: error: previous declaration of 'reschedule_idle' was here
> sched.c:213: error: conflicting types for 'reschedule_idle'
> sched.c:210: error: previous declaration of 'reschedule_idle' was here
> sched.c:371: error: conflicting types for 'wake_up_process'
>
> I searched the archives of the mailing list and found a post from another
> person who had the exact problem:
> http://sourceforge.net/mailarchive/message.php?msg_id=9990789
>
> In a follow-up message he said that he was mailed the solution off-list but
> eluded that the solution was trivial by setting the gcc version correctly.
Sol. no. 1 is to use GCC 3.3, but there's the other way.
> I'm using gcc version 3.4.3 20050227 (Red Hat 3.4.3-22.fc3).
>
> Any assistance would be much appreciated.
>
> Thanks in advance,
> Ben
Replace the kernel version on which you apply the patch with 2.4.28. Then it 
will work.

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Skype user "PaoloGiarrusso"
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to