undefined reference to 'pthread_'
Alan DeKok
aland at deployingradius.com
Wed Jan 22 01:54:12 CET 2014
Marco Marino wrote:
> Ok. I founded a "workaround". I don't have time for a complete solution now.
> after ./configure
> edit Make.inc in the root folder and add -pthread (without 'l' !!!) to
> the LDFLAGS variable.
>
> Modules that will not compile without this work around are: rlm_dbm
> (rlm_dbm_parser) , rlm_ippool (rlm_ippool_tool) and rlm_mschap
> (smbencrypt). Moreover the radsniff utility will not compile without
> this workaround.
OK. It looks like some versions of gcc want "-pthread" and have
problems when using "-lpthread" <sigh>
This is one reason why development is so annoying. Things which have
worked for 20 years get destroyed in the interest of... what, I'm not sure.
I'll see if I can push a patch.
Alan DeKok.
More information about the Freeradius-Users
mailing list