Jeff Dike wrote:
> It's hard to tell you how to fix a compilation error when I can't read it.
> 

Sorry for that. I may have sent it in unicode. Here it is again:

arch/um/os-Linux/process.c:144: error: expected declaration 
specifiers or ‘...’ before ‘getpid’
arch/um/os-Linux/process.c:146: warning: return type defaults to ‘int’
arch/um/os-Linux/process.c: In function ‘_syscall0’:
arch/um/os-Linux/process.c:147: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:152: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:158: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:173: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:183: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:197: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:207: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:242: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:254: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:274: error: expected ‘=’, ‘,’, ‘;’, 
‘asm’ or ‘__attribute__’ before ‘{’ token
arch/um/os-Linux/process.c:144: error: parameter name omitted
arch/um/os-Linux/process.c:284: error: expected ‘{’ at end of input
make[1]: *** [arch/um/os-Linux/process.o] Error 1
make: *** [arch/um/os-Linux] Error 2


> However, this might be fixed by a syscallX -> syscall patch that went into
> 2.6.19.
> 

I tried to compile 2.6.19 and a different error message appears:

/home/uml/linux-2.6.19/arch/um/os-Linux/skas/process.c: In 
function ‘copy_context_skas0’:
/home/uml/linux-2.6.19/arch/um/os-Linux/skas/process.c:342: error: 
‘PAGE_SHIFT’ undeclared (first use in this function)
/home/uml/linux-2.6.19/arch/um/os-Linux/skas/process.c:342: error: 
(Each undeclared identifier is reported only once
/home/uml/linux-2.6.19/arch/um/os-Linux/skas/process.c:342: error: 
for each function it appears in.)
/home/uml/linux-2.6.19/arch/um/os-Linux/skas/process.c:538:2: 
warning: #warning need cpu pid in switch_mm_skas
make[3]: *** [arch/um/os-Linux/skas/process.o] Error 1
make[2]: *** [arch/um/os-Linux/skas] Error 2
make[1]: *** [arch/um/os-Linux] Error 2
make: *** [_all] Error 2


What do you make of all this?


Thanks,
Constantine

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to