This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
undefined reference to `__pthread_internal_tsd_get'
- From: "Eric Fisher" <joefoxreal at gmail dot com>
- To: libc-ports at sources dot redhat dot com
- Date: Thu, 9 Mar 2006 11:28:49 +0800
- Subject: undefined reference to `__pthread_internal_tsd_get'
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qePIWJrYlnskmV5Lkp6F5LfAiRbg8ok4C17YdxdRb9L2nC88pbTMM4OmoKg6j0BHsMqOsqKyoyzZ1RThj/AHFZWnDvK4zLDGnmGsZGVNZbwphJyrd54jZc0nrBVrBGFPLvKIDAykkw92aSVDkQbAHXYAHj8SFbYsrDBbJMTOfXM=
Hi,
Thanks for your time. I've built and installed glibc for my target.
But even a printf function when I complied in a test.c, the error
messages come out, such as
/usr/glibc/lib/libc.a(strtoll.o)(.text+0x4c): In function `__strtoll_internal':
undefined reference to `__pthread_internal_tsd_get'
/usr/glibc/lib/libc.a(alt_digit.o)(.text+0x544): In function
`_nl_get_walt_digit':
undefined reference to `__pthread_mutex_unlock'
I can't think that printf requires threads support. And I do link with
libpthread.a.
Actually, I don't want to support thread for now. But, without
--enable-add-ons=linuxthreads, the glibc can't be built.
Anyone can give me some suggestion?
Regards,
Eric