[Plib-users] ./configure Open GL problems
Brought to you by:
sjbaker
|
From: keerti k. b. <bha...@st...> - 2003-09-01 07:29:16
|
I've been trying to get pLib 1.6 to compile on my Rehat9 w/ GeForce 4 box.
I installed the nVidia drivers from the website, which installs the OpenGL
libraries as well. I have compiled and installed freeglut 2.0.0 without
any problems (it found and linked to the OpenGL libraries without any
problems). I don't know what I'm doing wrong with plib. When I run
./configure, it fails saying:
...
checking host system type... i686-pc-linux
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for glNewList in -lGL... no
checking for glNewList in -lMesaGL... no
configure: error: could not find working GL library
When I look in the config.log file, it says:
....
configure:1320: checking for a BSD compatible install
configure:1375: checking for ranlib
configure:1705: checking host system type
configure:1759: checking for X
configure:2073: checking for dnet_ntoa in -ldnet
configure:2092: gcc -o conftest -g -O2 conftest.c -ldnet 1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 2081 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configure:2114: checking for dnet_ntoa in -ldnet_stub
configure:2133: gcc -o conftest -g -O2 conftest.c -ldnet_stub 1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 2122 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configure:2162: checking for gethostbyname
configure:2190: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2260: checking for connect
configure:2288: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2352: checking for remove
configure:2380: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2444: checking for shmat
configure:2472: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2545: checking for IceConnectionNumber in -lICE
configure:2564: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lICE
1>&5
configure:2596: checking for glNewList in -lGL
configure:2615: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lGL
-lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x28): In function
`_glthread_InitTSD':: undefined reference to `pthread_key_create'
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x83): In function
`_glthread_GetTSD':
: undefined reference to `pthread_getspecific'
/usr/X11R6/lib/libGL.a(glthread.o)(.text+0xc5): In function
`_glthread_SetTSD':
: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2604 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glNewList();
int main() {
glNewList()
; return 0; }
configure:2644: checking for glNewList in -lMesaGL
configure:2663: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c
-lMesaGL
-lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5
/usr/bin/ld: cannot find -lMesaGL
collect2: ld returned 1 exit status
configure: failed program was:
#line 2652 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char glNewList();
int main() {
glNewList()
; return 0; }
I'm sorry, but I don't know how to make sense of this. Any help would be
greatly appreciated.
Thanks a lot,
Keerti
|