installing uclibc runtime on target system
Rob Landley
rob at landley.net
Sun Apr 18 22:17:18 UTC 2010
On Sunday 18 April 2010 13:09:28 Matthias Hofmann wrote:
> Hi,
>
> thank you, i will check it out.
> It seems to me that i have problems calling the functions "shm_open()",
> "ftruncate()", "sem_open()" and "mmap()" in my shared library which i have
> build with uclibc.
The "nm -D" command is fun here.
For example, on your host you can go
nm -D /lib/libc.so.6
And see all the symbols gcc exports. (The -D option tells it not to rely on
debug info, which goes away when they're stripped, and instead rely on the
dynamic symbol table which shared libraries have to always have.)
The ones with numbers listed on the left are ones it exports. The ones that
say "U" are ones that it's trying to import from somewhere else. Add
"--size-sort" to have it show you just the ones it exports, sorted by size.
I really need to write an Embedded Linux From Scratch...
Rob
--
Latency is more important than throughput. It's that simple. - Linus Torvalds
More information about the uClibc
mailing list