I am writing a program that calls a dynamic library (which I am also
writing) via dlopen and family.  So far, everything has been working just
fine.  I have a need for posix threading, semaphores, and mutexes in my
dynamic library.  As soon as I add the -lpthread switch to my gcc command
for the dynamic library, with or without code that uses the pthreads
routines, my program dumps core upon exit.  The program runs fine during
execution, but the core dumps as soon as main () returns.  I get no core
dumps if I remove the -lpthread switch and the pthreads code.  Any clues on
why?  And suggestions on how to avoid this?  What info do you need from me
to help figure out what's going on?

I'm running Mandrake 7.0, using gcc 2.95.2, kernel 2.2.15.  The development
machine is an Intel Pentium 166.  Any help would be appreciated.  Thanks.

Kevin

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to