On Tue, Dec 06, 2005 at 03:50:02PM +0100, Max Vozeler wrote: > Hi kernel team, > > I'm trying to build an external module on powerpc. Builds against > -powerpc and -powerpc-smp headers are working fine, but they fail > for -ppc64 with an error about missing arch/ppc/Makefile: > > http://experimental.ftbfs.de/fetch.php?&pkg=loop-aes-modules&ver=3.1b%2B6%2B2&arch=powerpc&stamp=1133817465&file=log&as=raw > ... > cd /usr/src/linux-headers-2.6.14-2-powerpc64 && make > M=/build/buildd/loop-aes-modules-3.1b+6+2/modules/loop-aes/loop-AES-v3.1b/tmp-d-kbuild > modules > make[3]: Entering directory `/usr/src/linux-headers-2.6.14-2-powerpc64' > Makefile:530: /usr/src/linux-headers-2.6.14-2-powerpc64/arch/ppc/Makefile: > No such file or directory > > (This is using linux-headers-2.6.14-2-ppc64 2.6.14-4) > > I've seen a lot of resolved bugs and changes recently with regard > to powerpc headers, so I'm unsure where exactly to look for the > problem. Please advice: Is this something my module does wrong, or > rather a problem in -ppc64 headers?
You need to set ARCH=ppc64 to build the powerpc64 flavour. Friendly, Sven Luther -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]