pthread configure problem in kdelibs trunk

Alexander Neundorf neundorf at kde.org
Sun Apr 9 17:45:42 CEST 2006


On Sunday 09 April 2006 16:31, Volker Krause wrote:
> Hi,
>
> the test for pthread_getattr_np() fails due to a missing '-pthread' in the
> linker flags (at least for cartman and myself). This prevents the
> compilation of kjs.
>
> The attached patch seems to solve this problem. Is this the right way to
> fix it?
>
> regards
> Volker (who knows nothing about cmake)

can you please check whether 
check_symbol_exists(pthread_getattr_np pthread.h HAVE_PTHREAD_GETATTR_NP)
check_symbol_exists(pthread_attr_get_np pthread.h HAVE_PTHREAD_ATTR_GET_NP)

works for you ?

Is this actually on linux or some other system ?

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list