This is cross posted on the Trentac hyve
here, as I want to maximum exposure.
--------------------------------------
Now that I have a test bed to test some home-built software. I decided to take the plunge and look to start building some software for the Elonex ONEt.
I have however come up with a small issue with linking libraries that I have compiled.
Basically, I have built the following libraries:
- SDL-1.2.11,
- SDL_image-1.2.13,
- SDL_mixer-1.2.6, and
- SDL_ttf-2.0.9 with a view to compile tuxtype2
When I ran the configure script for tuxtype2, checking for IMG_Load in -lSDL_image failed. In config.log it came up with:
configure:3924: mipsel-linux-gcc -o conftest -O3 -pipe -s conftest.c -lSDL_imag
e >&5
/opt/mipseltools-gcc412-lnx26/lib/gcc/mipsel-linux/4.1.2/../../../../mipsel-linu
x/bin/ld: cannot find -lSDL_image
collect2: ld returned 1 exit status
and then I decided to do some compilations by trying to compile libogg-1.1.3 (successful) and libvorbis-1.2.0, and while I was making libvorbis I came up with this error:
/opt/mipseltools-gcc412-lnx26/lib/gcc/mipsel-linux/4.1.2/../../../../mipsel-linux/bin/ld: warning: libogg.so.0, needed by ../lib/.libs/libvorbis.so, not found (try using -rpath or -rpath-link)
I am running a basic installation of debian etch (in a VMware virtual machine). I have gcc-4.1.2, binutils 2.17-3 and libc6 2.3.6.ds1-13etch7.
My bash environment for building is:
http://pastebin.com/m1bb9b740and when I compile I generally use
$ ./configure --prefix=$MPDIR --host=mipsel-linux
$ make
$ make install
Does anybody have any idea where I am going wrong?
Thanks in Advance.