Mailinglist Archive: opensuse (1185 mails)

< Previous Next >
Re: [opensuse] Kernel 2.6.33 Fails to Compile - ifenslave.c
  • From: Pete Eby <relative.prime@xxxxxxxxx>
  • Date: Fri, 14 May 2010 09:15:33 -0400
  • Message-id: <AANLkTinbZdAtceLs__O2Y8VR3pObfMXfHMD0wGAXVWGw@xxxxxxxxxxxxxx>
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
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups