From owner-freebsd-current Mon Jul 22 08:39:37 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA12644 for current-outgoing; Mon, 22 Jul 1996 08:39:37 -0700 (PDT) Received: from phaedrus.uchicago.edu (phaedrus.uchicago.edu [128.135.21.10]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA12639 for ; Mon, 22 Jul 1996 08:39:34 -0700 (PDT) Received: from phaedrus.uchicago.edu (localhost [127.0.0.1]) by phaedrus.uchicago.edu (8.7.5/8.7.3) with ESMTP id KAA04372; Mon, 22 Jul 1996 10:40:14 GMT Message-Id: <199607221040.KAA04372@phaedrus.uchicago.edu> To: Developer cc: freebsd-current@freebsd.org Subject: Re: Linux Java compiler on FreeBSD In-reply-to: Your message of "Mon, 22 Jul 1996 10:33:37 +0100." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4368.838032012.1@phaedrus.uchicago.edu> Date: Mon, 22 Jul 1996 10:40:13 +0000 From: steve farrell Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > >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/)