Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 1996 10:40:13 +0000
From:      steve farrell <spfarrel@phaedrus.uchicago.edu>
To:        Developer <dev@fgate.flevel.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Linux Java compiler on FreeBSD 
Message-ID:  <199607221040.KAA04372@phaedrus.uchicago.edu>
In-Reply-To: Your message of "Mon, 22 Jul 1996 10:33:37 %2B0100." <Pine.BSI.3.93.960722103310.20219H-100000@fgate.flevel.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help

>
>Ive been trying to get the linux java compiler running under FreeBSD 2.2
>current and I`m having a slight problem with the libraries. I had to
>download libXpm from the linux site but still I get an error when I run
>it:-
>
>./java: can't resolve symbol '__libc_malloc'
>
>Has anyone any ideas how I can fix this one?
>

well, i remember this problem from my linux day: java requires
libc.so.5.2.x (well, at least newer than the 5.0.9 version, which
is common on the distributions, and, surprise surprise, in the
linux-libs port).

unfortunately, upgrading to 5.3.12 (the newest i could find), results
in  java -> coredump; javac exits normally, but does nothing... didn't
try the others. 

(sidenote: can you do anything with a coredump from the linux emulator?
maybe you need gdb compiled for linux?)

i'm guessing this might have something to do with freebsd not being
capable of handling the pthreads which are compiled into the jdk?

the netscape_javac, with 3.0b5a, gives the error that it can't initialize
threads.  i guess still only 3.0b2 works for that port? --wasn't that
interesting to me because it only gives an alternative to javac, not
java...

anyway, i would love to see a jdk port to freebsd.  i know one was
done by a guy in korea using green threads in february, i think, though
i haven't been able to get my hands on it, and i understand it needed
more work (?).  i wrote to him asking if he worked on it some more,
and i think he misunderstood me and was offended, so i kind of backed
off =).

i know there was a bit of discussion about this last time i brought
this up about a month ago -- but i'll probably bring it up again =).

anyone working on this? i'd love to do what i can to help...

(by the way, i read ahead a bit -- you can get all kinds of linux
libs -- maybe worth trying some other versions? -- from:

ftp://tsx-11.mit.edu/pub/linux/packages/GCC/)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607221040.KAA04372>