Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Undefined symbol: .pthread_clear_exit_np 1

Status
Not open for further replies.

xyzxyz

Programmer
Nov 21, 2002
18
NL
Ladies and Gentleman,

We are running an AIX system (V.4.3.3) and try to compile and link a C-source (sybasexa.c) to interface with a Sybase Database System (make -f sybasexa.mk). Because we don't have the original IBM C-Compiler (xlc_r4) we use the GNU version gcc. At the end of the compile/link steps the procedure stops due to the error message:
undefined symbol: .pthread_clear_exit_np

It looks like a object module is missing, but I'm not a C-programmer. Any idea how to solve or skip this problem?

Regards
 
Hi,
try to add to your sybasexa.mk file library libpthread.a.
When xlc_r4 is used this library will be added automatically.
Regards Boris
 
Hello Boris,

Thank you very very much for your suggestion. The compilation now runs successful. It took a week to discover this, because IBM is also still looking for the solution ..... A medal you. Thanks!

Regards.

Hans
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top