Skip to contentSkip to conversation

2.6.10-bk3 seems to break CIFS

DISCUSSION Ikke 1 participant 1 message Dec 30, 2004

lore
Share & tools
lore

Ikke

author
#0 lore raw

When compiling a 2.6.10-bk3 based kernel (with some more patches, none of them touching CIFS or ipv6 AFAIK), CIFS fails to build due to some ipv6 error, although I haven't got IPv6 selected in my configuration.

Error message:
gcc -Wp,-MD,fs/cifs/.connect.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe
-msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -mtune=pentium4 -Iinclude/asm-i386/mach-default
-Wdeclaration-after-statement -DMODULE -DKBUILD_BASENAME=connect
-DKBUILD_MODNAME=cifs -c -o fs/cifs/connect.o fs/cifs/connect.c In file included from fs/cifs/connect.c:27:
include/linux/ipv6.h: In function `inet6_sk':
include/linux/ipv6.h:278: error: structure has no member named `pinet6' make[2]: *** [fs/cifs/connect.o] Error 1
make[1]: *** [fs/cifs] Error 2
make: *** [fs] Error 2

Using GCC 3.4.3, Gentoo system.

When looking at the -bk3 diff [1] the pinet6 field seems to be removed.

I did not try to revert this patch and compile it, will try later.

Regards, Ikke

[1] http://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv2.6%2Fsnapshots%2Fpatch-2.6.10-bk3.bz2;z=481