OS check fails on JDK 1.4 & FreeBSD 5.4R
Daniel Eischen
deischen at freebsd.org
Thu May 26 14:47:12 GMT 2005
On Thu, 26 May 2005, Scott I. Remick wrote:
> On Thu, 26 May 2005 00:25:02 -0600, Greg Lewis wrote:
>
> > So, if you manually do (in the jdk14 directory)
> >
> > gcc -lc_r -o work/testos files/testos.c
> >
> > (You may need to manually create the work directory if you've done a
> > "make clean")
> >
> > What happens? The only way the test can fail is if you can't compile
> > that programme.
>
> su-2.05b# gcc -lc_r -o work/testos files/testos.c
> /usr/bin/ld: cannot find -lc_r
>
> But does -lc_r signify libc_r? This is 5.4, so I don't have libc_r, I have
> libpthread.
Your system is hosed. libc_r still exists even in current. You must
have deleted it. Also, make sure your entire ports tree is up to date.
--
DE
More information about the freebsd-java
mailing list