OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ajnk on August 11, 2005, 07:04:33 am

Title: (onboard Dev) Xmkmf Using Wrong Path
Post by: ajnk on August 11, 2005, 07:04:33 am
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.
  Stop.
imake: Exit code 1.
  Stop.

ld and gcc are actually located thus :-

# which ld
/opt/native/arm/3.3.6-xscale-softvfp/bin/ld
# which gcc
/opt/native/arm/3.3.6-xscale-softvfp/bin/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.
Title: (onboard Dev) Xmkmf Using Wrong Path
Post by: maxg on August 11, 2005, 10:36:27 am
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)
Title: (onboard Dev) Xmkmf Using Wrong Path
Post by: TheWalt on August 11, 2005, 09:45:22 pm
Agreed, I did the same thing when autoconf wanted to find m4 in an I686 folder.. worked like a charm.