Re: [Flightgear-devel] pthread error compiling simgear under ubuntu 11.10 (beta2)
success ! using cmake ended in a successful compilation :-D ok, now I will cmake fgfs too and send the new script to Thorsten. Thaank you ! -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] pthread error compiling simgear under ubuntu 11.10 (beta2)
On 27 Sep 2011, at 09:00, Francesco Angelo Brisa wrote: ok, now I will cmake fgfs too and send the new script to Thorsten. Thaank you ! That's good news indeed! James -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] pthread error compiling simgear under ubuntu 11.10 (beta2)
Hi, On Sunday, September 25, 2011 02:10:27 Francesco Angelo Brisa wrote: Can you retry? Same problem, nothing changed Did you regenerate the Makefile.in's from Makefile.am's using autogen.sh in simgears toplevel directory? Also since we want to move to cmake, does this work already? How do I compile it using cmake ? Basically, instead of configure --prefix=/path call cmake CMAKE_INSTALL_PREFIX=/path then run make make install as usual. Greetings Mathias -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] pthread error compiling simgear under ubuntu 11.10 (beta2)
2011/9/26 Mathias Fröhlich mathias.froehl...@gmx.net: Hi, On Sunday, September 25, 2011 02:10:27 Francesco Angelo Brisa wrote: Can you retry? Same problem, nothing changed Did you regenerate the Makefile.in's from Makefile.am's using autogen.sh in simgears toplevel directory? yes, I always remove the simgear folder. The script downloads everything from the beginning. Just tried now, nothing new. Also since we want to move to cmake, does this work already? How do I compile it using cmake ? Basically, instead of configure --prefix=/path call cmake CMAKE_INSTALL_PREFIX=/path then run make make install as usual. thanks very much, this is what I needed ! I will now try using cmake. Greetings Mathias Thanks for suggestions, I hope I will find a way to solve the issue... Cheers Francesco -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] pthread error compiling simgear under ubuntu 11.10 (beta2)
Hi, On Friday, September 23, 2011 20:41:41 Francesco Angelo Brisa wrote: I am trying to take one step ahead, and start adapting the script to work with the upcoming ubuntu relase of october. after a little modification (libapr1-dev needed and renaming libboost1.46-dev) I failed to succeed cause simgear does not compile, it complains about pthread during compilation: g++ -g -O2 -Wall -D_REENTRANT -L/home/francesco/fgfs/install/simgear/lib -L/home/francesco/fgfs/install/OpenSceneGraph/lib -o socktest socktest.o libsgio.a ../../simgear/structure/libsgstructure.a ../../simgear/threads/libsgthreads.a ../../simgear/debug/libsgdebug.a ../../simgear/bucket/libsgbucket.a ../../simgear/misc/libsgmisc.a -lz -lOpenThreads -lrt -lm -lrt -lm -lrt -lm ../../simgear/threads/libsgthreads.a(SGThread.o): In function `~PrivateData': /home/francesco/fgfs/simgear/simgear/simgear/threads/SGThread.cxx:194: undefined reference to `pthread_detach' ../../simgear/threads/libsgthreads.a(SGThread.o): In function `SGThread::PrivateData::start(SGThread)': /home/francesco/fgfs/simgear/simgear/simgear/threads/SGThread.cxx:209: undefined reference to `pthread_create' ../../simgear/threads/libsgthreads.a(SGThread.o): In function `SGThread::PrivateData::join()': /home/francesco/fgfs/simgear/simgear/simgear/threads/SGThread.cxx:222: undefined reference to `pthread_join' Can you retry? Also since we want to move to cmake, does this work already? thanks Mathias -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] pthread error compiling simgear under ubuntu 11.10 (beta2)
2011/9/24 Mathias Fröhlich mathias.froehl...@gmx.net: Hi, Can you retry? Same problem, nothing changed Also since we want to move to cmake, does this work already? How do I compile it using cmake ? thanks Mathias Cheers Francesco -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] pthread error compiling simgear under ubuntu 11.10 (beta2)
Hi, I am trying to take one step ahead, and start adapting the script to work with the upcoming ubuntu relase of october. after a little modification (libapr1-dev needed and renaming libboost1.46-dev) I failed to succeed cause simgear does not compile, it complains about pthread during compilation: g++ -g -O2 -Wall -D_REENTRANT -L/home/francesco/fgfs/install/simgear/lib -L/home/francesco/fgfs/install/OpenSceneGraph/lib -o socktest socktest.o libsgio.a ../../simgear/structure/libsgstructure.a ../../simgear/threads/libsgthreads.a ../../simgear/debug/libsgdebug.a ../../simgear/bucket/libsgbucket.a ../../simgear/misc/libsgmisc.a -lz -lOpenThreads -lrt -lm -lrt -lm -lrt -lm ../../simgear/threads/libsgthreads.a(SGThread.o): In function `~PrivateData': /home/francesco/fgfs/simgear/simgear/simgear/threads/SGThread.cxx:194: undefined reference to `pthread_detach' ../../simgear/threads/libsgthreads.a(SGThread.o): In function `SGThread::PrivateData::start(SGThread)': /home/francesco/fgfs/simgear/simgear/simgear/threads/SGThread.cxx:209: undefined reference to `pthread_create' ../../simgear/threads/libsgthreads.a(SGThread.o): In function `SGThread::PrivateData::join()': /home/francesco/fgfs/simgear/simgear/simgear/threads/SGThread.cxx:222: undefined reference to `pthread_join' ./configure says that pthread is availeable and he can find it. what makes me worry is this (generated during ./configure): checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for library containing pthread_exit... none required looks like the configure thinks he does not need pthread at all, so it does not add it to g++ calls. (This is my noob c++ opinion). is there a solution ? I even tried with: export LIBS=-lpthread before launching the configure, but no success at all... Thanks in advance. Cheers Francesco -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel