X11 extension use in xcaverot - urgent help required
Wookey
wookey@aleph1.co.uk
Thu, 7 Jun 2001 16:54:53 +0100 (BST)
On Thu 07 Jun, Wookey wrote:
> Hi guys,
> I'm trying to cross-compile survex to run on a palmtop running (arm)Linux.
> All the command-line apps were trivial (given that I have a working
> cross-compiler), but I can't get xcaverot to compile.
led bble b
OK, panic over.
I should have been using objdump -T instead of -R, at which point I found the
missing functions in (logically enough) libXext.so.
Adding this to the makfile, it all compiles - download it to the palmtop and
Iam mildly astonished to find that it 'just works', although the compass and
tilt thing talk up nearly half the screen!
> Finally, survex and cavern work fine, and printps appears to (subject to
> connecting a printer with the serila->parallel converter that arrived this
> morning), but printdm gives a 'bug in program detected' error. I hope to
> look into that before I go, otherwise it'll be when I get back....
so credit to the authors (probably largely ol) for portability.
The basic runes are:
export CC=arm-linux-gcc
export OBJDUMP=arm-linux-objdump
./configure --includedir=/usr/arm-linux/include --libdir=/usr/arm-linux/lib
Then src/makefile needs the xcaverot_LDADD line changing to
xcaverot_LDADD = -L$(libdir) -lX11 -lXext
I'll try and nobble things to fit the PDA screen and send an xcaverot patch
Wookeyb
--
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel (00 44) 1223 811679
work: http://www.aleph1.co.uk/ play: http://www.chaos.org.uk/~wookey/