-lpthreads and FreeBSD 5

-lpthreads and FreeBSD 5

Post by Will » Sun, 11 Jul 2004 09:56:56


I've been trying to compile /usr/ports/www/mozilla with little luck, I
wouldnt even bother compiling it but gnome requires I have it. It fails
with /usr/bin/ld: cannot find -lpthread from what I read under FreeBSD 5
it should be using -lc_r instead of pthreads, configure seemed to pickup
that I do not have lpthreads but do have lc_r but during compile it
still wants to use that :( for sake of testing purposes I did goto the
dir where it failed, and tried replacing manually in the line -lpthreads
with -lc_r and it compiled, but of course there's numerous cases where
it complains about it being missing. Any idea which makefiles I would
have to edit for it to use -lc_r instead of -lpthreads?

Im currently running FreeBSD 5.2.1-RELEASE-p9 just grabbed the kernel
source a couple days ago, and CVSUPed the ports tree a couple days ago
aswell.

Thanks.
 
 
 

-lpthreads and FreeBSD 5

Post by Kris Kenna » Sun, 11 Jul 2004 14:00:37


No, it should not be using -lc_r, and -lpthread is installed standard
on FreeBSD 5.x.


Did you only update the kernel, or did you do a complete upgrade as
described in detail in the handbook? If the former, that's your
problem.

Kris

 
 
 

-lpthreads and FreeBSD 5

Post by Will » Sun, 11 Jul 2004 16:08:40

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just for reference of anyone running into similar problems as me, yes I
did do the full upgrade the problem was with the port its self that was
fixed after I cvsuped my port tree, so I simply updated again and it was
fixed.

09 Jul 2004 02:48:56 Original commit Commit details files touched by
this commit 1.7 marcus Remove some bugs threading stuff that sneaked
into the last patch.

Remove some bugs threading stuff that sneaked into the last patch.


|
|>I've been trying to compile /usr/ports/www/mozilla with little luck, I
|>wouldnt even bother compiling it but gnome requires I have it. It fails
|>with /usr/bin/ld: cannot find -lpthread from what I read under FreeBSD 5
|>it should be using -lc_r instead of pthreads, configure seemed to pickup
|>that I do not have lpthreads but do have lc_r but during compile it
|>still wants to use that :( for sake of testing purposes I did goto the
|>dir where it failed, and tried replacing manually in the line -lpthreads
|>with -lc_r and it compiled, but of course there's numerous cases where
|>it complains about it being missing. Any idea which makefiles I would
|>have to edit for it to use -lc_r instead of -lpthreads?
|
|
| No, it should not be using -lc_r, and -lpthread is installed standard
| on FreeBSD 5.x.
|
|
|>Im currently running FreeBSD 5.2.1-RELEASE-p9 just grabbed the kernel
|>source a couple days ago, and CVSUPed the ports tree a couple days ago
|>aswell.
|
|
| Did you only update the kernel, or did you do a complete upgrade as
| described in detail in the handbook? If the former, that's your
| problem.
|
| Kris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.yqcomputer.com/

iQEVAwUBQO+V9x3sNDgzOj+bAQJntQf+N/KduObQMa2zHE4OyjtZ9N4HtACf+LZW
2xMirXiFm9XhHruDmeEMIc0jpjTg7qfXm0+FaSpr0bGinsreGu7HrTEF7iWF4AjA
Qpc7UiqOsdQraH5saOQbGAZk5inczmoRnmuXdvi7ppKGEtQTGuDPNOY+oWlR7nSS
YBHmAwi0LPO1YDsDvberhaNrWC4F1SjPXG+Vh1AHEGJQpjnAvBbCZDk/HqtWUbGu
G4+SccrN/puxuhm0TWpV029p6Zaeos/C7j1sbiS94hWVIoPFT0hYMzNOLryH16Ei
oeA/sPQ8+mFAXEQlEOvKvtX/wFKb3Cl8VuCU5D+My8f7oUzX/UnLWQ==
=1nkb
-----END PGP SIGNATURE-----