On Thu, 15 Nov 2007, lex wrote:

> When compiling for pthreads, I get a phtread_exit not found during the
> link.
>
> getconf GNU_LIBPTHREAD_VERSION returns NPTL 2.5, and there is
> a file /lib/libpthread-2.5.so
>
> Am I missing a -L in the makefilefile?
>
> All the other pthreads functions sem to have no problem.
>
> Lex

Ooops, I forgot that I had set it to link "-static" to send
someone a self contained binary.

Obviously the pthread functions are always in memory, being as how
they are in the kernel.

Removing -static cured all problems.

Lex
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
                              
  Oct 3 - Security and Privacy
  Nov 7 - Django Python Application Framework

Reply via email to