Re: unable to build lattest CVS
Jason Cox <[email protected]> Fri, 21 Jan 2005 15:39:25 +1100
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Dale, I have been guilty of stupidity.... When I rebuilt my box, I installed the version of Flightgear that came with the SuSE 9.2 AMD64 to see how it went full screen. Needless to say it went fine so I started to compile everything as per normal. Problem was that I didn't uninistall the previous version on FlightGear ...... Remove and rebuild went fine so back to Hi res scenery.. Jason Cox On Thu, 2005-01-20 at 13:42 -0800, Dale E. Edmons wrote: > Jason, > > I'm working on a modified version of Simgear/Terragear and have this > problem often. At best it seems inconsistent. Things I've used that > seem to work are: 1) completely rebuild and re-install SimGear, then > completely rebuild Terragear, 2) add #include <simgear/math/point3d.hxx> > to the file that is being compiled. > > Anywhere a Point3D object is created this seems to crop up. Hopefully, > somebody will have a correct solution to this one. > > Let me know what you find out. > > > Dale > > Jason Cox wrote: > > >Hi all, > > I having a problem with the latest cvs on AMD64. It bails as follows > > > >make[3]: Entering directory > >`/usr/src/root/flightgear/TerraGear/src/Prep/E00Lines' > >if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include -I../../../src/Lib > >-I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib64/glib/include > >-I/usr/local/include -I/opt/gnome/include/glib-1.2 > >-I/opt/gnome/lib64/glib/include -I/usr/X11R6/include -g -O2-MT main.o > >-MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cxx; \ > >then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f > >".deps/main.Tpo"; exit 1; fi > >g++ -g -O2 -L/usr/X11R6/lib -o e00lines > >main.o ../../../src/Lib/Polygon/libPolygon.a ../../../src/Lib/Geometry/libGeometry.a ../../../src/Lib/poly2tri/libpoly2tri.a ../../../src/Lib/TriangleJRS/libTriangleJRS.a ../../../src/Lib/e00/libe00.a -lsgdebug -lsgbucket -lsgmisc -lsgmath -lsgio -lsgstructure -lsgxml -lgenpolyclip -lz -lm > >../../../src/Lib/Polygon/libPolygon.a(polygon.o)(.text+0xca6): In > >function `tgPolygonSplitLongEdges(TGPolygon const&, double)': > >/usr/local/include/simgear/math/point3d.hxx:277: undefined reference to > >`geo_inverse_wgs_84(double, double, double, double,double, double*, > >double*, double*)' > >../../../src/Lib/Polygon/libPolygon.a(polygon.o)(.text > >+0x10f2):/usr/local/include/simgear/math/point3d.hxx:277: undefined > >reference to `geo_inverse_wgs_84(double, double, double, double, double, > >double*, double*, double*)' > >../../../src/Lib/Geometry/libGeometry.a(util.o)(.text+0x779): In > >function `tg::makePolygon(Point3D const&, int, TGPolygon&)': > >/usr/include/g++/bits/stl_vector.h:130: undefined reference to > >`geo_direct_wgs_84(double, double, double, double, double, double*, > >double*, double*)' > >../../../src/Lib/Geometry/libGeometry.a(util.o)(.text+0x7c0): In > >function `tg::makePolygon(Point3D const&, int, TGPolygon&)': > >/usr/include/g++/bits/stl_construct.h:145: undefined reference to > >`geo_direct_wgs_84(double, double, double, double, double, double*, > >double*, double*)' > >../../../src/Lib/Geometry/libGeometry.a(util.o)(.text+0xfbb): In > >function `tg::makePolygon(tg::Line const&, int, TGPolygon&)': > >/usr/local/include/simgear/math/point3d.hxx:277: undefined reference to > >`geo_direct_wgs_84(double, double, double, double, double, double*, > >double*, double*)' > >../../../src/Lib/Geometry/libGeometry.a(util.o)(.text > >+0x1289):/usr/local/include/simgear/math/point3d.hxx:277: undefined > >reference to `geo_inverse_wgs_84(double, double, double, double, double, > >double*, double*, double*)' > >../../../src/Lib/Geometry/libGeometry.a(util.o)(.text > >+0x1352):/usr/local/include/simgear/math/point3d.hxx:277: undefined > >reference to `geo_direct_wgs_84(double, double, double, double, double, > >double*, double*, double*)' > >../../../src/Lib/Geometry/libGeometry.a(util.o)(.text > >+0x1447):/usr/local/include/simgear/math/point3d.hxx:277: undefined > >reference to `geo_direct_wgs_84(double, double, double, double, double, > >double*, double*, double*)' > >../../../src/Lib/Geometry/libGeometry.a(util.o)(.text > >+0x1506):/usr/local/include/simgear/math/point3d.hxx:277: undefined > >reference to `geo_direct_wgs_84(double, double, double, double, double, > >double*, double*, double*)' > >collect2: ld returned 1 exit status > >make[3]: *** [e00lines] Error 1 > >make[3]: Leaving directory > >`/usr/src/root/flightgear/TerraGear/src/Prep/E00Lines' > >make[2]: *** [all-recursive] Error 1 > >make[2]: Leaving directory `/usr/src/root/flightgear/TerraGear/src/Prep' > >make[1]: *** [all-recursive] Error 1 > >make[1]: Leaving directory `/usr/src/root/flightgear/TerraGear/src' > > > > > >Any help ? > >Thanks > >Jason Cox > > > > > >_______________________________________________ > >Terragear-devel mailing list > >[email protected] > >http://mail.flightgear.org/mailman/listinfo/terragear-devel > >2f585eeea02e2c79d7b1d8c4963bae2d > > > > > > > > > _______________________________________________ > Terragear-devel mailing list > [email protected] > http://mail.flightgear.org/mailman/listinfo/terragear-devel > 2f585eeea02e2c79d7b1d8c4963bae2d > _______________________________________________ Terragear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/terragear-devel 2f585eeea02e2c79d7b1d8c4963bae2d