Re: [Plib-devel] Tadaaaa ... or not
Brought to you by:
sjbaker
From: John D. <sf...@av...> - 2007-01-17 16:21:29
|
On 01/17/2007 10:33 AM, Bram Stolk wrote: > You need to examine config.log > Search for -lGL > > Sometimes other symbols may not be found, e.g. theoretically, > you could get 'unresolved symbol XmuXXX' or something, so you > need to add -lXmu e.g. I clipped out what config.log claimed was the "failed program" (see below) and was able to compile it and link it in the most obvious way, without the slightest trouble: g++ foo.c -lGL echo $? 0 gcc foo.c -lGL echo $? 0 I really don't know what more I can expect my system to make available to configure. If I can compile the "failed code" and it can't ... well I just don't know what to say. Also FWIW: locate libGL | xargs ls -al lrwxrwxrwx 1 root root 12 2007-01-09 12:43 /usr/lib/ati-fglrx/libGL.so.1 -> libGL.so.1.2 -rwxr-xr-x 1 root root 634716 2006-04-01 15:07 /usr/lib/ati-fglrx/libGL.so.1.2 -rw-r--r-- 1 root root 425320 2006-11-11 09:10 /usr/lib/FGL.renamed.libGL.so.1.2 lrwxrwxrwx 1 root root 26 2007-01-09 13:02 /usr/lib/libGL.so -> /usr/lib/xorg/libGL.so.1.2 lrwxrwxrwx 1 root root 12 2007-01-09 14:45 /usr/lib/libGL.so.1 -> libGL.so.1.2 -rw-r--r-- 1 root root 425320 2006-11-11 09:10 /usr/lib/libGL.so.1.2 -rw-r--r-- 1 root root 687136 2006-11-11 09:10 /usr/lib/libGLU.a lrwxrwxrwx 1 root root 11 2006-12-31 03:21 /usr/lib/libGLU.so -> libGLU.so.1 lrwxrwxrwx 1 root root 20 2006-12-29 21:46 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060501 -rw-r--r-- 1 root root 519836 2006-11-11 09:10 /usr/lib/libGLU.so.1.3.060501 -rw-r--r-- 1 root root 0 2006-12-30 02:05 /usr/lib/xorg/FGL.renamed.libGL.so.1.2 lrwxrwxrwx 1 root root 26 2007-01-09 13:02 /usr/lib/xorg/libGL.so -> /usr/lib/xorg/libGL.so.1.2 lrwxrwxrwx 1 root root 26 2007-01-09 13:02 /usr/lib/xorg/libGL.so.1 -> /usr/lib/xorg/libGL.so.1.2 -rw-r--r-- 1 root root 783353 2007-01-09 13:02 /usr/lib/xorg/libGL.so.1.2 -rw-r--r-- 1 root root 2396219 2007-01-09 14:13 /usr/lib/xorg/modules/extensions/libGLcore.so The "failed code" is: /* confdefs.h. */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "plib" #define VERSION "1.8.4" /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char glNewList (); int main () { return glNewList (); ; return 0; } |