Skip to contentSkip to conversation

Bug report: CELL on linux-2.6.19-git7 won't build,

PATCH Linas Vepstas 3 participants 4 messages Dec 6, 2006 – Dec 7, 2006

lore
Share & tools
lore
#0 lore raw

Hi Arnd, Geoff,

At this time, linux-2.6.19-git7 won't build when CELL is enabled, with the error

CHECK include/asm/spu_info.h
/kernels/kernel.org/linux-2.6.19-git7/usr/include/asm/spu_info.h requires asm/spu.h, which does not exist in exported headers

So I modified include/asm-powerpc/Kbuild only to get

CHECK include/asm/spu.h
/kernels/kernel.org/linux-2.6.19-git7/usr/include/asm/spu.h requires linux/workqueue.h, which does not exist in exported headers

So I stripped everything out. I'm not sure what the correct fix is suposed to be.

--linas

----

 include/asm-powerpc/Kbuild |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/asm-powerpc/Kbuild +2 -1
Index: linux-2.6.19-git7/include/asm-powerpc/Kbuild
===================================================================
@@ -17,7 +17,8 @@ header-y += ipc.h
 header-y += poll.h
 header-y += shmparam.h
 header-y += sockios.h
-header-y += spu_info.h
+# header-y += spu_info.h
+# header-y += spu.h
 header-y += ucontext.h
 header-y += ioctl.h
 header-y += linkage.h
#1 lore raw
Quoted 6 lines · Linas Vepstas

Hi Arnd, Geoff,

At this time, linux-2.6.19-git7 won't build when CELL is enabled, with the error

CHECK include/asm/spu_info.h
/kernels/kernel.org/linux-2.6.19-git7/usr/include/asm/spu_info.h requires asm/spu.h, which does not exist in exported headers

Linas,

Yes, that's with CONFIG_HEADERS_CHECK=y. Arnd sent that fix out yesterday. Please see:

http://ozlabs.org/pipermail/linuxppc-dev/2006-December/028829.html

-Geoff

#2 lore raw
Quoted 3 lines · Geoff Levand

Linas,

Yes, that's with CONFIG_HEADERS_CHECK=y.

I have to turn that off. Its annoying, actually.

Quoted 2 lines

Arnd sent that fix
out yesterday. Please see:

Ahh! Indeed, ... skimmed my email too fast.
Thanks!

--linas

#3 lore raw
Quoted 3 lines · Linas Vepstas
Quoted 1 line

Yes, that's with CONFIG_HEADERS_CHECK=y.

I have to turn that off. Its annoying, actually.

That means it's doing its job :)

The fact that this bug made it all the way into Linus' tree without getting noticed means that too few people are using it, though.

Signature · 1 line
dwmw2