2002-11-15 17:40:18

by Helge Hafting

[permalink] [raw]
Subject: 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 -o
net/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


2002-11-16 05:50:28

by George Anzinger

[permalink] [raw]
Subject: Re: 2.5.47-bk4 compile failure, due to crypto

The QUICK fix is to turn the offending function into a
"#define"...

-g

Helge Hafting wrote:
>
> 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 -o
> net/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
> -
> 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/

--
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