On 05/14/2010 04:15 PM, Pete Eby wrote:
Maybe you should try a newer version, perhaps a git one, with the same config(s), to see if problems persist.
Hi there,
I tried again with the latest kernel from kernel.org, 2.6.34-rc7 - three days old:
wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.34-rc7.tar.bz2 tar jxvf linux-2.6.34-rc7.tar.bz2 cd linux-2.6.34-rc7/ cp /boot/config-2.6.31.12-0.2-desktop .config make menuconfig make rpm
Results in the same error as the 2.6.33 builds:
HOSTCC Documentation/networking/timestamping/timestamping HOSTCC Documentation/networking/ifenslave In file included from Documentation/networking/ifenslave.c:162: /usr/include/net/if_arp.h:61: error: redefinition of ‘struct arphdr’ /usr/include/net/if_arp.h:145: error: redefinition of ‘struct arpreq’ /usr/include/net/if_arp.h:154: error: redefinition of ‘struct arpreq_old’ make[4]: *** [Documentation/networking/ifenslave] Error 1 make[3]: *** [Documentation/networking] Error 2 make[2]: *** [vmlinux] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.v5oyiZ (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.v5oyiZ (%build)
I could try putting include guards around these, but that just seems like a lot of unecessary work - the kernel tree should build without such modification needed.
So far, I am unable to build any newer kernel on Suse 11.2 and would love to know what the root cause of this is, and any other suggestions would be appreciated.
Cheers, Pete
If you compile the kernel the "traditional" way, as I posted previously, does it fail with the same error? If so, post your kernel .config file (attach it) so I can test it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org