OS check fails on JDK 1.4 & FreeBSD 5.4R

Scott I. Remick scott at sremick.net
Thu May 26 05:35:31 GMT 2005


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.



More information about the freebsd-java mailing list