From owner-freebsd-java Thu Apr 6 12: 6:16 2000 Delivered-To: freebsd-java@freebsd.org Received: from mail.telekabel.nl (arnhem.telekabel.nl [194.134.132.130]) by hub.freebsd.org (Postfix) with ESMTP id 2441937B9E0 for ; Thu, 6 Apr 2000 12:06:12 -0700 (PDT) (envelope-from ernst@jollem.com) Received: from jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by mail.telekabel.nl (8.8.8/8.8/EuroNet) with ESMTP id VAA00792; Thu, 6 Apr 2000 21:06:04 +0200 (MET DST) Message-ID: <38ECE01E.BB1951C7@jollem.com> Date: Thu, 06 Apr 2000 21:06:06 +0200 From: Ernst de Haan Organization: Jollem X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en, nl MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Unable to compile JDK 1.2.2 Content-Type: multipart/mixed; boundary="------------3DB87C95E0A8BA3E80E9B87C" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------3DB87C95E0A8BA3E80E9B87C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------3DB87C95E0A8BA3E80E9B87C Content-Type: text/x-vcard; charset=us-ascii; name="ernst.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ernst de Haan Content-Disposition: attachment; filename="ernst.vcf" 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 --------------3DB87C95E0A8BA3E80E9B87C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message