[Proftpd-user] Having Compiling Issues
Brad Knorr <[email protected]> Fri, 24 Feb 2023 17:57:06 -0800
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
I am trying to compile 1.3.8. I am trying to get mod_shaper to work. I have done this successfully before on other machines but for some reason this compile won’t work. Any guidance on what the error is would be appreciated. Here is what I am doing. ./configure \ --sysconfdir=/etc/proftpd \ --disable-ident \ --enable-dso \ --enable-ctrls \ --with-modules=mod_tls:mod_sftp:mod_shaper \ The output of configure. -------------- Build Summary -------------- Building the following static modules: mod_tls mod_sftp mod_shaper mod_ctrls After running make, I get the following. cd lib/ && make lib make[1]: Entering directory '/root/proftpd-1.3.8/lib' cd libltdl/ && make make[2]: Entering directory '/root/proftpd-1.3.8/lib/libltdl' make all-am make[3]: Entering directory '/root/proftpd-1.3.8/lib/libltdl' make[3]: Leaving directory '/root/proftpd-1.3.8/lib/libltdl' make[2]: Leaving directory '/root/proftpd-1.3.8/lib/libltdl' make[1]: Leaving directory '/root/proftpd-1.3.8/lib' cd src/ && make src make[1]: Entering directory '/root/proftpd-1.3.8/src' make[1]: Nothing to be done for 'src'. make[1]: Leaving directory '/root/proftpd-1.3.8/src' cd modules/ && make static make[1]: Entering directory '/root/proftpd-1.3.8/modules' make[2]: Entering directory '/root/proftpd-1.3.8/contrib/mod_sftp' test -z "" || echo "" >> ./../../module-libs.txt ar rc mod_sftp.a mod_sftp.o msg.o packet.o cipher.o mac.o umac.o umac128.o compress.o kex.o keys.o crypto.o utf8.o session.o service.o kbdint.o auth-hostbased.o auth-kbdint.o auth-password.o auth-publickey.o auth.o disconnect.o rfc4716.o keystore.o channel.o blacklist.o agent.o interop.o tap.o fxp.o scp.o display.o misc.o date.o bcrypt.o ranlib mod_sftp.a make[2]: Leaving directory '/root/proftpd-1.3.8/contrib/mod_sftp' make[1]: Leaving directory '/root/proftpd-1.3.8/modules' test -z """" -a -z """" || (cd modules/ && make shared) test -z """" || (cd locale/ && make locale) test -f ./module-libs.txt || touch ./module-libs.txt /bin/bash ./libtool --mode=link --tag=CC gcc -Wl,-L./lib,-L./lib -rdynamic -L./lib/libltdl -dlopen self -export-dynamic -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/privs.o src/str.o src/table.o src/regexp.o src/configdb.o src/dirtree.o src/expr.o src/signals.o src/support.o src/netaddr.o src/inet.o src/child.o src/parser.o src/log.o src/lastlog.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o src/cmd.o src/response.o src/ascii.o src/data.o src/modules.o src/stash.o src/display.o src/auth.o src/fsio.o src/mkhome.o src/ctrls.o src/event.o src/var.o src/throttle.o src/session.o src/trace.o src/encode.o src/proctitle.o src/filter.o src/pidfile.o src/env.o src/random.o src/version.o src/rlimit.o src/wtmp.o src/json.o src/jot.o src/memcache.o src/redis.o src/error.o modules/mod_core.o modules/mod_xfer.o modules/mod_rlimit.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_delay.o modules/mod_facts.o modules/mod_dso.o modules/mod_shaper.o modules/mod_tls.o modules/mod_ctrls.o modules/module_glue.o lib/prbase.a contrib/mod_sftp/mod_sftp.a -lcrypt -pthread -lssl -lcrypto -lssl -lcrypto lib/libltdl/libltdlc.la `uniq ./module-libs.txt | tr '\n' ' '` libtool: link: rm -f .libs/proftpd.nm .libs/proftpd.nmS .libs/proftpd.nmT libtool: link: (cd .libs && gcc -g2 -O2 -Wall -fno-omit-frame-pointer -fno-strict-aliasing -c -fno-builtin "proftpdS.c") libtool: link: rm -f ".libs/proftpdS.c" ".libs/proftpd.nm" ".libs/proftpd.nmS" ".libs/proftpd.nmT" libtool: link: gcc -Wl,-L./lib -Wl,-L./lib -rdynamic .libs/proftpdS.o -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/privs.o src/str.o src/table.o src/regexp.o src/configdb.o src/dirtree.o src/expr.o src/signals.o src/support.o src/netaddr.o src/inet.o src/child.o src/parser.o src/log.o src/lastlog.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o src/cmd.o src/response.o src/ascii.o src/data.o src/modules.o src/stash.o src/display.o src/auth.o src/fsio.o src/mkhome.o src/ctrls.o src/event.o src/var.o src/throttle.o src/session.o src/trace.o src/encode.o src/proctitle.o src/filter.o src/pidfile.o src/env.o src/random.o src/version.o src/rlimit.o src/wtmp.o src/json.o src/jot.o src/memcache.o src/redis.o src/error.o modules/mod_core.o modules/mod_xfer.o modules/mod_rlimit.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_delay.o modules/mod_facts.o modules/mod_dso.o modules/mod_shaper.o modules/mod_tls.o modules/mod_ctrls.o modules/module_glue.o -pthread -Wl,--export-dynamic /root/proftpd-1.3.8/lib/libltdl/./.libs/dlopen.a -L/root/proftpd-1.3.8/lib/libltdl lib/prbase.a contrib/mod_sftp/mod_sftp.a -lcrypt -lssl -lcrypto lib/libltdl/.libs/libltdlc.a -pthread /usr/bin/ld: modules/mod_shaper.o: in function `shaper_init': /root/proftpd-1.3.8/modules/mod_shaper.c:2408: undefined reference to `pr_ctrls_register' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:2418: undefined reference to `pr_ctrls_init_acl' /usr/bin/ld: modules/mod_shaper.o: in function `shaper_restart_ev': /root/proftpd-1.3.8/modules/mod_shaper.c:2355: undefined reference to `pr_ctrls_init_acl' /usr/bin/ld: modules/mod_shaper.o: in function `set_shaperctrlsacls': /root/proftpd-1.3.8/modules/mod_shaper.c:1903: undefined reference to `pr_ctrls_parse_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1915: undefined reference to `pr_ctrls_set_module_acls' /usr/bin/ld: modules/mod_shaper.o: in function `shaper_handle_shaper': /root/proftpd-1.3.8/modules/mod_shaper.c:1776: undefined reference to `pr_ctrls_check_acl' /usr/bin/ld: modules/mod_shaper.o: in function `shaper_handle_sess': /root/proftpd-1.3.8/modules/mod_shaper.c:1548: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1585: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1734: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: modules/mod_shaper.o: in function `shaper_handle_shaper': /root/proftpd-1.3.8/modules/mod_shaper.c:1764: undefined reference to `pr_ctrls_check_acl' /usr/bin/ld: modules/mod_shaper.o: in function `shaper_handle_info': /root/proftpd-1.3.8/modules/mod_shaper.c:1466: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1468: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1470: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1471: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1484: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: modules/mod_shaper.o:/root/proftpd-1.3.8/modules/mod_shaper.c:1486: more undefined references to `pr_ctrls_add_response' follow /usr/bin/ld: modules/mod_shaper.o: in function `shaper_handle_shaper': /root/proftpd-1.3.8/modules/mod_shaper.c:1752: undefined reference to `pr_ctrls_check_acl' /usr/bin/ld: modules/mod_shaper.o: in function `shaper_handle_all': /root/proftpd-1.3.8/modules/mod_shaper.c:1405: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1253: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1281: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1298: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_shaper.c:1315: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: modules/mod_shaper.o:/root/proftpd-1.3.8/modules/mod_shaper.c:1615: more undefined references to `pr_ctrls_add_response' follow /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_handle_rmctrl': /root/proftpd-1.3.8/modules/mod_ctrls.c:894: undefined reference to `pr_ctrls_check_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:924: undefined reference to `pr_set_registered_actions' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:944: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:945: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:938: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:932: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:929: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: modules/mod_ctrls.o:/root/proftpd-1.3.8/modules/mod_ctrls.c:913: more undefined references to `pr_ctrls_add_response' follow /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_handle_insctrl': /root/proftpd-1.3.8/modules/mod_ctrls.c:817: undefined reference to `pr_ctrls_check_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:837: undefined reference to `pr_set_registered_actions' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:842: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:847: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:839: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:820: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:826: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_handle_lsctrl': /root/proftpd-1.3.8/modules/mod_ctrls.c:861: undefined reference to `pr_ctrls_check_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:873: undefined reference to `pr_get_registered_actions' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:874: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:869: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:864: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_cls_read': /root/proftpd-1.3.8/modules/mod_ctrls.c:256: undefined reference to `pr_ctrls_recv_request' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:314: undefined reference to `pr_ctrls_log' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:268: undefined reference to `pr_ctrls_log' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:281: undefined reference to `pr_ctrls_log' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_openlog': /root/proftpd-1.3.8/modules/mod_ctrls.c:118: undefined reference to `pr_ctrls_set_logfd' /usr/bin/ld: modules/mod_ctrls.o: in function `set_ctrlsacls': /root/proftpd-1.3.8/modules/mod_ctrls.c:977: undefined reference to `pr_ctrls_parse_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:991: undefined reference to `pr_ctrls_set_module_acls2' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_handle_help': /root/proftpd-1.3.8/modules/mod_ctrls.c:796: undefined reference to `pr_get_registered_actions' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:797: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:792: undefined reference to `pr_ctrls_add_response' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_init': /root/proftpd-1.3.8/modules/mod_ctrls.c:1312: undefined reference to `pr_ctrls_init_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:1314: undefined reference to `pr_ctrls_register' /usr/bin/ld: modules/mod_ctrls.o: in function `set_ctrlssocketacl': /root/proftpd-1.3.8/modules/mod_ctrls.c:1128: undefined reference to `pr_ctrls_init_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:1145: undefined reference to `pr_ctrls_set_group_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:1138: undefined reference to `pr_ctrls_set_user_acl' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_closelog': /root/proftpd-1.3.8/modules/mod_ctrls.c:97: undefined reference to `pr_ctrls_set_logfd' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_restart_ev': /root/proftpd-1.3.8/modules/mod_ctrls.c:1289: undefined reference to `pr_ctrls_init_acl' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_recv_cl_reqs': /root/proftpd-1.3.8/modules/mod_ctrls.c:650: undefined reference to `pr_ctrls_accept' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:679: undefined reference to `pr_ctrls_check_user_acl' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:680: undefined reference to `pr_ctrls_check_group_acl' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_add_cl': /root/proftpd-1.3.8/modules/mod_ctrls.c:215: undefined reference to `pr_ctrls_log' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_recv_cl_reqs': /root/proftpd-1.3.8/modules/mod_ctrls.c:628: undefined reference to `pr_ctrls_log' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_timer_cb': /root/proftpd-1.3.8/modules/mod_ctrls.c:765: undefined reference to `pr_run_ctrls' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_cls_write': /root/proftpd-1.3.8/modules/mod_ctrls.c:433: undefined reference to `pr_ctrls_log' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:373: undefined reference to `pr_ctrls_send_msg' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:379: undefined reference to `pr_ctrls_log' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:374: undefined reference to `pr_ctrls_log' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:397: undefined reference to `pr_ctrls_send_msg' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:400: undefined reference to `pr_ctrls_log' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_timer_cb': /root/proftpd-1.3.8/modules/mod_ctrls.c:771: undefined reference to `pr_ctrls_reset' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_cls_write': /root/proftpd-1.3.8/modules/mod_ctrls.c:424: undefined reference to `pr_ctrls_log' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_recv_cl_reqs': /root/proftpd-1.3.8/modules/mod_ctrls.c:672: undefined reference to `pr_ctrls_log' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:665: undefined reference to `pr_ctrls_log' /usr/bin/ld: /root/proftpd-1.3.8/modules/mod_ctrls.c:656: undefined reference to `pr_ctrls_log' /usr/bin/ld: modules/mod_ctrls.o: in function `ctrls_cls_write': /root/proftpd-1.3.8/modules/mod_ctrls.c:411: undefined reference to `pr_ctrls_log' /usr/bin/ld: modules/mod_ctrls.o:/root/proftpd-1.3.8/modules/mod_ctrls.c:416: more undefined references to `pr_ctrls_log' follow collect2: error: ld returned 1 exit status libtool: link: rm -f ".libs/proftpdS.o" make: *** [Makefile:80: proftpd] Error 1 _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html