First post, by Blakkie
Hi guys,
I have been trying to get DOSbox to compile and install on my linux box and it is just causing me head aches. (though it is not really Dosbox's fault)
I have installed SDL development packages from rpms on SDL website
When I try to do a ./configure it comes up with SDL not being there,as it couldn't run the test program.
This is the output from the config.log
configure:4020: gcc -o conftest -g -O2 -I/usr/include/SDL -D_REENTRANT conftest.c -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread >&5
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.a when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-mandriva-linux-gnu/4.0.1/../../../libSDL.a when searching for -lSDL
/usr/bin/ld: skipping incompatible /usr/lib/libSDL.a when searching for -lSDL
/usr/bin/ld: cannot find -lSDL
collect2: ld returned 1 exit status
configure:4023: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
So obviously there is some problem finding SDL, have I missed some vital step? or am I just being stupid? (maybe not answer that second question)
I'm a bit of a linux noob, so my knowledge of compiling and configuring is pretty hazy so some help would be appreciated. I have trawled lots of FAQs, forums and stuff, and this forum seemed the most likely to be able to help.
Cheers
Andy
I am running Mandriva 2006 on an AMD64 2800+