Error: Linker (GLIBC) [solved]

Linux specific forum
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Error: Linker (GLIBC) [solved]

Post by DarkDragon »

Hello,

I installed SDL1.2, SDL1.2-dev, GTK1.2, GTK1.2-dev and put the module library into the compilers folder of PureBasic. I get the following error when trying to compile something which uses SDL:
Error: Linker

L.so: undefined reference to '__fprintf_chk@GLIBC_2.3.4'
/usr/lib/libSDL.so: undefined reference to '__snprintf_chk@GLIBC_2.3.4'
collect 2: Id returned 1 exit status.
I think it's a problem with glibc, isn't it? How can I fix that?

Thanks,
Daniel
Last edited by DarkDragon on Mon Sep 11, 2006 5:55 pm, edited 1 time in total.
bye,
Daniel
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

It seems like something is missing...(the glibc)
do you have done a: sudo apt-get install build-essential ?
This will install all necessary files for developing on linux (the gcc, needed libs etc.) After that it should work....
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

walker wrote:It seems like something is missing...(the glibc)
do you have done a: sudo apt-get install build-essential ?
This will install all necessary files for developing on linux (the gcc, needed libs etc.) After that it should work....
Sorry, no internet. You need internet for apt-get, IIRC, don't you?

[EDIT]
Needed a older SDL version :x
bye,
Daniel
Post Reply