id summary reporter owner description type status priority milestone component version severity resolution keywords cc 1256 Error building with --enable-async-push garga stipa "I tried to build openvpn with --enable-async-push on FreeBSD and got the following error: {{{ /bin/sh ../../libtool --tag=CC --mode=link cc -I/usr/local/include -DPLUGIN_LIBDIR=\""/usr/local/lib/openvpn/plugins\"" -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -L/usr/local/lib -fstack-protector-strong -o openvpn argv.o base64.o buffer.o clinat.o comp.o compstub.o comp-lz4.o crypto.o crypto_openssl.o crypto_mbedtls.o dhcp.o error.o event.o fdmisc.o forward.o fragment.o gremlin.o helper.o httpdigest.o lladdr.o init.o interval.o list.o lzo.o manage.o mbuf.o misc.o platform.o console.o console_builtin.o console_systemd.o mroute.o mss.o mstats.o mtcp.o mtu.o mudp.o multi.o ntlm.o occ.o pkcs11.o pkcs11_openssl.o pkcs11_mbedtls.o openvpn.o options.o otime.o packet_id.o perf.o pf.o ping.o plugin.o pool.o proto.o proxy.o ps.o push.o reliable.o route.o schedule.o session_id.o shaper.o sig.o socket.o socks.o ssl.o ssl_openssl.o ssl_mbedtls.o ssl_verify.o ssl_verify_openssl.o ssl_verify_mbedtls.o status.o tls_crypt.o tun.o win32.o cryptoapi.o ../../src/compat/libcompat.la -llzo2 -L/usr/local/lib -llz4 -lssl -lcrypto -ldl libtool: link: cc -I/usr/local/include -DPLUGIN_LIBDIR=\""/usr/local/lib/openvpn/plugins\"" -Wall -Wno-unused-parameter -Wno-unused-function -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c99 -Wsign-compare -Wuninitialized -fstack-protector-strong -o openvpn argv.o base64.o buffer.o clinat.o comp.o compstub.o comp-lz4.o crypto.o crypto_openssl.o crypto_mbedtls.o dhcp.o error.o event.o fdmisc.o forward.o fragment.o gremlin.o helper.o httpdigest.o lladdr.o init.o interval.o list.o lzo.o manage.o mbuf.o misc.o platform.o console.o console_builtin.o console_systemd.o mroute.o mss.o mstats.o mtcp.o mtu.o mudp.o multi.o ntlm.o occ.o pkcs11.o pkcs11_openssl.o pkcs11_mbedtls.o openvpn.o options.o otime.o packet_id.o perf.o pf.o ping.o plugin.o pool.o proto.o proxy.o ps.o push.o reliable.o route.o schedule.o session_id.o shaper.o sig.o socket.o socks.o ssl.o ssl_openssl.o ssl_mbedtls.o ssl_verify.o ssl_verify_openssl.o ssl_verify_mbedtls.o status.o tls_crypt.o tun.o win32.o cryptoapi.o -L/usr/local/lib ../../src/compat/.libs/libcompat.a -llzo2 -llz4 -lssl -lcrypto -ldl ld: error: undefined symbol: inotify_init >>> referenced by mtcp.c >>> mtcp.o:(tunnel_server_tcp) ld: error: undefined symbol: inotify_init >>> referenced by mudp.c >>> mudp.o:(tunnel_server_udp) ld: error: undefined symbol: inotify_add_watch >>> referenced by multi.c >>> multi.o:(multi_process_post) cc: error: linker command failed with exit code 1 (use -v to see invocation) }}} Adding -linotify to that compile command fixes the issue" Bug / Defect closed minor Building / Compiling OpenVPN 2.4.8 (Community Ed) Not set (select this one, unless your'e a OpenVPN developer) fixed