Richard Bytheway wrote:
I am getting a compilation failure in GPSsmooth:
(System is Cygwin on W2K, Athlon. FlightGear and SimGear source are CVS from
this morning)
Error is below:
-------------8<----------------
[EMAIL PROTECTED] ~/FGFS/FlightGear/build/utils/GPSsmooth
$ make
if g++ -DHAVE_CONFIG_H -I. -I../../../source/utils/GPSsmooth -I../../src/In
clude -I../../../source/src -I/usr/local/include -g -O2 -D_REENTRANT -MT
gps.o -MD -MP -MF ".deps/gps.Tpo" -c -o gps.o ../../../source/utils/GPSsmoo
th/gps.cxx; \
then mv -f ".deps/gps.Tpo" ".deps/gps.Po"; else rm -f ".deps/gps.Tpo"; exit
1; fi
In file included from ../../../source/utils/GPSsmooth/gps.hxx:2,
from ../../../source/utils/GPSsmooth/gps.cxx:7:
../../src/Include/config.h:194:1: warning: "WIN32" redefined
In file included from /usr/include/w32api/windows.h:48,
from /usr/include/plib/ul.h:113,
from /usr/include/plib/sg.h:29,
from /usr/local/include/simgear/constants.h:44,
from ../../../source/utils/GPSsmooth/gps.cxx:3:
/usr/include/w32api/windef.h:29:1: warning: this is the location of the pre
vious definition
if g++ -DHAVE_CONFIG_H -I. -I../../../source/utils/GPSsmooth -I../../src/In
clude -I../../../source/src -I/usr/local/include -g -O2 -D_REENTRANT -MT
main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o ../../../source/utils/GPSs
mooth/main.cxx; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; e
xit 1; fi
g++ -g -O2 -D_REENTRANT -L/usr/local/lib -o GPSsmooth.exe gps.o main.o -
lsgtiming -lsgmisc -lplibnet -lz
/usr/local/lib/libsgtiming.a(timestamp.o)(.text+0xd): In function `_ZN11SGT
imeStamp5stampEv':
/home/richard.bytheway/FGFS/Simgear/build/simgear/timing/../../../source/si
mgear/timing/timestamp.cxx:74: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make: *** [GPSsmooth.exe] Error 1
-------------8<----------------
It appears to be in the link to the SimGear timing routines.
I have checked that there is only one version of SimGear installed (OK), and double checked that I have the latest SimGear from CVS (OK), and now I am lost.
Any offers?
Richard
timeGetTime is defined in WinMM.lib
Harald.
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d