Page 1 of 1

Error: Linker (GLIBC) [solved]

Posted: Mon Sep 11, 2006 12:02 pm
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

Posted: Mon Sep 11, 2006 2:38 pm
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....

Posted: Mon Sep 11, 2006 2:48 pm
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