Modify

Opened 3 years ago

Closed 3 years ago

#17931 closed defect (moved_to_github)

ocserv not compiling

Reported by: finas Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

make[8]: Entering directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/src'
/bin/true ocserv-args.def
/bin/true ocpasswd-args.def
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -mips32r2 -march=24kc -mtune=24kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -mips16 -minterlink-mips16 -Wall -L/home/finas/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/home/finas/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/home/finas/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/finas/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib -lncurses -o ocserv main.o main-auth.o worker-vpn.o worker-auth.o tlslib.o cookies.o main-misc.o ip-lease.o log.o tun.o config.o worker-resume.o main-resume.o worker-extras.o html.o main-user.o worker-misc.o route-add.o worker-privs.o sec-mod.o sec-mod-db.o sec-mod-auth.o sec-mod-ban.o common.o system.o setproctitle.o auth/pam.o auth/plain.o icmp-ping.o main-sup-config.o sup-config/file.o worker-bandwidth.o vasprintf.o str.o ccan/hash/hash.o ccan/htable/htable.o ccan/list/list.o ccan/talloc/talloc.o http-parser/http_parser.o protobuf/protobuf-c/protobuf-c.o ipc.pb-c.o ctl.pb-c.o main-ctl-unix.o ../gl/libgnu.a ../libopts/libopts.a libcmd-ocserv.a -L/home/finas/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -lgnutls -lcrypt pcl/libpcl.a
tlslib.o: In function `tls_load_certs':
tlslib.c:(.text+0xcfc): undefined reference to `gnutls_certificate_set_ocsp_status_request_file'
collect2: error: ld returned 1 exit status
make[8]: * [ocserv] Error 1
make[8]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/src'
make[7]:
* [all-recursive] Error 1
make[7]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/src'
make[6]: * [all] Error 2
make[6]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/src'
Making all in doc
make[6]: Entering directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/doc'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/doc'
Making all in tests
make[6]: Entering directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/tests'
Making all in docker-ocserv
make[7]: Entering directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/tests/docker-ocserv'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/tests/docker-ocserv'
make[7]: Entering directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/tests'
make[7]: Nothing to be done for `all-am'.
make[7]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/tests'
make[6]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/tests'
make[6]: Entering directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4'
make[6]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4'
make[5]:
* [all-recursive] Error 1
make[5]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4'
make[4]: * [all] Error 2
make[4]: Leaving directory `/home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4'
make[3]:
* /home/finas/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/ocserv-0.8.4/.built Error 2
make[3]: Leaving directory `/home/finas/openwrt/feeds/packages/net/ocserv'
make[2]: * [package/feeds/packages/ocserv/compile] Error 2
make[2]: Leaving directory `/home/finas/openwrt'
make[1]:
* /home/finas/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/finas/openwrt'
make: * [world] Error 2

Attachments (0)

Change History (6)

comment:1 Changed 3 years ago by anonymous

is there any way I can circunvent this?

comment:2 Changed 3 years ago by finas

I'm still getting the same error. Is there something that can be done?

comment:3 Changed 3 years ago by finas

fixed with latest trunk

comment:4 Changed 3 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 3 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

make[8]: Entering directory `/home/parallels/OpenWRT/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/ocserv-0.10.4/src'
/bin/true ocserv-args.def
/bin/true ocpasswd-args.def

CCLD ocserv

tlslib.o: In function `tls_load_certs':
tlslib.c:(.text+0x1648): undefined reference to `gnutls_certificate_set_ocsp_status_request_file'
collect2: error: ld returned 1 exit status
make[8]: * [ocserv] Error 1
make[8]: Leaving directory `/home/parallels/OpenWRT/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/ocserv-0.10.4/src'
make[7]:
* [all-recursive] Error 1
make[7]: Leaving directory `/home/parallels/OpenWRT/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/ocserv-0.10.4/src'
make[6]: * [all] Error 2
make[6]: Leaving directory `/home/parallels/OpenWRT/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/ocserv-0.10.4/src'
make[5]:
* [all-recursive] Error 1
make[5]: Leaving directory `/home/parallels/OpenWRT/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/ocserv-0.10.4'
make[4]: * [all] Error 2
make[4]: Leaving directory `/home/parallels/OpenWRT/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/ocserv-0.10.4'
make[3]:
* /home/parallels/OpenWRT/build_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/ocserv-0.10.4/.built Error 2
make[3]: Leaving directory `/home/parallels/OpenWRT/feeds/packages/net/ocserv'
make[2]: * [package/feeds/packages/ocserv/compile] Error 2
make[2]: Leaving directory `/home/parallels/OpenWRT'
make[1]:
* /home/parallels/OpenWRT/staging_dir/target-arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/stamp/.package_compile Error 2
make[1]: Leaving directory `/home/parallels/OpenWRT'
make: * [world] Error 2

comment:6 Changed 3 years ago by swalker

  • Resolution set to moved_to_github
  • Status changed from reopened to closed

ocserv is maintained here: ​​https://github.com/openwrt/packages

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.