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

[suse-security] Error compiling kernel with exec-shield patch



Hello!

I know that this is not the very right but also not the very wrong place to 
ask... but it's the fastest one for me for now. :-)

david@alpha6:~/> uname -a
Linux alpha6 2.6.14 #1 Sun Nov 27 18:09:29 EET 2005 x86_64 GNU/Linux

When I try to compile the kernel source 2.6.15.1 on an AMD Opteron in 64 Bit 
mode with applied exec-shield-nx-2.6.15.patch I get the error:

--- 8< ---
  CC      arch/x86_64/ia32/ia32_binfmt.o
arch/x86_64/ia32/ia32_binfmt.c:391: error: conflicting types for 'elf32_map'
arch/x86_64/ia32/../../../fs/binfmt_elf.c:50: error: previous declaration of 
'elf32_map' was here
make[2]: *** [arch/x86_64/ia32/ia32_binfmt.o] Error 1
make[1]: *** [arch/x86_64/ia32] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.6.15.1_exec-shield'
make: *** [stamp-build] Error 2
--- 8< ---

Applying the patch with
cd /usr/src/linux
patch -p1 < exec-shield-nx-2.6.15.patch > patch.out 2> patch.error
works fine according to patch.out. Every file and hook is handled.

Can anybody give me a hint how I can solve the problem or where to look or ask  
further?


Thanks in advance,

-- 
Eat, sleep and go running,
David Hücking.

Encrypted eMail welcome! 
GnuPG/ PGP-Key: 0x57809216. Fingerprint: 
3DF2 CBE0 DFAA 4164 02C2  4E2A E005 8DF7 5780 9216

-- 
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here