Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Torsocks
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 38
    • Issues 38
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • Torsocks
  • Issues
  • #28539
Closed
Open
Issue created Nov 20, 2018 by yurivict271@yurivict271

Build breaks on FreeBSD: undefined reference to `handle_mmap'

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'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking