Hello everybody,
using CMake with the latest git, I get the following error when linking
GPSSmooth. The system is Ubuntu 10.10 32 bit. The targets before
GPSSmooth build and run fine, including fgfs itself. However, MIDGsmooth
and UGsmooth fail with a similar list of errors.
Best regards,
Andreas
Linking CXX executable GPSsmooth
$$FG_INSTALL/lib/libsgio.a(raw_socket.cxx.o): In function
`logbuf::set_log_state(sgDebugClass, sgDebugPriority)':
raw_socket.cxx:(.text._ZN6logbuf13set_log_stateE12sgDebugClass15sgDebugPriority[logbuf::set_log_state(sgDebugClass,
sgDebugPriority)]+0x7): undefined reference to `logbuf::logClass'
raw_socket.cxx:(.text._ZN6logbuf13set_log_stateE12sgDebugClass15sgDebugPriority[logbuf::set_log_state(sgDebugClass,
sgDebugPriority)]+0x15): undefined reference to `logbuf::logPriority'
raw_socket.cxx:(.text._ZN6logbuf13set_log_stateE12sgDebugClass15sgDebugPriority[logbuf::set_log_state(sgDebugClass,
sgDebugPriority)]+0x2a): undefined reference to `logbuf::logging_enabled'
$$FG_INSTALL/lib/libsgio.a(raw_socket.cxx.o): In function
`logbuf::would_log(sgDebugClass, sgDebugPriority) const':
raw_socket.cxx:(.text._ZNK6logbuf9would_logE12sgDebugClass15sgDebugPriority[logbuf::would_log(sgDebugClass,
sgDebugPriority) const]+0x7): undefined reference to `logbuf::logClass'
raw_socket.cxx:(.text._ZNK6logbuf9would_logE12sgDebugClass15sgDebugPriority[logbuf::would_log(sgDebugClass,
sgDebugPriority) const]+0x15): undefined reference to `logbuf::logPriority'
$$FG_INSTALL/lib/libsgio.a(raw_socket.cxx.o): In function `sglog()':
raw_socket.cxx:(.text._Z5sglogv[sglog()]+0x7): undefined reference to
`logstream::initGlobalLogstream()'
$$FG_INSTALL/lib/libsgtiming.a(timestamp.cxx.o): In function
`SGTimeStamp::stamp()':
timestamp.cxx:(.text+0x28): undefined reference to `clock_gettime'
timestamp.cxx:(.text+0x67): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [utils/GPSsmooth/GPSsmooth] Fehler 1
make[1]: *** [utils/GPSsmooth/CMakeFiles/GPSsmooth.dir/all] Fehler 2
make: *** [all] Fehler 2
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel