Freebsd 5.4下安装freeradius-1.1.7.tar.gz问题

发布于 2022-07-27 14:19:42 字数 2609 浏览 34 评论 2

在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

岛歌少女 2022-07-30 10:31:34

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.

宛菡 2022-07-27 23:31:17

有没有人帮我看看看啊。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文