FS#59742 - [boost] undefined reference

Attached to Project: Arch Linux
Opened by Filipe Laíns (FFY00) - Tuesday, 21 August 2018, 20:52 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 21 August 2018, 23:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I get the following error when building SoapyOsmo.

/usr/bin/ld: CMakeFiles/rfspaceSupport.dir/gr-osmosdr/lib/rfspace/rfspace_source_c.cc.o: in function `boost::condition_variable::condition_variable()':
rfspace_source_c.cc:(.text._ZN5boost18condition_variableC2Ev[_ZN5boost18condition_variableC5Ev]+0xaa): undefined reference to `pthread_condattr_setclock'
collect2: error: ld returned 1 exit status

PKGBUILD
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 21 August 2018, 23:35 GMT
Reason for closing:  Not a bug
Comment by Filipe Laíns (FFY00) - Tuesday, 21 August 2018, 20:54 GMT
I accidentally submitted the bug report before I finished writing it. Here's the link of the PKGBUILD I mentioned: http://ix.io/1kTh
Comment by Filipe Laíns (FFY00) - Tuesday, 21 August 2018, 21:02 GMT
I am so sorry for making such a huge mess, the error I got was a result of local dependencies (not avaliable in the repos) being detected by cmake. Once I disabled the module in question, I could reproduce. Please disregard my closure request. And again, sorry.
Comment by Doug Newgard (Scimmia) - Tuesday, 21 August 2018, 23:29 GMT
Sounds like it needs to link to libpthread, but isn't.

Edit: Confirmed with make VERBOSE=1. This is a build system problem.

Loading...