Freebsd 5.4下安装freeradius-1.1.7.tar.gz问题
在 make install阶段出现如下错误,不知道什么原因,请高手指点!
==================
gmake[5]: Entering directory `/usr/ports/net/freeradius/freeradius-1.1.7/src/modules/rlm_krb5'
/usr/ports/net/freeradius/freeradius-1.1.7/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/ports/net/freeradius/freeradius-1.1.7/src/include -I/usr/include/et -c rlm_krb5.c
mkdir .libs
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/ports/net/freeradius/freeradius-1.1.7/src/include -I/usr/include/et -c rlm_krb5.c -fPIC -DPIC -o .libs/rlm_krb5.o
rlm_krb5.c: In function `verify_krb5_tgt':
rlm_krb5.c:96: warning: implicit declaration of function `krb5_princ_component'
rlm_krb5.c:96: error: `c' undeclared (first use in this function)
rlm_krb5.c:96: error: (Each undeclared identifier is reported only once
rlm_krb5.c:96: error: for each function it appears in.)
rlm_krb5.c:96: error: invalid type argument of `->'
rlm_krb5.c:105: warning: passing arg 2 of `krb5_kt_read_service_key' discards qualifiers from pointer target type
rlm_krb5.c: In function `krb5_auth':
rlm_krb5.c:217: warning: initialization makes pointer from integer without a cast
rlm_krb5.c:219: warning: excess elements in struct initializer
rlm_krb5.c:219: warning: (near initialization for `tgtname')
rlm_krb5.c:292: error: request for member `length' in something not a structure or union
rlm_krb5.c:293: error: request for member `data' in something not a structure or union
rlm_krb5.c:296: error: request for member `length' in something not a structure or union
rlm_krb5.c:297: error: request for member `data' in something not a structure or union
gmake[5]: *** [rlm_krb5.lo] Error 1
gmake[5]: Leaving directory `/usr/ports/net/freeradius/freeradius-1.1.7/src/modules/rlm_krb5'
gmake[4]: *** [common] Error 2
gmake[4]: Leaving directory `/usr/ports/net/freeradius/freeradius-1.1.7/src/modules'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/net/freeradius/freeradius-1.1.7/src/modules'
gmake[2]: *** [common] Error 2
gmake[2]: Leaving directory `/usr/ports/net/freeradius/freeradius-1.1.7/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/net/freeradius/freeradius-1.1.7/src'
gmake: *** [common] Error 2
*** Error code 2
Stop in /usr/ports/net/freeradius/freeradius-1.1.7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Cant make in openbsd3.7 freeradius 1.0.5
Alan DeKok aland at ox.org
Mon Sep 26 19:23:24 CEST 2005
Previous message: Cant make in openbsd3.7 freeradius 1.0.5
Next message: PEAP Protocol
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--------------------------------------------------------------------------------
"Lou Goddard" <lgoddard at camptv.com> wrote:
> -I../../include -I/usr/include/et -c rlm_krb5.c -o rlm_krb5.o
> rlm_krb5.c:39:18: krb5.h: No such file or directory
If you don't need rlm_krb5, just delete the whole directory.
Alan DeKok.
有没有人帮我看看看啊。