Curt.
Victoria Welch wrote:
Hi Curt,
Thanks for the response. I went through config log (~=2500 lines :) and am no more enlightended - see below :-(.
On Sunday 11 January 2004 14:14, Curtis L. Olson wrote:
Vikki,
I don't see -lglut listed on the link command line. You probably want to rerun the configure script and make sure that the glut test there succeeds. If not, then look in your config.log to see exactly what failed.
grep -inA 2 failed config.log | less
117:configure: failed program was: 118-| #ifndef __cplusplus 119-| choke me -- 131:configure: failed program was: 132-| #line 2718 "configure" 133-| /* confdefs.h. */
[ 24 more iterations of the last second one ]
configure: exit 0
I am not at all sure what I am looking for, but if it is saying I don't have c++, well true, but I do have:
{~/fgfs/FlightGear} $ g++ g++: no input files
apparent problems with glut?!?:
--
1233:configure:7842: checking for library containing glutGetModifiers
1234-configure:7873: gcc -o conftest -march=athlon-xp -O2 -g -fomit-frame-pointer -mfpmath=sse -pipe -D_REE
NTRANT -I/usr/local/include -I/usr/X11R6/include -g -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lMesaGLU
-lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -ldl -lm >&5
1235-/tmp/cc2M1u2j.o(.text+0xa): In function `main':
1236:/home/vw/fgfs/FlightGear/configure:7892: undefined reference to `glutGetModifiers'
1237-collect2: ld returned 1 exit status
1238-configure:7876: $? = 1
--
--
1288:configure:7918: gcc -o conftest -march=athlon-xp -O2 -g -fomit-frame-pointer -mfpmath=sse -pipe -D_REE
NTRANT -I/usr/local/include -I/usr/X11R6/include -g -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lglut -l
MesaGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -ldl -lm >&5
1289:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libglut.so: undefined reference to `glXBindChannelTo
WindowSGIX'
1290:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libglut.so: undefined reference to `glXQueryChannelD
eltasSGIX'
1291:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libglut.so: undefined reference to `glXChannelRectSy
ncSGIX'
1292:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libglut.so: undefined reference to `glXChannelRectSG
IX'
1293:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libglut.so: undefined reference to `glXQueryChannelR
ectSGIX'
1294-collect2: ld returned 1 exit status
1295-configure:7921: $? = 1
Sorry to include so much stuff here, but I am lost :-(.
Is it possible that I have the wrong version of glut? If so, I would think that configure would blow out ?!?!
Thanks & take care, Vikki. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Victoria Welch wrote:
Hi Folks,
A couple days or so back I updated CVS and have not been able to rebuild FG since. Not sure if I have a problem (most likely I think) or if there is a problem with CVS: ============================================================== Configure Summary ================= Prefix: /usr/local Debug messages: yes Automake version: automake (GNU automake) 1.5 Using FGEnvironment Building with multiplayer support threads: yes Making all in tests make[1]: Entering directory `/home/vw/fgfs/FlightGear/tests' gcc -march=athlon-xp -O2 -g -fomit-frame-pointer -mfpmath=sse -pipe -D_REENTRANT -g -L/usr/local/lib -L/usr/X11R6/lib -o gl-info gl-info.o -lMesaGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -ldl -lm -ljpeg gl-info.o(.text+0x147): In function `main': /home/vw/fgfs/FlightGear/tests/gl-info.c:59: undefined reference to `glutInit' gl-info.o(.text+0x153):/home/vw/fgfs/FlightGear/tests/gl-info.c :60: undefined reference to `glutInitDisplayMode' gl-info.o(.text+0x15f):/home/vw/fgfs/FlightGear/tests/gl-info.c :61: undefined reference to `glutCreateWindow' collect2: ld returned 1 exit status make[1]: *** [gl-info] Error 1 make[1]: Leaving directory `/home/vw/fgfs/FlightGear/tests' make: *** [all-recursive] Error 1
=========================================================
I do have glut: ========================================================= {~/.fgfs} $ emerge -s glut Searching... [ Results for search key : glut ] [ Applications found : 1 ]
* media-libs/glut Latest version available: 3.7.1 Latest version installed: 3.7.1 Size of downloaded files: 2,479 kB Homepage: http://www.opengl.org/developers/documentation/glut/ Description: The OpenGL Utility Toolkit (GLUT)
=========================================================
So I am confused :-) - would much appreciate any comments on this issue!
Thanks & take care, Vikki.
-- Curtis Olson Intelligent Vehicles Lab FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
