Quoth chris brooke:
> I am using the uClibc and I do have POSIX Threading Support enabled
> in uClibc Configuration->General Library Settings.  I have a file
> called libpthread.a in /usr/m68k-linux-uclibc/lib.  I've set the -L
> and -l options to point to this file and I've even tried linking it
> in as an object file and I still have unresolved pthread symbols.    

That's not the library that it should be using (unless things have
changed significantly since the version I'm using, of course).  The
libraries you should be linking against are all inside the uClinux tree.

> Does anyone have any ideas how I can diagnose/fix the problem?
> How do I check my pthread library is built correctly?
> Are there any other compiler/linker options that would help?

You could use m68k-elf-objdump to dump the symbol table for libpthread.a
(inside the uClinux tree, not the other one) and make sure it contains
the correct symbols.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to