I get the following errors when I try to compile plib. I am using redhat 6.1. I had another error that I fixed by just defining HAVE_GLUT....
make[2]: Leaving directory `/usr/src/plib-1.2.0/src/js'
Making all in sl
make[2]: Entering directory `/usr/src/plib-1.2.0/src/sl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/plib-1.2.0/src/sl'
Making all in pui
make[2]: Entering directory `/usr/src/plib-1.2.0/src/pui'
c++ -DPACKAGE=\"plib\" -DVERSION=\"1.2.0\" -DHAVE_LIBDL=1 -DHAVE_LIBGL=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DLINUX_JOYSTICK_IS_PRESENT=1 -I. -I. -I../../src/sg -I../../src/fnt -g -O2 -O6 -Wall -c pu.cxx
pu.cxx: In function `void puInit()':
pu.cxx:121: warning: implicit declaration of function `int glXGetCurrentContext(...)'
pu.cxx:121: ANSI C++ forbids comparison between pointer and integer
make[2]: *** [pu.o] Error 1
make[2]: Leaving directory `/usr/src/plib-1.2.0/src/pui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/plib-1.2.0/src'
make: *** [all-recursive] Error 1
I am using:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Send your favorite photo with any online greeting!
http://www.whowhere.lycos.com/redirects/americangreetings.rdct
|