OpenWrt Forum Archive

Topic: kerberos5 1.11 does not compile - no system libverto

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

In file included from net-server.c:60:0:
../../include/net-server.h:32:19: fatal error: verto.h: No such file or directory
compilation terminated.
make[6]: *** [net-server.o] Error 1
make[6]: Leaving directory `/home/owrtbuild/openwrt/trunk/build_dir/target-mipsel_dsp_uClibc-0.9.33.2/krb5-1.11/src/lib/apputils'
make[5]: *** [all-recurse] Error 1
make[5]: Leaving directory `/home/owrtbuild/openwrt/trunk/build_dir/target-mipsel_dsp_uClibc-0.9.33.2/krb5-1.11/src/lib'
make[4]: *** [all-recurse] Error 1
make[4]: Leaving directory `/home/owrtbuild/openwrt/trunk/build_dir/target-mipsel_dsp_uClibc-0.9.33.2/krb5-1.11/src'
make[3]: *** [/home/owrtbuild/openwrt/trunk/build_dir/target-mipsel_dsp_uClibc-0.9.33.2/krb5-1.11/.built] Error 2
make[3]: Leaving directory `/home/owrtbuild/openwrt/trunk/feeds/packages/net/krb5'
make[2]: *** [package/feeds/packages/krb5/compile] Error 2
make[2]: Leaving directory `/home/owrtbuild/openwrt/trunk'
make[1]: *** [/home/owrtbuild/openwrt/trunk/staging_dir/target-mipsel_dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/owrtbuild/openwrt/trunk'
make: *** [world] Error 2

copy verto.h from src/utils/verto to src/include

make V=s package/feeds/packages/krb5/compile

fails later on - missing system libverto

Package krb5-server is missing dependencies for the following libraries:
libverto.so.0
make[2]: *** [/home/owrtbuild/openwrt/trunk/bin/ramips/packages/krb5-server_1.11-1_ramips_24kec.ipk] Error 1
make[2]: Leaving directory `/home/owrtbuild/openwrt/trunk/feeds/packages/net/krb5'
make[1]: *** [package/feeds/packages/krb5/compile] Error 2
make[1]: Leaving directory `/home/owrtbuild/openwrt/trunk'
make: *** [package/feeds/packages/krb5/compile] Error 2

how come this is present in the trunk package repository ? Are those compiles hand-crafted or just broken ?

...hmmm - seems like my previous fix-description didn't make it into the forum.
so here again the shorty/dirty fix:
Edit the Makefile in /build_dir/target-mipsel_mips32_uClibc-0.9.33.2/krb5-1.11/src/util

change the subdirs-def from:

SUBDIRS=support $(MAYBE_ET_k5) $(MAYBE_SS_k5) \
        profile send-pr gss-kernel-lib $(MAYBE_VERTO_sys)
to:
SUBDIRS=support $(MAYBE_ET_k5) $(MAYBE_SS_k5) \
        profile send-pr gss-kernel-lib $(MAYBE_VERTO_sys) $(MAYBE_VERTO_k5)

and - as a proof-of-concept - it works now.

edit the make file as bove stated and need also copy verto.h to src/inlcude can work, since the file located at src/utils/verto , so the best thing should add one addtional inlcude to the path, but I do not know how to add it.

(Last edited by maplewang on 13 Dec 2014, 07:32)

The discussion might have continued from here.