hi all, i downloaded sg and fg source code. and tried to build it on ubuntu 12.10 but an error occurred.
[ 45%] Built target SimGearCore [ 91%] Built target SimGearScene [ 91%] Built target bvhtest [ 92%] Built target decode_binobj Linking CXX executable httpget ../libSimGearCore.a(timestamp.cxx.o): In function `getClockId()': timestamp.cxx:(.text+0x32): undefined reference to `clock_gettime' ../libSimGearCore.a(timestamp.cxx.o): In function `SGTimeStamp::stamp()': timestamp.cxx:(.text+0x7e): undefined reference to `clock_gettime' ../libSimGearCore.a(timestamp.cxx.o): In function `SGTimeStamp::sleepUntil(SGTimeStamp const&)': timestamp.cxx:(.text+0xba): undefined reference to `clock_getres' timestamp.cxx:(.text+0x157): undefined reference to `clock_nanosleep' ../libSimGearCore.a(timestamp.cxx.o): In function `SGTimeStamp::sleepFor(SGTimeStamp const&)': timestamp.cxx:(.text+0x1f2): undefined reference to `clock_nanosleep' collect2: error: ld returned 1 exit status make[2]: *** [simgear/io/httpget] Error 1 make[1]: *** [simgear/io/CMakeFiles/httpget.dir/all] Error 2 make: *** [all] Error 2 why this happened? thanks ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel