Bug 750717

Summary: ld problems if trying to make the ChucK software
Product: [Fedora] Fedora Reporter: Joachim Backes <joachim.backes>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: fweimer, jakub, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-02 08:31:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joachim Backes 2011-11-02 07:08:07 UTC
Description of problem:
I'm trying to install the ChucK software
(http://chuck.cs.princeton.edu/). Compiles OK, but problems during linking:

/usr/bin/ld: chuck_main.o: undefined reference to symbol
'pthread_cancel@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO
/lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

Version-Release number of selected component (if applicable):

glibc-2.14.90-14.x86_64
glibc-2.14.90-14.i686

How reproducible:
always

Steps to Reproduce:
1.download the chuck software
2.got src directory
3.gmake linux-alsa
  
Actual results:
see above

Expected results:
the gmake completes flawlessly

Additional info:

Comment 1 Andreas Schwab 2011-11-02 08:31:31 UTC
Then fix the link command.

Comment 2 Joachim Backes 2011-11-02 08:40:09 UTC
-lpthread fixes my problem. Sorry for inconvenience.