Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 19:09:17 -0700 (PDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   error in make (jdk-1.3.1)
Message-ID:  <20020913190434.B16539-100000@dhcp-407-32.san.rr.com>

next in thread | raw e-mail | index | archive | help
I successfully downloaded the JDK 1.3.1 from freebsd.org then when I did
make it complained that it needed two patches downloaded from sun.com (you
have to register online) and some other site.  Finally, I ran make and it
scrolled by forever (which is good) but then there was an error about
open-motif is an older version.

It told me I could run make uninstall then make reinstall.  I did so and
got a new error about the file /usr/X11R6/lib/X11/app-defaults because it
existed as a link to /etc/X11/app-defaults and that didn't exist so I rm'ed
the link.  Now when I run make I get the following error:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -I/usr/local/include  -O -pipe
-march=pentiumpro -c error.c

[Note: I have a default /etc/make.conf file so why did it use
"march=pentiumpro" instead of i686??]

error.c:59: conflicting types for `strerror_r'
/usr/include/string.h:88: previous declaration of `strerror_r'
*** Error code 1

Stop in /usr/ports/archivers/gtar/work/tar-1.13.19/lib.
*** Error code 1

Stop in /usr/ports/archivers/gtar/work/tar-1.13.19.
*** Error code 1

Stop in /usr/ports/archivers/gtar/work/tar-1.13.19.
*** Error code 1

Stop in /usr/ports/archivers/gtar.
*** Error code 1
[repeats 8 times]

Stop in /root/jdk.
*** Error code 1
[repeats 12 times or so]

Stop in /root/jdk.

What can I do to fix those two files and edit lines 59 and 88...?  Thanks.

--
Peter Leftwich
President & Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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