VOGONS

Common searches


First post, by bringa

User metadata
Rank Newbie
Rank
Newbie

Lo,

freshly installed SDL 1.2.7 on my box for dosbox, I get this odd error when trying to configure...

configure:3967: gcc -o conftest -g -O2 -I/hdb//include/SDL -D_REENTRANT   conftest.c  -L/hdb//lib $
/hdb//lib/libSDL.so: undefined reference to `atexit'
collect2: ld returned 1 exit status

(from config.log)

Are those double slashes right? They don't look right. If they are my problem, how do I get rid of them?

Thanks muchly in advance,

Daniel

Reply 1 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

looks like a gcc error to me.
atexit is a stdc function

what is your compiler version ?

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 3, by bringa

User metadata
Rank Newbie
Rank
Newbie

bringa@stalin:~ > gcc --version
gcc (GCC) 3.3.1

I updated it semi-recently in order to do something unholy. I don't remember. GTK or something. Used to have 2.9 or so, but that's gone from my system for good. Weird.

Thanks for helping already! 😀 I love it when OS communities actually work.

Reply 3 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I'd say something wrong with your libaries.
Maybe specify some locations with configure.

Water flows down the stream
How to ask questions the smart way!