Menu

#61 Undefined symbols _clear_nat_hack_flags

devel
open
nobody
None
5
2016-12-12
2016-12-06
No

vtun 3.0.3 and 3.0.4 fail to build on OS X 10.11 El Capitan with its clang compiler. The error is:

Undefined symbols for architecture x86_64:
  "_clear_nat_hack_flags", referenced from:
      _main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [vtund] Error 1

This is similar to an error reported to Debian last year when using gcc 5:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778164

A patch to fix it is attached to that bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=778164;filename=778164-gcc5-fixes.patch;msg=14

1 Attachments

Discussion

  • Bishop

    Bishop - 2016-12-06

    Hmm. The Debian folks didn't seem to pass that ticket and patch up the stream.

    Thanks for doing the missing work for them, and I'm sorry it took so long for someone to do so.

     
  • Bishop

    Bishop - 2016-12-12

    Patched in for 305, :-D

    which didn't get out this weekend. :-(

     

Log in to post a comment.

MongoDB Logo MongoDB