Date: Thu, 06 Apr 2000 21:06:06 +0200 From: Ernst de Haan <ernst@jollem.com> To: freebsd-java@freebsd.org Subject: Unable to compile JDK 1.2.2 Message-ID: <38ECE01E.BB1951C7@jollem.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hey,
I'm trying to compile the JDK, I applied the -4 patches, but I fail. I get
this message a few times:
cc: language O4 not recognized
And I get (and this is where gmake fails):
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x69): undefined reference to `main'
gmake[4]: *** [../../../lib/i386/green_threads/libhpi.so] Error 1
gmake[4]: Leaving directory
`/usr/home/ernst/prg/jdk1.2.2-src/build/freebsd/java/hpi/green
I have gcc version 2.7.2.3, I changed the Defs-freebsd.gmk file:
bash-2.03$ cat build/freebsd/makefiles/Defs-freebsd.gmk | grep
LDLIBS_COMMON
LDLIBS_COMMON =
LDLIBS_COMMON = $(JVMLIB)
LDLIBS_COMMON = $(JVMLIB)
LDLIBS_COMMON += -lc
LDLIBS_COMMON += -lstdc++ -lgcc
LDLIBS_COMMON = -lhpi$(SUFFIX) $(JVMLIB) -lc
LDLIBS_COMMON += -xpg
bash-2.03$
But no luck. My system is FreeBSD 3.4-STABLE on a P2-400, 128 MB. Any
hints?
Ernst
--
Ernst de Haan
Freelance Java Architect
"Come to me all who are weary and burdened,
and I will give you rest" -- Jesus Christ
[-- Attachment #2 --]
begin:vcard
n:de Haan;Ernst
tel;fax:+31 (0)26 3645634
tel;work:+31 (0)26 3623895
x-mozilla-html:FALSE
url:http://www.znerd.demon.nl/
org:Jollem
adr:;;Rozendaalselaan 35;Velp;GLD;6881 KZ;Netherlands
version:2.1
email;internet:ernst@jollem.com
title:Java Architect
fn:Ernst de Haan
end:vcard
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38ECE01E.BB1951C7>
