Hi,
I have found the solution to the compilation error. Should anyone else
encounter this problem the soluction can be found at:
http://geoffmclane.com/fg/fgfs-029.htm. It involved commenting out the lines in
the makefile.am dealing with fgjs.exe.
Steve
From: [EMAIL PROTECTED]
To: flightgear-users@lists.sourceforge.net
Date: Tue, 19 Feb 2008 19:51:17 +0000
Subject: [Flightgear-users] Cygwin compilation error (timeGetTime undefined)
Hello,
I have been trying to compile flightgear 1.0 using cygwin and have been
encountering the error outlined in the post
(http://www.mail-archive.com/flightgear-users@lists.sourceforge.net/msg04872.html)
including the huge_val problem which I corrected.
Basically I am getting an undefined reference to timeGetTime in plibs
ulClock.cxx. Plib is apparently compiling fine. I noticed that the
cygwin/lib/win32api/libwinmm.a library is being used in place of the ms
platform sdk winmm.lib but I am unsure if this is causing the problem.
If anyone has a suggestion on how to resolve or work around the problem that
would be great. The output following the make command is listed below.
Making all in tests
make[1]: Entering directory `/home/RAVEN/FlightGear-1.0.0/tests'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/tests'
Making all in man
make[1]: Entering directory `/home/RAVEN/FlightGear-1.0.0/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/man'
Making all in scripts
make[1]: Entering directory `/home/RAVEN/FlightGear-1.0.0/scripts'
Making all in debug
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/scripts/debug'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/scripts/debug'
Making all in perl
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/scripts/perl'
Making all in examples
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/scripts/perl/examples'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/scripts/perl/examples'
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/scripts/perl'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/scripts/perl'
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/scripts/perl'
Making all in python
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/scripts/python'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/scripts/python'
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/scripts'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/scripts'
make[1]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/scripts'
Making all in src
make[1]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src'
Making all in Include
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Include'
make all-am
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Include'
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Include'
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Include'
Making all in Aircraft
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Aircraft'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Aircraft'
Making all in Airports
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Airports'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Airports'
Making all in ATC
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/ATC'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/ATC'
Making all in Autopilot
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Autopilot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Autopilot'
Making all in Cockpit
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Cockpit'
Making all in built_in
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Cockpit/built_in'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Cockpit/built_in'
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Cockpit'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Cockpit'
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Cockpit'
Making all in Environment
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Environment'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Environment'
Making all in FDM
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM'
Making all in Balloon
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/Balloon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/Balloon'
Making all in JSBSim
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim'
Making all in initialization
make[4]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/initial
ization'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/initiali
zation'
Making all in models
make[4]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models'
Making all in atmosphere
make[5]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models/
atmosphere'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models/a
tmosphere'
Making all in propulsion
make[5]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models/
propulsion'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models/p
ropulsion'
Making all in flight_control
make[5]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models/
flight_control'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models/f
light_control'
make[5]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models'
make[4]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/models'
Making all in input_output
make[4]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/input_o
utput'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/input_ou
tput'
Making all in math
make[4]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/math'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim/math'
make[4]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim'
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/JSBSim'
Making all in LaRCsim
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/LaRCsim'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/LaRCsim'
Making all in UIUCModel
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/UIUCModel'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/UIUCModel'
Making all in YASim
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/YASim'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/YASim'
Making all in SP
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/SP'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/SP'
Making all in ExternalNet
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/ExternalNet'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/ExternalNet'
Making all in ExternalPipe
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/ExternalPipe'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM/ExternalPipe'
make[3]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/FDM'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM'
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/FDM'
Making all in GUI
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/GUI'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/GUI'
Making all in Input
make[2]: Entering directory `/home/RAVEN/FlightGear-1.0.0/src/Input'
g++ -DPKGLIBDIR=\"/fg/share/FlightGear\" -g -O2 -D_REENTRANT -L/fg/lib -L/usr/l
ocal/lib -o fgjs.exe fgjs.o jsinput.o jssuper.o -lplibjs -lwinmm -lplibul -lsg
props -lsgmisc -lsgio -lsgdebug -lsgstructure -lsgxml -lz
/fg/lib/libplibul.a(ulClock.o): In function `_ZNK7ulClock10getRawTimeEv':
/home/RAVEN/plib-1.8.4/src/util/ulClock.cxx:79: undefined reference to `_timeGet
[EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[2]: *** [fgjs.exe] Error 1
make[2]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src/Input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/RAVEN/FlightGear-1.0.0/src'
make: *** [all-recursive] Error 1
Thanks
Steve Thistle
_________________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users