I can compile player on my desktop and scp it to gumstix but when I try to run it
on gumstix I get

# ./player create.cfg
./player: can't load library 'libstdc++.so.6'
#

excerpts from config.log

It was created by player configure 2.0.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --build=x86-linux --host=arm-linux --disable-shared --disable-alldrivers --enable-roomba

## --------- ##
## Platform. ##
## --------- ##

hostname = john-desktop
uname -m = i686
uname -r = 2.6.20-16-generic
uname -s = Linux
uname -v = #2 SMP Sun Sep 23 19:50:39 UTC 2007

and later it says

configure:9952: checking if libtool supports shared libraries
configure:9954: result: yes
configure:9957: checking whether to build shared libraries
configure:9978: result: no
configure:9981: checking whether to build static libraries
configure:9985: result: yes

Reading specs from /home/john/gumstix-buildroot/build_arm_nofpu/staging_dir/lib/gcc/arm-linux-uclibc/3.4.5/specs
Configured with: /home/john/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-3.4.5/configure --prefix=/home/john/gumstix-buildroot/build_arm_nofpu/staging_dir --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --disable-threads --disable-multilib --with-float=soft : (reconfigured) /home/john/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-3.4.5/configure --prefix=/home/john/gumstix-buildroot/build_arm_nofpu/staging_dir --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --disable-threads --disable-multilib --with-float=soft
Thread model: single

Which looks like although Player is not using shared library's the  gumstix  buildroot
is supplying them anyway. I have found no way in menuconfig to change this
parameter in gumstix-buildroot.

Questions
1) can anyone confirm/disprove my diagnosis?
2) Is there a way to turn off shared in buildroot?
I would prefer to use static library's and avoid the complications of  shared on
gumstix.  Chad George reports that some one has fixed shared libs on gumstix.
I have not been able to find this. so
3)Could someone give a pointer to getting shared libs running on gumstix
4)gumstix reboots often when i'm scp ing files to it, any ideas?

John Cummins





Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.