On Friday 10 March 2006 22:11, sean yang wrote:
> I downloaded a 2.4.21 kernel and the corresponding patch, when I try to
> build the UML, I met the following problem.

I have never seen such an error, likely it was born from using such an old UML 
with newer glibc; however, there's no reason normally to use such a old UML. 
2.4.32 with the patch on uml.nagafix.co.uk should do the job; if you need to 
use a 2.4.21 kernel, you'll need to fix the problems on your own (start 
however from using a later kernel patch, in this case).

Note: adding the appropriate header inclusion (#include <errno.h>) may help 
fixing this particular error, however you'll likely to meet other ones. For 
instance such an old kernel won't work on a 2.6 host.

Bye

> .....(lots of output here discarded, the following is error message)
> make[4]: Entering directory
> `/export/home/uml/linux-2.4.21/arch/um/kernel/tt/ptproxy'
[...]
> gcc   -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__
> -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE
> -I/export/home/uml/linux-2.4.21/arch/um/include
> -I/export/home/uml/linux-2.4.21/arch/um/kernel/tt/include -D_GNU_SOURCE -c
> -o sysdep.o sysdep.c
> sysdep.c: In function `syscall_cancel':
> sysdep.c:40: `errno' undeclared (first use in this function)
> sysdep.c:40: (Each undeclared identifier is reported only once
> sysdep.c:40: for each function it appears in.)
> sysdep.c: In function `syscall_pause':
> sysdep.c:56: `errno' undeclared (first use in this function)
> make[4]: *** [sysdep.o] Error 1

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

                
___________________________________ 
Yahoo! Mail - gratis per te: 1GB, Agenda, Rubrica, Antispam e Antivirus 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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