On Sat, 21 Jul 2007 17:43:56 +0100 Colin Tuckley <colin@tuckley.org> wrote: > You say it's a bug in the package, by this you mean the package I'm trying > to build? I'd say yes. linux-kernel-headers does not exist in Debian unstable anymore, it is provided by linux-libc-dev. > So the way forwards would appear to be to work out the function of linkage.h > and find what now gives the equivalent result. All that file contains is: /* All asm/ files are generated and point to the corresponding * file in asm-x86_64 or asm-i386. */ #ifdef __i386__ # include <asm-i386/linkage.h> #else # include <asm-x86_64/linkage.h> #endif and, in turn: #ifndef __ASM_LINKAGE_H #define __ASM_LINKAGE_H #define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0))) #define FASTCALL(x) x __attribute__((regparm(3))) #define fastcall __attribute__((regparm(3))) #define prevent_tail_call(ret) __asm__ ("" : "=r" (ret) : "0" (ret)) #ifdef CONFIG_X86_ALIGNMENT_16 #define __ALIGN .align 16,0x90 #define __ALIGN_STR ".align 16,0x90" #endif #endif $ deb-gview http://ftp.uk.debian.org/debian/pool/main/l/linux-kernel-headers/linux-kernel-headers_2.6.18-7_amd64.deb & I would see what happens when that #include is simply commented out. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
pgpClcDz6X2wl.pgp
Description: PGP signature