[tor-bugs] #24252 [Core Tor/Tor]: undefined reference to evdns_shutdown
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Dec 15 04:56:31 UTC 2017
#24252: undefined reference to evdns_shutdown
----------------------------+------------------------------------
Reporter: maddoctor | Owner: (none)
Type: defect | Status: needs_information
Priority: Medium | Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.1.8
Severity: Normal | Resolution:
Keywords: evdns_shutdown | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
----------------------------+------------------------------------
Comment (by maddoctor):
This is with source tor-0.3.1.9:
gcc -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-all
-Wstack-protector --param ssp-buffer-size=1 -fPIE -fasynchronous-unwind-
tables -Wall -fno-strict-aliasing -Waddress -Warray-bounds -Wdate-time
-Wdouble-promotion -Wduplicate-decl-specifier -Wduplicated-cond -Wextra
-Wfloat-conversion -Wignored-attributes -Wimplicit-fallthrough -Winit-self
-Wlogical-op -Wmissing-field-initializers -Wmissing-format-attribute
-Wmissing-noreturn -Wnormalized=id -Wnull-dereference -Woverlength-strings
-Woverride-init -Wshadow -Wshift-count-negative -Wshift-count-overflow
-Wshift-negative-value -Wshift-overflow=2 -Wsizeof-array-argument
-Wstrict-overflow=1 -Wsuggest-attribute=format -Wsuggest-
attribute=noreturn -Wswitch-bool -Wsync-nand -Wtrampolines -Wunused-but-
set-parameter -Wunused-but-set-variable -Wunused-const-variable=2
-Wunused-local-typedefs -Wvariadic-macros -W -Wfloat-equal -Wundef
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings
-Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings
-Wnested-externs -Wbad-function-cast -Wswitch-enum -Waggregate-return
-Wpacked -Wunused -Wunused-parameter -Wold-style-definition -Wmissing-
declarations -pie -z relro -z now -rdynamic -o src/or/tor
src/or/tor_main.o src/or/libtor.a src/common/libor.a src/common/libor-
ctime.a src/common/libor-crypto.a src/ext/keccak-tiny/libkeccak-tiny.a
src/common/libcurve25519_donna.a src/ext/ed25519/ref10/libed25519_ref10.a
src/ext/ed25519/donna/libed25519_donna.a src/common/libor-event.a
src/trunnel/libor-trunnel.a src/trace/libor-trace.a -lz -lm -levent -lssl
-lcrypto -L/usr/lib64 -llzma -lcap -lpthread -ldl
src/or/libtor.a(main.o): In function `tor_free_all':
/building/tor/tor-0.3.1.9/src/or/main.c:3211: undefined reference to
`evdns_shutdown'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:4215: src/or/tor] Error 1
make[1]: Leaving directory '/building/tor/tor-0.3.1.9'
make: *** [Makefile:3106: all] Error 2
You see, -levent *is* there.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24252#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list