this link has how to fix the linking error posted in my last post, if that link goes away its because the blah.la file in the cross compiler directory says blah.so lives in /usr/lib in its libdir var, change that var in blah.la when you link the lib and you should be good to go.
http://metastatic.org/text/libtool.htmlso to apply this to the pdaxrom build system just create a .la file for each library that isn't linking correctly, etc /usr/lib/libSM.so is what you error trying to link against, the default path for the pdaxrom cross compiler libs is /opt/cross/arm/3.4.6-xscale-softvfp-akita/armv5tel-cacko-linux/lib so do something like
cp libglut.la libSM.la
then edit a few fields in your new libSM.la so the linker will look in the right directory for your libs, libglut is the base i used because the important line
libdir='/opt/cross/arm/3.4.6-xscale-softvfp-akita/armv5tel-cacko-linux/lib'
is already set, so just change the name and version info and your set, a script could easily take care of all this so that
1 any .so file that doesn't have a .la file gets one made for it with the right libdir path for crosscompiling
2 any .la file with /usr/lib is changed to the crosscompiling path
all but code selftest problems should be taken care of with this, no more linking problems. anyone with more cross compiling problems like this please post