I think the problem is related to the compiler that comes with RedHat: gcc-2.96. I had the same problem in Mandrake. I solved it by using egcs. Still can't run Gem properly though: I get the same message as Bastien (which has something to do with DRI, I think, and my particular videocard (Banshee)) Try to compile it with gcc-3...
mik
On Thursday 22 November 2001 01:51, Martin Dupras wrote:
Hi,
I am still confused as to why I cannot compile Gem successfully on my linux system. Any help would be greatly encouraged.
I have a brand new Dell system pre-configured with RedHat linux 7.1, and as I understand, it's the default "install everything" install.
I've got pd 0.34-1 installed and running succesfully from the rpm distro; iemlib and sexy, successfully installed and running as well.
As per the instructions for Gem 0.84, I have Mesa 4 (which inclues GLUT), tiff, freetype and gltt (and also gltt-devel). I assume that the jpeg library that is referenced in the README.build file in the Gem sources is installed, although the readme file is not too specific on exactly why that is (and the link to it is broken anyway).
./makeauxlibs is successful; ./configure also.
make breaks with the error messages listed further below.
If anyone's got a clue, I'd be very very grateful.
Thanks,
- martin
--- error messages from 'make': --- make[1]: Entering directory `/usr2/martin_stuff/PD_stuff/gem-0.84/src/Base' c++ -c -g -fPIC -I../ -I/usr2/martin_stuff/PD_stuff/gem-0.84/src/Gnu/../../../gem-0.84/src/AuxLib s/particle -I/usr2/martin_stuff/PD_stuff/gem-0.84/src/Gnu/../../../gem-0.84/src/AuxLib s/liborb -I/usr2/martin_stuff/PD_stuff/gem-0.84/src/Gnu/../../../gem-0.84/src/AuxLib s/td -I/usr2/martin_stuff/PD_stuff/gem-0.84/src/Gnu/../../src/Base -I.. -I/usr/include/gltt GemGluObj.cpp -o GemGluObj.o In file included from ../Base/GemShape.h:16, from GemGluObj.h:16, from GemGluObj.cpp:15: ../Base/GemBase.h:25:8: warning: extra tokens at end of #endif directive
GemGluObj.cpp: In method
void GemGluObj::typeMess (t_symbol *)': GemGluObj.cpp:83:
strcmp' undeclared (first use this function) GemGluObj.cpp:83: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [GemGluObj.o] Error 1 make[1]: Leaving directory `/usr2/martin_stuff/PD_stuff/gem-0.84/src/Base' make: *** [subdirs] Error 255 --- end of error messages ---