红星照耀中国 发表于 2004-5-11 23:27:32

Redhat AS3-- error information

can anyone here find what had happened to my compiling?

after 'make bzImage',

gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-4.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common-Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=pentium4   -nostdinc -iwithprefix include -DKBUILD_BASENAME=xfrm_algo-c -o xfrm_algo.o xfrm_algo.c
In file included from xfrm_algo.c:16:
/usr/src/linux-2.4.21-4.EL/include/net/ah.h: In function `ah_hmac_digest':
/usr/src/linux-2.4.21-4.EL/include/net/ah.h:26: warning: implicit declaration of function `crypto_hmac_init'
/usr/src/linux-2.4.21-4.EL/include/net/ah.h:27: `crypto_hmac_update' undeclared (first use in this function)
/usr/src/linux-2.4.21-4.EL/include/net/ah.h:27: (Each undeclared identifier is reported only once
/usr/src/linux-2.4.21-4.EL/include/net/ah.h:27: for each function it appears in.)
/usr/src/linux-2.4.21-4.EL/include/net/ah.h:28: warning: implicit declaration of function `crypto_hmac_final'
In file included from xfrm_algo.c:19:
/usr/src/linux-2.4.21-4.EL/include/net/esp.h: In function `esp_hmac_digest':
/usr/src/linux-2.4.21-4.EL/include/net/esp.h:49: `crypto_hmac_update' undeclared (first use in this function)
make: *** Error 1
make: Leaving directory `/usr/src/linux-2.4.21-4.EL/net/xfrm'
make: *** Error 2
make: Leaving directory `/usr/src/linux-2.4.21-4.EL/net/xfrm'
make: *** Error 2
make: Leaving directory `/usr/src/linux-2.4.21-4.EL/net'
make: *** Error 2


Set 'CONFIG_XFRM' to 'Y' or unset it will result to the same information as above under Red Hat AS3 Linux, kernel 2.4.21.

MichaelBibby 发表于 2004-5-12 08:21:05

Re: Redhat AS3-- error information

`crypto_hmac_update' undeclared (first use in this function)


函数没有声明 :mrgreen:

红星照耀中国 发表于 2004-5-12 18:32:27

Thanks.

As a matter of fact, I know the exact meaning of those information.
The point is, how to resolve it.
页: [1]
查看完整版本: Redhat AS3-- error information