Author Topic: (onboard Dev) Xmkmf Using Wrong Path  (Read 2675 times)

ajnk

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • http://
(onboard Dev) Xmkmf Using Wrong Path
« 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.

maxg

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
(onboard Dev) Xmkmf Using Wrong Path
« Reply #1 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)
All my reports and testing were made (if no other mention given) on SL-C1000

TheWalt

  • Full Member
  • ***
  • Posts: 176
    • View Profile
(onboard Dev) Xmkmf Using Wrong Path
« Reply #2 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.
« Last Edit: August 11, 2005, 09:46:18 pm by TheWalt »
- Gemini PDA | WiFi - Android 7.1.1
- GPD Pocket | Ubuntu Mate 18.10
- Zaurus SL-C3100 | ArchLinuxARM