Are you running on the same physical machine where it was compiled?
You would get that error if for example you compiled without -lpthread. My thought is that it really did not (re)compile correctly. make will not recompile something if it thinks the executable is "current"
Please post the output of of
I think binary wont have got created if "-lpthread" is not used for compiling.
I have trouble compiling a pthread program on unix system which suppotrs pthreads it gives
unresolved
_pthread_create
_pthread_exit
error.
what to do? (1 Reply)
consider if the thread routine returns any void pointer while calling pthread_join,
the thread resources are freed and the thread will be terminated when the main thread is exit ,that is my assumption whether it is true
how do we find whether the thread is alive or terminated
how do we find... (0 Replies)
When I use some of the pthread functions: pthread_join, pthread_exit they work perfect. But when I look in the pthread.h file I can't seem to find any implementations of the functions...where are they hiding?? (2 Replies)
Hello,
I run my pthread code on Linux with 4 processors. However, the speed up is only 2 times.
The code is about solving equation (G+s(i)C)z(i)=B*us(i), i=1,...,n. Here G,C are m*m matrix, B*us(i) is a m*1 vector and s(i) are n different numbers. I need to solve the equation n times to... (2 Replies)
Hi all,
How can i parallize this code in pthread?
for(round=1;round<=16;round++)
{
Expansion(mid, 17 - round - 1, left);
Expansion(mid, round - 1, right);
round++;
Expansion(right, 17 - round - 1, mid);
Expansion(left, round - 1,mid);
}
Whereby each loop depend on the... (2 Replies)
I am so confused about the user threads and kernel threads.Suppose I created a thread using pthread create call in Linux ,whether it will be a user thread or kernel thread.If it user thread,then how its map to kernel thread.
I heard about the M:1,M:N,1:1 mapping methods.Which method linux is... (1 Reply)
I have a while loop like so:
while (counter (file1));
how can I pass that into a pthread_create()?
I was thinking ...
while(pthread_create(&path, NULL, counter, file));
is that right? (1 Reply)
Discussion started by: l flipboi l
1 Replies
LEARN ABOUT OSF1
ldd
ldd(1) General Commands Manual ldd(1)NAME
ldd - List dynamic dependencies of executable files or shared objects
SYNOPSIS
ldd [-rdV] filename
OPTIONS
Prints warnings for any unresolved data symbol references that would occur as a result of filename being executed. (Checks references to
only data objects, not functions.) Prints warnings for any unresolved symbol references that would occur as a result of filename being
executed. (Checks references to both data objects and functions.) Displays the version of the ldd command.
DESCRIPTION
The ldd command lists the dynamic dependencies of an executable file or shared object: If filename is an executable file, ldd lists the
pathnames of all shared objects that would be loaded as a result of executing filename. If filename is a shared object, ldd lists the
pathnames of all shared objects that would be loaded as a result of loading filename. The ldd command expects shared objects to have exe-
cute permission, and if this is not the case, it will issue a warning before attempting to process the file.
NOTES
The ldd command does not list shared objects explicitly attached by using dlopen().
The ldd command prints the record of shared object pathnames to stdout. The optional list of symbol resolution problems are printed to
stderr.
EXIT STATUS
If filename is not an executable file or a shared object, a non-zero exit status is returned.
EXAMPLES
The following command lists the static dependencies of libXm.so: ldd /usr/shlib/libXm.so The following command lists the static dependen-
cies of libXm.so as well as any unresolved symbol in libXm.so or any of its dependents: ldd -r /usr/shlib/libXm.so
SEE ALSO loader(5)ldd(1)