On Saturday 18 April 2009 03:13:29 am George 'Nephrite' Potapov wrote:
> Hello!
>
> I'm triyng to build KDE4 from port on FreeBSD 7.0-STABLE i386
> It has trouble building kdelibs-4.2.2/kjs
> Linker exits with error: undefined reference to pthread_attr_get_np
> Apparently, the error is caused by not linking to libpthread library.

FreeBSD uses -pthread, not -lpthread. I don't know why you are seeing this 
problem, but it sounds like cmake, or something cmake is using, is not 
detecting the right flavor of pthreads. 

If you run the command "pkg-config --libs QtCore" it should return a list of 
libraries that libQtCore links with. cmake should be using that, and it should 
contain -pthread.

-- 
David Johnson
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to