[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[mapache@debian.org: Kernel 2.6.16-rc1 does not build (patch)]



This needs to be investigated for 2.6.16-rc tree, need to look at this,
sending here so i don't forget.

Friendly,

Sven Luther
----- Forwarded message from Eduardo Trápani <mapache@debian.org> -----

Message-ID: <43CE008B.7080900@debian.org>
Date: Wed, 18 Jan 2006 10:47:07 +0200
From: Eduardo Trápani <mapache@debian.org>
To: debian-powerpc@lists.debian.org
Subject: Kernel 2.6.16-rc1 does not build (patch)

I've tried to build 2.6.16-rc1, but I get the following error:

CC      arch/powerpc/kernel/rtas.o
arch/powerpc/kernel/rtas.c: In function 'rtas_percpu_suspend_me':
arch/powerpc/kernel/rtas.c:582: warning: implicit declaration of function 
'plpar_hcall_norets'
arch/powerpc/kernel/rtas.c:582: error: 'H_JOIN' undeclared (first use in 
this function)
arch/powerpc/kernel/rtas.c:582: error: (Each undeclared identifier is 
reported only once
arch/powerpc/kernel/rtas.c:582: error: for each function it appears in.)
arch/powerpc/kernel/rtas.c:584: error: 'H_Success' undeclared (first use in 
this function)
arch/powerpc/kernel/rtas.c:588: error: 'H_Continue' undeclared (first use in 
this function)
arch/powerpc/kernel/rtas.c: In function 'rtas_ibm_suspend_me':
arch/powerpc/kernel/rtas.c:628: error: 'H_PROD' undeclared (first use in 
this function)



The patch:

I added
	#include <asm/hvcall.h>

to
	./arch/powerpc/kernel/rtas.c

and now it's building (it will take some more time).  Is that modification 
alright?  I only looked for H_JOIN and include the file that had it, but I'm 
not sure it that's the way to go.

Eduardo.


-- 
To UNSUBSCRIBE, email to debian-powerpc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

---------------------------------------------------------------------------------------
Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
Aucun virus connu a ce jour par nos services n'a ete detecte.




----- End forwarded message -----



Reply to: