2.5.47-bk4 compile failure, due to crypto
I get this, even if I de-selects all the crypto stuff. Helge Hafting
make -f scripts/Makefile.build obj=net/core
gcc -Wp,-MD,net/core/.skbuff.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include
-DKBUILD_BASENAME=skbuff -DKBUILD_MODNAME=skbuff -c -onet/core/skbuff.o net/core/skbuff.c
In file included from include/net/xfrm.h:6,
from net/core/skbuff.c:61:
include/linux/crypto.h: In function `crypto_tfm_alg_modname':include/linux/crypto.h:202: dereferencing pointer to incomplete type include/linux/crypto.h:205: warning: control reaches end of non-void function
make[2]: *** [net/core/skbuff.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2
The QUICK fix is to turn the offending function into a "#define"...
-g
Quoted 25 lines · Helge Hafting
I get this, even if I de-selects all the crypto stuff. Helge Hafting
make -f
scripts/Makefile.buildobj=net/core
gcc -Wp,-MD,net/core/.skbuff.o.d -D__KERNEL__ -Iinclude -Wall(quoted diff) +0
-4-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iarch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=skbuff -DKBUILD_MODNAME=skbuff -c -o
net/core/skbuff.onet/core/skbuff.c
In file included frominclude/net/xfrm.h:6,from net/core/skbuff.c:61:
include/linux/crypto.h: In function `crypto_tfm_alg_modname':include/linux/crypto.h:202: dereferencing pointer to incomplete typeinclude/linux/crypto.h:205: warning: control reaches end of non-void function
make[2]: *** [net/core/skbuff.o] Error 1
make[1]: *** [net/core] Error 2
make: *** [net] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 5 lines
George Anzinger [email protected] High-res-timers: http://sourceforge.net/projects/high-res-timers/ Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml