Board index FlightGear Support Compiling

Error Compiling FlightGear

Building FlightGear from source, and in the need for help?

Error Compiling FlightGear

Postby Alexandre1545 » Tue Feb 21, 2012 9:17 pm

During the compilation of FlightGear, at 94%, I got an error:

Code: Select all
    [ 94%] Built target metar
    Linking CXX executable terrasync
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libsgtiming.a(timestamp.cxx.o): In function `SGTimeStamp::stamp()':                                               
    timestamp.cxx:(.text+0x24): undefined reference to `clock_gettime'
    timestamp.cxx:(.text+0x57): undefined reference to `clock_gettime'
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libsgtiming.a(timestamp.cxx.o): In function `SGTimeStamp::sleepUntil(SGTimeStamp const&)':
    timestamp.cxx:(.text+0xb1): undefined reference to `clock_getres'
    timestamp.cxx:(.text+0x136): undefined reference to `clock_nanosleep'
    timestamp.cxx:(.text+0x166): undefined reference to `clock_gettime'
    timestamp.cxx:(.text+0x1a4): undefined reference to `clock_gettime'
    timestamp.cxx:(.text+0x1e4): undefined reference to `clock_gettime'
    timestamp.cxx:(.text+0x23f): undefined reference to `clock_gettime'
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libsgtiming.a(timestamp.cxx.o): In function `SGTimeStamp::sleepFor(SGTimeStamp const&)':
    timestamp.cxx:(.text+0x321): undefined reference to `clock_nanosleep'
    timestamp.cxx:(.text+0x357): undefined reference to `clock_gettime'
    /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../libsgtiming.a(timestamp.cxx.o): In function `SGTimeStamp::elapsedMSec() const':
    timestamp.cxx:(.text+0x3c4): undefined reference to `clock_gettime'
    timestamp.cxx:(.text+0x42f): undefined reference to `clock_gettime'
    collect2: ld returned 1 exit status
    make[2]: *** [utils/TerraSync/terrasync] Erreur 1
    make[1]: *** [utils/TerraSync/CMakeFiles/terrasync.dir/all] Erreur 2
    make: *** [all] Erreur 2


I'm compiling on Pardus 2011.2 Gnu/Linux
Config: AMD FX-8350 8x4 GHz, nVidia GTX670 2 Gb, 16 GB Ram with Fedora 18 and FlightGear-Git
Air Lanaudière - Virtual Airlines For FlightSimulator and FlightGear
User avatar
Alexandre1545
 
Posts: 48
Joined: Fri Jul 02, 2010 7:41 pm
Location: Montréal (CYUL)
Callsign: ALQ001
Version: Git
OS: Fedora 18

Re: Error Compiling FlightGear

Postby adrian » Tue Feb 21, 2012 9:48 pm

See https://code.google.com/p/flightgear-bu ... ail?id=537 especially the last two messages. Is this 32 bit or 64 bit?
You may want to open a new bug report, but if you do, make sure and mention issue #537 so they can be marked fixed at the same time.
adrian
 
Posts: 362
Joined: Wed Sep 15, 2010 3:15 pm

Re: Error Compiling FlightGear

Postby Alexandre1545 » Tue Feb 21, 2012 9:52 pm

It's 32 bit
Config: AMD FX-8350 8x4 GHz, nVidia GTX670 2 Gb, 16 GB Ram with Fedora 18 and FlightGear-Git
Air Lanaudière - Virtual Airlines For FlightSimulator and FlightGear
User avatar
Alexandre1545
 
Posts: 48
Joined: Fri Jul 02, 2010 7:41 pm
Location: Montréal (CYUL)
Callsign: ALQ001
Version: Git
OS: Fedora 18


Return to Compiling

Who is online

Users browsing this forum: No registered users and 4 guests