[tor-bugs] #18706 [- Select a component]: tor-0.2.8.2-alpha, undefined symbolo "signbit" when compiling for Solaris10

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Apr 2 15:59:10 UTC 2016


#18706: tor-0.2.8.2-alpha, undefined symbolo "signbit"  when compiling for
Solaris10
-------------------------------------+-------------------------------------
     Reporter:  RainerSchmidt        |      Owner:
         Type:  defect               |     Status:  new
     Priority:  Medium               |  Milestone:
    Component:  - Select a           |    Version:  Tor: 0.2.8.2-alpha
  component                          |   Keywords:  undefined symbolo
     Severity:  Normal               |  signbit
Actual Points:                       |  Parent ID:
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+-------------------------------------
 I am trying to compile tor-0.2.8.2-alpha under Solaris 10 with gcc and I'm
 getting an" Undefined symbol error" for  "signbit" in
 src/common/libor.a(util.o)

 In file included from ./src/common/torint.h:14,
                  from ./src/common/crypto.h:17,
                  from src/or/torcert.c:11:
 ./orconfig.h:686:1: warning: "_FILE_OFFSET_BITS" redefined
 In file included from /usr/include/stdio.h:21,
                  from ./src/common/crypto.h:16,
                  from src/or/torcert.c:11:
 /usr/include/sys/feature_tests.h:187:1: warning: this is the location of
 the previous definition
   CC       src/or/src_or_libtor_testing_a-onion_ntor.o
   AR       src/or/libtor-testing.a
   CC       src/or/tor_main.o
   CCLD     src/or/tor
 gcc: unrecognized option `-rdynamic'
 Undefined                       first referenced
  symbol                             in file
 signbit                             src/common/libor.a(util.o)
 ld: fatal: symbol referencing errors. No output written to src/or/tor
 collect2: ld returned 1 exit status
 gmake[1]: *** [src/or/tor] Error 1
 gmake[1]: Leaving directory `/usr/local/lib/tor-0.2.8.2-alpha'
 gmake: *** [all] Error 2

 I had no issues compiling and running tor-0.2.7.6 on this system.

 Any help is appreciated.

 Thanks.

 Regards
 Rainer

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


More information about the tor-bugs mailing list