"Linking vm error" when building java
Greg Lewis
glewis at eyesbeyond.com
Tue Sep 6 08:41:33 PDT 2005
Dave,
On Tue, Sep 06, 2005 at 12:31:20AM -0700, Dave Webster wrote:
> I get the following error when running gmake to install JDK to FreeBSD.
[snip]
> Everything was going along great until the error message.
> Does anyone have any suggestions?
Its really a lot easier to do this through the ports system. Just
cd /usr/ports/java/jdk14 && make install
Then follow the instructions. You will need Linux emulation enabled and
linprocfs mounted.
The manual build is really only for people who are prepared to investigate
and fix problems themselves (or who are masochists like me). That said,
your problem is that back when the last 1.4.2 patchset was released -lkse
was seen as the correct linkage for the threading libraries on FreeBSD
5.x. If you replace it with -pthread it will probably work.
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the freebsd-java
mailing list