QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 788|回复: 2

Redhat AS3-- error information

[复制链接]
发表于 2004-5-11 23:27:32 | 显示全部楼层 |阅读模式
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[3]: *** [xfrm_algo.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21-4.EL/net/xfrm'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-4.EL/net/xfrm'
make[1]: *** [_subdir_xfrm] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-4.EL/net'
make: *** [_dir_net] 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.
发表于 2004-5-12 08:21:05 | 显示全部楼层

Re: Redhat AS3-- error information

[quote:4de5b18ba4="红星照耀中国"]`crypto_hmac_update' undeclared (first use in this function)
[/quote]

函数没有声明
回复

使用道具 举报

 楼主| 发表于 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.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 22:25 , Processed in 0.046340 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表