[tor-bugs] #28539 [- Select a component]: Build breaks on FreeBSD: undefined reference to `handle_mmap'

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 20 17:51:23 UTC 2018


#28539: Build breaks on FreeBSD: undefined reference to `handle_mmap'
-------------------------+--------------------------------------
 Reporter:  yurivict271  |          Owner:  (none)
     Type:  defect       |         Status:  new
 Priority:  Medium       |      Component:  - Select a component
  Version:               |       Severity:  Normal
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+--------------------------------------
 In version 2.3.0:

 {{{
 ../../src/lib/.libs/libtorsocks.so: undefined reference to `handle_mmap'
 cc: error: linker command failed with exit code 1 (use -v to see
 invocation)
 gmake[4]: *** [Makefile:623: test_socks5] Error 1
 gmake[4]: *** Waiting for unfinished jobs....
 libtool: link: cc -I../../include -I../../src -I../../tests/utils/ -I.
 -I../../src/lib
 -DTORSOCKS_FIXTURE_PATH=\"/usr/ports/net/torsocks/work/torsocks-2.3.0/tests/unit/fixtures/\"
 -O2 -pipe -fno-omit-frame-pointer -fstack-protector -fno-strict-aliasing
 -Wall -fPIE -fwrapv --param ssp-buffer-size=1 -fstack-protector-all
 -fstack-protector -pie -z relro -z now -o .libs/test_compat test_compat.o
 ../../tests/utils/tap/.libs/libtap.a ../../src/common/.libs/libcommon.a
 ../../src/lib/.libs/libtorsocks.so -Wl,-rpath -Wl,/usr/local/lib/torsocks
 ../../src/lib/.libs/libtorsocks.so: undefined reference to `handle_mmap'
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28539>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list