Author Topic: Need help with newvox example build  (Read 2059 times)

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Need help with newvox example build
« on: May 14, 2004, 11:18:58 am »
I have been trying desparately to get the newvox example to build for pdaXrom. When I follow the directions on the website, I get a long list of X11 \"undefined reference\" errors. To correct this, I modify the Makefile to point the -L option to the X11R6/lib directory, as it appears to only point to lib. This corrects the missing references error.

However, when I attempt to run the program on the Zaurus, I get an error about not finding libSDL.so. Of course, libSDL.so is not installed on the Zaurus, and the example instructions to not mention this library.

Has anyone gotten the example to work?
Did you have to do anything special?
Zaurus SL-C860 / pdaXrom

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Need help with newvox example build
« Reply #1 on: May 14, 2004, 12:30:56 pm »
Ok, so the problem I had with building was the LDFLAGS. So, when I run configure like this:
Code: [Select]
  LDFLAGS="-Wl,-rpath-link,/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib"

   ./configure --host=armv5tel-cacko-linux --build=i686-linux

   --x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include

   --x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib

The make completes with no errors. Happy.

Alas, I still get the execution error on the Zaurus: cannot find libSDL.so

Has anyone gotten this example to work?!
Zaurus SL-C860 / pdaXrom

pmf

  • Jr. Member
  • **
  • Posts: 64
    • View Profile
Need help with newvox example build
« Reply #2 on: May 14, 2004, 02:24:52 pm »

time

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://www.trustice.com
Need help with newvox example build
« Reply #3 on: May 14, 2004, 02:57:00 pm »
Thank you pmf.

I realized that I was missing SDL libraries, but did not notice them when I looked at the list of the feed on the website. I was stupidly looking for \"lib-\", not sdl. Now I see them.

Thanks again.
Zaurus SL-C860 / pdaXrom