"Mikhail Kuzminsky"
I have some object module - machine.o (ELF 64 bit LSB relocatable) which is placed in ltcp-linda.a library and is used by some application which use Linda parallelization tools.
nm -g says, that machine.o has unresolved references (U) to pthread_create, pthread_kill and few other pthreads modules. glibc-2.3.2-90 (SuSE 9.0) contains /lib64/libthread.so.0 which must contain the corresponding pthreads entries. This library is included, of course, in ld.so.cache.
But if I try to compile and build the simplest Linda-based program (flc fhello.fl w/Portland pgf77 used) - I receive the messages that the references from machine.o (from ltcp-linda.a) to pthread_create, pthread_kill and pthread_sigmask are not resolved :-(
Sorry, what should I do to resolve this references to pthreads routines ? May be I must build static pthreads library instead of dynamic *.so - library ?
Add -lpthread - you need to add this dependency explicitly, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126