[freespace2] strange compile error

Timo --Blazko-- Boewing blazko at online.de
Sun Nov 24 11:52:38 EST 2002


Sami wrote:

Sidenote: i cannot mail you directly, maybe i am currently using a
blacklisted IP.

>
> I checked, it is there, I ran ldconfig and it still gives the same
> error. my libSDL is version 1.2.4
> Strange. How can I check, if the linker knows the libraries or not?

Maybe i am a bit wron, just checked the file /etc/ld.so.conf and it
only contained an X11 folder. However, there is only a binary file
called /etc/ld.so.cache that the linker uses. But referring to the
ldconfig manpage, it is only used at runtime.

Maybe you should consider upgradin your compiler gcc. I am no pro in
c/C++ (although developing quite often w/ C/C++) but more the perl
guy, but a compiler upgrade often helped me. I do not know if it hard
to do in Mandrake.

On the other hand, you could take a look into the source file that
causes the error and see, how GL is included. It should be this way:

#include <GL/gl.h>	// needed
#include <GL/glx.h>	// needed under X11, may be included by gl.h
#include <GL/glu.h>	// optional
#include <GL/glut.h>	// rarely, cos no longer maintained

On some configurations, <GL/gl.h> may be included as #include
"GL/gl.h", but this is very uncommon, but may help.


-- 
greetings,

Timo
----------------------------------------------------------------------
PUBLIC KEY: [soon]




More information about the freespace2 mailing list