From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4162 invoked by alias); 15 May 2003 05:11:40 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 4137 invoked from network); 15 May 2003 05:11:40 -0000 Received: from unknown (HELO tomts17-srv.bellnexxia.net) (209.226.175.71) by sources.redhat.com with SMTP; 15 May 2003 05:11:40 -0000 Received: from sympatico.ca ([65.94.49.242]) by tomts17-srv.bellnexxia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030515051122.FOE20917.tomts17-srv.bellnexxia.net@sympatico.ca> for ; Thu, 15 May 2003 01:11:22 -0400 Message-ID: <3EC32110.9000602@sympatico.ca> Date: Thu, 15 May 2003 05:11:00 -0000 From: Stefan Seefeld User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: rhug-rhats@sources.redhat.com Subject: rhug and gcc 3.3 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00002.txt.bz2 hi there, I'm trying to build rhug with today's release of gcc 3.3, with mixed success. I'v close to no experience with gcj, and only very limitted exposure to java, so please bear with me. One thing I noted is that the construct (cd upstream/src; for x in `find ./ -name \*.class`; do $(GCJH) `echo $$x | sed "s/\.\///g" | sed "s/.class//g"`; done;) that is being used in quite a number (if not all) Makefiles, often fails with an error message indicating that the respective class couldn't be found. Inserting a simple '--classpath=.' solves that. Further, I list some package-specific errors: jython: compile error ===================== make[1]: Entering directory `/home/stefan/rhug/jython' here=`pwd`; cd ./upstream/src/Lib; gcj -I.. -d $here/upstream/src/Lib -C -fno-assert --encoding=8859_1 jxxload_help/PackageManager.java jxxload_help/PackageManager.java:7: error: Type `JavaLoaderFactory' not found in declaration of field `factory'. private JavaLoaderFactory factory; ^ jxxload_help/PackageManager.java:24: error: Type `JavaLoaderFactory' not found in the declaration of the argument `factory' of method `'. public PackageManager(org.python.core.PyList path,JavaLoaderFactory factory) { ^ 2 errors jakarta-tomcat: link error ========================== lib-org-apache-xerces.so: undefined reference to `org::apache::xml::serialize::DOMWriterImpl::class$' jakarta-log4j: link error ========================= same... Finally, I ran 'make clean' in xerces, when I discovered that some errors got ignored (possibly leading to the missing symbols above), and ran 'make' again, this time with a fixed Makefile (added classpath...). This time the link failed due to a libtool error, i.e. some .lo files weren't found. No idea why they were generated the first time. Anyways, I'm looking forward to be able to use all your nice work. My goal is to get jacORB compiled and running with gcj, so I can write CORBA clients using jacORB for my own project (Fresco). Kind regards, Stefan