This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

undefined reference to `__pthread_internal_tsd_get'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]