Hi Brian

here is the result of ldd player and ls -l /lib
on my gumstix

# ldd player
        libstdc++.so.6 => /lib/libstdc++.so.6 (0x4000e000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40097000)
        libnsl.so.0 => /lib/libnsl.so.0 (0x400ae000)
        librt.so.0 => /lib/librt.so.0 (0x400b7000)
        libz.so.1 => /lib/libz.so.1 (0x400c0000)
        libm.so.0 => /lib/libm.so.0 (0x400d9000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400f9000)
        libc.so.0 => /lib/libc.so.0 (0x40109000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000)
# ls -l /lib
-rwxr-xr-x    1 root     root        20486 Nov  6  2006 ld-uClibc-0.9.28.so
lrwxrwxrwx    1 root     root           19 Nov  6  2006 ld-uClibc.so.0 -> ld-uClibc-0.9.28.so
lrwxrwxrwx    1 root     root           19 Nov  6  2006 libc.so.0 -> libuClibc-0.9.28.so
-rw-r--r--    1 root     root        12940 Nov  6  2006 libcrypt-0.9.28.so
lrwxrwxrwx    1 root     root           18 Nov  6  2006 libcrypt.so.0 -> libcrypt-0.9.28.so
-rw-r--r--    1 root     root         8952 Nov  6  2006 libdl-0.9.28.so
lrwxrwxrwx    1 root     root           15 Nov  6  2006 libdl.so.0 -> libdl-0.9.28.so
lrwxrwxrwx    1 root     root           13 Nov  6  2006 libgcc_s.so -> libgcc_s.so.1
-rw-r--r--    1 root     root        53607 Nov  6  2006 libgcc_s.so.1
-rw-r--r--    1 root     root        94912 Nov  6  2006 libm-0.9.28.so
lrwxrwxrwx    1 root     root           14 Nov  6  2006 libm.so.0 -> libm-0.9.28.so
-rw-r--r--    1 root     root         4704 Nov  6  2006 libnsl-0.9.28.so
lrwxrwxrwx    1 root     root           16 Nov  6  2006 libnsl.so.0 -> libnsl-0.9.28.so
-rw-r--r--    1 root     root       105589 Nov  6  2006 libpthread-0.9.28.so
lrwxrwxrwx    1 root     root           20 Nov  6  2006 libpthread.so.0 -> libpthread-0.9.28.so
-rw-r--r--    1 root     root         4704 Nov  6  2006 libresolv-0.9.28.so
lrwxrwxrwx    1 root     root           19 Nov  6  2006 libresolv.so.0 -> libresolv-0.9.28.so
-rw-r--r--    1 root     root         4608 Nov  6  2006 librt-0.9.28.so
lrwxrwxrwx    1 root     root           15 Nov  6  2006 librt.so.0 -> librt-0.9.28.so
-rwx------    1 root     root      2386044 Dec 31  1969 libstdc++.so.6
-rw-r--r--    1 root     root        13044 Nov  6  2006 libthread_db-0.9.28.so
lrwxrwxrwx    1 root     root           22 Nov  6  2006 libthread_db.so.1 -> libthread_db-0.9.28.so
-rw-r--r--    1 root     root       264348 Nov  6  2006 libuClibc-0.9.28.so
-rw-r--r--    1 root     root         4704 Nov  6  2006 libutil-0.9.28.so
lrwxrwxrwx    1 root     root           17 Nov  6  2006 libutil.so.0 -> libutil-0.9.28.so
lrwxrwxrwx    1 root     root           13 Nov  6  2006 libz.so -> libz.so.1.2.3
lrwxrwxrwx    1 root     root           13 Nov  6  2006 libz.so.1 -> libz.so.1.2.3
-rw-r--r--    1 root     root        68209 Nov  6  2006 libz.so.1.2.3
drwxr-xr-x    3 root     root            0 Nov  6  2006 modules
drwxr-xr-x    2 root     root            0 Nov  6  2006 udev
#

I have been trying, for the better part of a week, to get player compiled without
shared libs. You will note none of the shared libs are player related. They all relate, I think, to how I made gumstix-buildroot. However I have been unable to find the switch
to turn off shared in buildroot.

Please forgive my ignorance, but what are the XDR symbols? and how do they differ from other symbols? I think I could not download xdr from synaptic package manager, so I had to find it on the web and download it manually. Is there any way I could have downloaded a partial version that would have this effect.

If you can tell me how to buildroot without shared libs that would also be helpfull.

John Cummins




Brian Gerkey <brian@gerkey.org> wrote:

On Oct 15, 2007, at 5:01 PM, John Cummins wrote:

>
> then over on the gumstix it says
>
> accepted client 0 on port 6665, fd 9
> ./player: can't resolve symbol 'xdrmem_create'

> 1) What does "./player: can't resolve symbol 'xdrmem_create'"
> indicate?
> 2)I had to load a xdr library to compile some part of player, did I
> load the wrong one?
> I have all the shared librarys ldd says player needs in /lib

Looks like player can't find the XDR symbols. It's odd that it runs
at all. Usually the loader resolves all symbols at startup.

Can you post the output of running 'ldd player' on the Gumstix?

As an aside, this is why I always try to build static binaries when
cross-compiling.

brian.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users


Check out the hottest 2008 models today at Yahoo! Autos.