Hi Arnt, Without reviewing the maketg logs of the form templogNN.txt, written to, in your case, the '/opt/bygg/fg/tmp/' (I think), can only guess a little... but think I found it...
>> undefined reference to `clock_gettime' ========================================= This is something Mathias added _VERY_ recently to SG/FG cvs - few days ago - see cvs logs... Either my maketg incorrectly downloaded/updated SG cvs, instead of git SG, which would be shown in the log files... or something else... checking further... >> error: simgear/scene/bvh/BVHNode.hxx: No such file or directory ================================================================== This seems to confirm wrong simgear is being used, since the last time I checked this whole directory simgear/scene/bvh has _NOT_ yet made it into the git repository... And my clone of simgear-cs just now confirms this... So it seems UNTIL this 'bvh' addition, and maybe other things, are added to the git repositories - - cvs FG will only compile with cvs SG - git TG will only compile with git SG - and cvs TG will NOT compile at all ;=(( unless perhaps a PRE-OSG SG, or at least an earlier version SG is used... And another 'clue' that somehow simgear(cvs) and simgear-cs(git) are confused... "-I/opt/bygg/fg/install/simgear/include" IFF you are doing TERRAGEAR then I think this should be "-I/opt/bygg/fg/install/simgear-cs/include"... hmmm AHH HA! GOT IT ;=)) My ~fg/maketg DOUPD NOPAUSE just ended with the similar error... WAIT, it is trying to compile FlightGear (FG) AND IT SHOULD NOT. As the above implies, cvs FG CAN NOT BE COMPILED AGAINST git SG!!! And maketg should NOT be compiling FG! Ok, looks like I got one of my && || chains in a twist ;=() Now fixed - try version 1.0.3 http://geoffair.net/tmp/maketg http://geoffair.net/tmp/makefg Hint: DOUPD redoes everything, thus takes big time. In your case you could now just run - /opt/bygg/fg$ maketg SGUPD TGUPD to skip tools, PLIB and OSG - OSG updates takes FOREVER ;=(( You will also _NOTE_ I left out the NOPAUSE, since after the TG git source clone/update you have to exit to _PATCH_ terragear-cs/configure.ac ;=() No doubt you read my plea to add this to the TG git repository ... the patch is again included below - Without this PATCH applied to terragear-cs/configure.ac you can _NOT_ use --with-plib and --with-osg, and even the --with-simgear gets clobbered... With this new maketg 1.0.3, my update, patch, then continue build worked fine... And remember the script 'installs' the final TG executables in $HOME/bin, which I include in my path through an entry in .bash_aliases - export PATH=${PATH}:$HOME/bin You MUST change the script if you want them installed elsewhere... Happy TG building... >> apt-cache show distcc ccache ccontrol dmucs ============================================== Do not understand your point about these??? distcc - distributed compiler client and server ccache - Compiler results cacher ccontrol - takes over roles of compiler, linker and make dmucs - do not have it installed... seems part of distcc I am happy compiling it all in one machine, without 'distributing' it over a network... but as I say do not understand the real point here??? Anyway, thanks for pointing out the error in the scripts. I will take more care with if ( a && b || c ) chains. I wanted if ( a && ( b || c ) ), but got if ( ( a && b ) || c )... maybe I should read up on the precedence and order in scripts ;=)) Regards, Geoff. <TG git configure.ac patch> --- tg-cs/terragear-cs/configure.ac 2009-03-14 18:36:33.000000000 +0100 +++ fg/terragear-cs/configure.ac 2009-02-12 17:35:34.000000000 +0100 @@ -26,6 +26,22 @@ EXTRA_DIRS="${EXTRA_DIRS} $with_simgear" fi +# specify the plib location +AC_ARG_WITH(plib, [ --with-plib=PREFIX Specify the prefix path to plib]) + +if test "x$with_plib" != "x" ; then + echo "plib prefix is $with_plib" + EXTRA_DIRS="${EXTRA_DIRS} $with_plib" +fi + +# specify the osg location +AC_ARG_WITH(osg, [ --with-osg=PREFIX Specify the prefix path to osg]) + +if test "x$with_osg" != "x" ; then + echo "osg prefix is $with_osg" + EXTRA_DIRS="${EXTRA_DIRS} $with_osg" +fi + dnl set the $host variable based on local machine/os AC_CANONICAL_HOST @@ -142,7 +158,8 @@ AC_CHECK_HEADER(windows.h) dnl extra library and include directories -EXTRA_DIRS="/usr/local/plib /usr/X11R6" +# EXTRA_DIRS="/usr/local/plib /usr/X11R6" +EXTRA_DIRS="$EXTRA_DIRS /usr/X11R6" if test -d /opt/X11R6 ; then EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6" </TG git configure.ac patch> ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

