Re: [Flightgear-devel] Trouble compiling FG on Ubuntu 12.04 64
Am Wed, 2 May 2012 15:02:42 +0200 (CEST) schrieb Frederic Bouvier : > Hi Chris, > > > > > Am Wed, 2 May 2012 14:25:09 +0200 (CEST) > > schrieb Frederic Bouvier : > > > > > > > > These messages are link error. Did you do a 'make clean' on all > > > OSG, > > > SG et FG ? My guess is that some files could be compiled with on > > > version of gcc and some with another. > > > > > > Regards, > > > -Fred > > > > > > > Hi Fred! > > > > Thanks for your answer! > > To my knowledge, I didn't! I also don't know, what this option (make > > clean) is there for :) > > But I believe these were compiled with the same version of gcc - > > unless > > I have multiple versions installed, and the script uses multiply > > versions by design... Seems a bit unlikely to me, but I'm not sure > > at all. > > > > How can I find out? > > 'make clean' means deleting all generated files and redoing the whole > build from scratch, not relying on a previous build. > > You may change compiler version if you enable OS updates. > > Regards, > -Fred > About gcc, I looked up synaptics. In the attachement is the summary of gcc packages I have installed. From what I can see, these are all the same version (4.6.3) I did upgrade my Ubuntu recently (11.10 --> 12.04). But additionally, because I earlier encountered problems after an upgrade, I usually delete the source folders and reload them from internet. And "cleaning" the build, sounds to me, like deleting the build-folder. Since some time, there popped out that folder "build", that wasn't there before. I guess Brisa added it for these kinds of operations... I deleted it, along with the source-folders of OSG, Sg and FG. Again... Anyway, I started another build, right now it's building OSG... Maybe it's going to work now, although I don't think it's different from my last attempts. ... Hooray!!! It built through! Thanks to your idea of different gcc's on different versions of OS, it make me think about plib in the end. So I recompiled plib and there it was!!! My bad! I forgot all about plib! Thanks for your input!!! You just made one more happy flyer! :)) Cheers chris<>-- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Trouble compiling FG on Ubuntu 12.04 64
Hi Chris, > > Am Wed, 2 May 2012 14:25:09 +0200 (CEST) > schrieb Frederic Bouvier : > > > > > These messages are link error. Did you do a 'make clean' on all > > OSG, > > SG et FG ? My guess is that some files could be compiled with on > > version of gcc and some with another. > > > > Regards, > > -Fred > > > > Hi Fred! > > Thanks for your answer! > To my knowledge, I didn't! I also don't know, what this option (make > clean) is there for :) > But I believe these were compiled with the same version of gcc - > unless > I have multiple versions installed, and the script uses multiply > versions by design... Seems a bit unlikely to me, but I'm not sure at > all. > > How can I find out? 'make clean' means deleting all generated files and redoing the whole build from scratch, not relying on a previous build. You may change compiler version if you enable OS updates. Regards, -Fred -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Trouble compiling FG on Ubuntu 12.04 64
Am Wed, 2 May 2012 14:25:09 +0200 (CEST) schrieb Frederic Bouvier : > > These messages are link error. Did you do a 'make clean' on all OSG, > SG et FG ? My guess is that some files could be compiled with on > version of gcc and some with another. > > Regards, > -Fred > Hi Fred! Thanks for your answer! To my knowledge, I didn't! I also don't know, what this option (make clean) is there for :) But I believe these were compiled with the same version of gcc - unless I have multiple versions installed, and the script uses multiply versions by design... Seems a bit unlikely to me, but I'm not sure at all. How can I find out? Regards chris -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Trouble compiling FG on Ubuntu 12.04 64
Hi Chris, > Hi all! > > This is my first mail on this list, so please forgive me > newbie-mistakes. :) > I've posted this request for help on the forum and had no luck with > it. > No one answered. So, I'll try here. I hope I'm no bother... > http://www.flightgear.org/forums/viewtopic.php?f=45&t=16180 > > My problem: > I've tried to update my fgfs with brisas script for Debian/Ubuntu, as > I > did for years now... Sometimes there are problems, and compilation > aborts. Most of the time I'm able to fix them myself, but this time, > I > don't even know, what the problem is, or if it is a problem... > > In the attachment you'll find the complete output of the compilation > of OSG, SIMGEAR and FGFS. I wasn't sure if only the output of FGFS would > be enough. OSG and SG built fine, no errors. Only some mysterious > warnings, that some lib couldn't be found, but didn't seem to be a > problem. So, I suggest you skip to the lower end of the file (~line > 1450) and look for FGFS-compilation. In essence the following lines > appear and bring make to a halt, funnily it continues to build > after that, and halt with some similar lines: > > `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev' > referenced in section > `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED1Ev[osg::TemplateArray (osg::Array::Type)10, 3, 5126>::~TemplateArray()]' > of > /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): > defined in discarded section > `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED5Ev]' > of > /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o) > `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev' > referenced in section > `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED1Ev[osg::TemplateArray (osg::Array::Type)9, 2, 5126>::~TemplateArray()]' > of > /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): > defined in discarded section > `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED5Ev]' > of > /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o) > `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev' > referenced in section > `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED1Ev[osg::TemplateArray (osg::Array::Type)11, 4, 5126>::~TemplateArray()]' > of > /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): > defined in discarded section > `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED5Ev]' > of > /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o) > collect2: ld gab 1 als Ende-Status zurück make[2]: *** > [utils/fgviewer/fgviewer] Fehler 1 make[1]: *** > [utils/fgviewer/CMakeFiles/fgviewer.dir/all] Fehler 2 make[1]: *** > Warte auf noch nicht beendete Prozesse... [ 31%] Building CXX object > utils/GPSsmooth/CMakeFiles/MIDGsmooth.dir/MIDG_main.cxx.o > > > I hope someone recognizes these lines, or knows, what the problem > might be - I'd love to get back to 2.7!!! :) These messages are link error. Did you do a 'make clean' on all OSG, SG et FG ? My guess is that some files could be compiled with on version of gcc and some with another. Regards, -Fred -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Trouble compiling FG on Ubuntu 12.04 64
Hi all! This is my first mail on this list, so please forgive me newbie-mistakes. :) I've posted this request for help on the forum and had no luck with it. No one answered. So, I'll try here. I hope I'm no bother... http://www.flightgear.org/forums/viewtopic.php?f=45&t=16180 My problem: I've tried to update my fgfs with brisas script for Debian/Ubuntu, as I did for years now... Sometimes there are problems, and compilation aborts. Most of the time I'm able to fix them myself, but this time, I don't even know, what the problem is, or if it is a problem... In the attachment you'll find the complete output of the compilation of OSG, SIMGEAR and FGFS. I wasn't sure if only the output of FGFS would be enough. OSG and SG built fine, no errors. Only some mysterious warnings, that some lib couldn't be found, but didn't seem to be a problem. So, I suggest you skip to the lower end of the file (~line 1450) and look for FGFS-compilation. In essence the following lines appear and bring make to a halt, funnily it continues to build after that, and halt with some similar lines: `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED1Ev[osg::TemplateArray::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec3fELNS_5Array4TypeE10ELi3ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o) `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED1Ev[osg::TemplateArray::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec2fELNS_5Array4TypeE9ELi2ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o) `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev' referenced in section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED1Ev[osg::TemplateArray::~TemplateArray()]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o): defined in discarded section `.text._ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED2Ev[_ZN3osg13TemplateArrayINS_5Vec4fELNS_5Array4TypeE11ELi4ELi5126EED5Ev]' of /media/myfiles/software/games/FlightGear/git/install/simgear/lib/libsgtgdb.a(SGOceanTile.cxx.o) collect2: ld gab 1 als Ende-Status zurück make[2]: *** [utils/fgviewer/fgviewer] Fehler 1 make[1]: *** [utils/fgviewer/CMakeFiles/fgviewer.dir/all] Fehler 2 make[1]: *** Warte auf noch nicht beendete Prozesse... [ 31%] Building CXX object utils/GPSsmooth/CMakeFiles/MIDGsmooth.dir/MIDG_main.cxx.o I hope someone recognizes these lines, or knows, what the problem might be - I'd love to get back to 2.7!!! :) Thanks in advance chris [OT] ...astounding what bz2 can do... [/OT] FGcompileErrors.txt.bz2 Description: application/bzip -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel