OK, so I decided to give building this a try. First I downloaded the newest exult (1.2.2) and compiled it on my debian box. Then I decided to try and compile it natively on the zaurus instead of going the cross-complier route.
1) Downloaded the zgcc image and mounted following this (
thread. Also installed required build tools indicated here.
2) Ran the configure script in the exult tarball.. all seemed happy. Ran make and after 20 minutes or so the build stoped with the following:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../headers -I./../files -I./../usecode -I./.. -I./../shapes -I./../imagewin -I./../conf -O2 -Wno-long-long -I/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/include/SDL -D_REENTRANT -g -O2 -c -o ipack.o `test -f ipack.cc || echo './'`ipack.cc
/bin/sh ../libtool --mode=link g++ -g -O2 -L/usr/lib -o ipack ipack.o ../files/libu7file.la ../shapes/libshapes.la ../imagewin/libimagewin.la -lpng -lz
g++ -g -O2 -o ipack ipack.o -L/usr/lib ../files/.libs/libu7file.a ../shapes/.libs/libshapes.a ../imagewin/.libs/libimagewin.a -lpng -lz
/opt/arm/3.3.2-vfp/lib/gcc-lib/armv5tel-cacko-linux/3.3.2/../../../../armv5tel-cacko-linux/bin/ld: cannot find -lpng
I interpreted this to mean there was a missing png library (Correctly?)
So, I checked the built ipack binary on my desktop and found that it does use libpng:
ipack:
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40023000)
But this is also on the zaurus:
root@zaurus:~/exult-1.2# ls -l /usr/lib/libpng*
lrwxrwxrwx 1 root root 19 Jan 1 1970 /usr/lib/libpng.so.3 -> libpng12.so.0.1.2.5
lrwxrwxrwx 1 root root 19 Jan 1 1970 /usr/lib/libpng12.so -> libpng12.so.0.1.2.5
lrwxrwxrwx 1 root root 19 Jan 1 1970 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.5
-rwxr-xr-x 1 root root 189104 Jan 1 1970 /usr/lib/libpng12.so.0.1.2.5
So I tried to set this in the configure script by declaring the LDFLAGS:
# export LDFLAGS=-L/usr/lib
But this really shouldn't be needed, and indeed the build failed at the same point.
Any suggestions?
-Richard