|
From: Jimmy R. <jmm...@gm...> - 2010-11-05 09:32:15
|
On 11/5/2010 4:09 PM, Keith Marshall wrote: > On Thursday 04 November 2010 15:11:41 Jimmy Richardson wrote: >> Ok, thanks, adding CFLAGS="-lpthread" to configure solves the >> problem. > [Please don't top-post; it makes it too difficult to maintain an > appropriate thread of context. I will quickly lose interest in any > top-posted dialogue.] You mean I should just reply inline like this? > I'm pleased that you got it to work, but CFLAGS is generally the wrong > choice for passing library specs to the linker. You really should use > LIBS for this purpose; specify it at configure time, so that any other > prerequisite libraries are added as identified. Ok, LIBS="-lpthread" works great. |