Help - Search - Members - Calendar
Full Version: (onboard Dev) Xmkmf Using Wrong Path
OESF Forums > Model Specific Forums > Sharp Zaurus > Zaurus - pdaXrom
Greetings all,

I am using a pdaXrom 1.1.0 RC10 on a C860. I am trying to build a number of simple X based games, I have a fairly weak dev background, but can make tweaks to makefiles etc if necessary.

So far builds with Makefile and ./configure scripts have been working well, however I am trying to build xmris - a X version of the classic video game Mr. Do. This has an Imakefile and requires either imake or xmkmf to build the Makefile. Using xmkmf I get the following errors :-

# xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
sh: /opt/cross/arm/3.3.2-xscale-softvfp/armv5tel-cacko-linux/bin/ld: No such file or directory
imake: No such file or directory
imake: Cannot exec /opt/cross/arm/3.3.2-xscale-softvfp/armv5tel-cacko-linux/bin/gcc.
imake: Exit code 1.

ld and gcc are actually located thus :-

# which ld
# which gcc

I checked the /usr/X11R6/lib/X11/config directory and corrected the paths in the hosts.def file. I have scanned the whole filesystem, I can only find entries for the /opt/cross path in binary files. Is there a config I can change somewhere ? or do I need to rebuild some libraries ?

Any help appreciated.
Hi, you should try a simple Q&D trick : ln -s /opt/native /opt/cross
It should work OK and it would hopefully not have any drawback (I don't see why it would)
Agreed, I did the same thing when autoconf wanted to find m4 in an I686 folder.. worked like a charm.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.