Bug 750717 - ld problems if trying to make the ChucK software
Summary: ld problems if trying to make the ChucK software
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-02 07:08 UTC by Joachim Backes
Modified: 2016-11-24 15:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-02 08:31:31 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.