Problem with gcc v3.4.3?

Jeffrey Holle
Fri Nov 26 07:09:00 GMT 2004

Answered my own question.
I needed to link to pthread in these applications.
The link error confused me in that I thought pthread was being linked to 
and was the component making the undefined reference.
Guess not....

Jeffrey Holle wrote:
> I'm running Mandrake linux v10.0 offical release.
> I've developed a problem recently in linking cpp applications that use 
> shared libraries.
> This may have been caused by:
>   a.  upgrading to gcc v3.4.3 from v3.4.2, or
>   b.  rebuilding my linux system.
> In multiple applications, I get:
>   /lib/tls/ undefined reference to `errno@GLIBC_PRIVATE'
>   /lib/tls/ undefined reference to 
> `__libc_dl_error_tsd@GLIBC_PRIVATE'
> In the past, I didn't need to explicitly link to, I assume that 
> it auto-linked as needed.  Now it doesn't matter if I link to it or not.
> Can someone point of the cause of this error?

More information about the Gcc-help mailing list