I’ve been using SDL on one Linux machine.I am now trying to get it set up on
another box, running Mepis.
I downloaded the RPM file, converted it to a DEB file with Alien, because
Kpackage said I had to. I tried to compile this:
#include “SDL/SDL.h”
int main( int argc, char* args[] ) {
SDL_Init( SDL_INIT_EVERYTHING );
SDL_Quit(); return 0;
}
by using this this: gcc -o sdltest sdltest.c `sdl-config --cflags --libs
I get this:
/usr/lib/libSDL.so: undefined reference to __fprintf_chk at GLIBC_2.3.4' /usr/lib/libSDL.so: undefined reference to
__snprintf_chk at GLIBC_2.3.4’
collect2: ld returned 1 exit status
I also tried to install from source via configure,make, make install, but it
still doesn’t work…I’m new to Linux. Any ideas?
I get this:
/usr/lib/libSDL.so: undefined reference to __fprintf_chk at GLIBC_2.3.4' /usr/lib/libSDL.so: undefined reference to
__snprintf_chk at GLIBC_2.3.4’
collect2: ld returned 1 exit status
There is a version problem with GLIBC.
I saw this kind of error when I was playing with Oracle modules on
Linux a long time ago.
I’m not 100% sure, but you should verify your GLIBC installed version
(s).
RegardsOn Mar 18, 2007, at 4:38 AM, Mark wrote:
–
Kuon
“Your computer requests another OS, deny or allow?”
Blog:
http://arkhi.goyman.com/blojsom/blog/default/
Kuon - Nicolas Goy - ???
? (Goyman.com SA) - 675 <kuon goyman.com> writes:
I get this:
/usr/lib/libSDL.so: undefined reference to __fprintf_chk <at> GLIBC_2.3.4' /usr/lib/libSDL.so: undefined reference to
__snprintf_chk GLIBC_2.3.4’
collect2: ld returned 1 exit status
There is a version problem with GLIBC.
That was it…> On Mar 18, 2007, at 4:38 AM, Mark wrote: