Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 23846 invoked from network); 22 Sep 2006 03:15:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2006 03:15:02 -0000 Received: (qmail 64470 invoked by uid 500); 22 Sep 2006 03:15:00 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 64434 invoked by uid 500); 22 Sep 2006 03:15:00 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 64423 invoked by uid 99); 22 Sep 2006 03:15:00 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 20:15:00 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=geir@pobox.com; spf=unknown X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: unknown (idunn.apache.osuosl.org: domain pobox.com does not designate 216.86.168.178 as permitted sender) Received: from [216.86.168.178] ([216.86.168.178:3039] helo=mxout-03.mxes.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id F9/E6-06791-03553154 for ; Thu, 21 Sep 2006 20:14:59 -0700 Received: from [10.0.1.2] (unknown [67.86.9.229]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 7AEF051947 for ; Thu, 21 Sep 2006 23:14:53 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <451339D8.9030201@anu.edu.au> References: <45121E83.5000903@anu.edu.au> <01BBAF6C-3160-4B4F-837F-1CF15484D6FF@pobox.com> <451339D8.9030201@anu.edu.au> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: "Geir Magnusson Jr." Subject: Re: [DRLVM] Build problems - missing bfd.h Date: Thu, 21 Sep 2006 23:14:55 -0400 To: harmony-dev@incubator.apache.org X-Mailer: Apple Mail (2.752.2) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sep 21, 2006, at 9:18 PM, Robin Garner wrote: > Geir Magnusson Jr. wrote: >> On Sep 21, 2006, at 1:09 AM, Robin Garner wrote: >>> Trying to build the latest trunk (r448461) on Ubuntu (6.06). >> That's my main build platform. No need to hack anything. >>> Had to hack build.sh because the ant executable isn't in ANT_HOME, >> That's weird. You shouldn't have to do that. > > These fragments from build.sh: > > # Apache Ant 1.6.2 or higher (can be obtained at http://=20 > ant.apache.org) > if [ -z "$ANT_HOME" ]; then > ANT_HOME=3D$EXTERNAL_DIR/common/apache-ant-1.6.5-bin/apache-=20 > ant-1.6.5 > fi > ... > elif [ ! -x $ANT_HOME/bin/ant ]; then > echo "* File $ANT_HOME/bin/ant not found." > echo "* Make sure you have Ant 1.6.5 or above installed from" > echo "* http://ant.apache.org/bindownload.cgi and that ANT_HOME =20 > environment" > echo "* variable points out to the Ant installation dir, e.g. " > echo "* export ANT_HOME=3D/usr/local/ant_1.6.5" > ERROR > fi > ... > export ANT_HOME=3D`(cd $ANT_HOME;pwd)` > ... > ANT_COMMAND=3D"$ANT_HOME/bin/ant --noconfig" > > seems to indicate otherwise, if you want to use the default ubuntu =20 > ant install. Doing "export ANT_HOME=3D`(cd $ANT_HOME;pwd)`" seems a =20= > bit *cough* 'suboptimal' :) I don't know about the default ubuntu ant install. I installed it =20 myself and set ANT_HOME to the right place in .bashrc. I never futz =20 with it... > >>> and add a URL to download xalan >> No need to do that either. The xalan problem means that DRLVM =20 >> wasn't finding the classlib tree correctly, where the Xalan dep =20 >> is. By default, DRLVM assumes that classlib and it are arranged =20 >> on the filesystem as they are in SVN : >> enhanced/ >> classlib/ >> trunk/ >> drlvm/ >> trunk/ >> but if you are using the "federated build" that is enhanced/trunk, =20= >> then the relationship is different. >> >> The best way is to look at build/drlvm.properties.example, copy =20 >> to build/drlvm.properties and adjust so it's right. > > Ah ... yep, works a treat. > >>> , but now the build fails with a missing "bfd.h" (full error =20 >>> message below). >> you need to install binutils for bfd, IIRC. > > binutils-dev does the trick. Cool... geir > > Thanks, > Robin > >>> >>> Any pointers ? >>> >>> cheers, >>> Robin >>> >>> ------------------ >>> >>> build.native.c: >>> [cc] Starting dependency analysis for 10 files. >>> [cc] 10 files are up to date. >>> [cc] 0 files to be recompiled from dependency analysis. >>> [cc] 2 total files to be compiled. >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:21:17: error: bfd.h: No such file or directory >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:22:21: error: dis-asm.h: No such file or directory >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:63: error: syntax error before =91fprintf_ftype=92 >>> [cc] cc1: warnings being treated as errors >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:65: warning: =91struct disassemble_info=92 declared inside =20= >>> parameter list >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:65: warning: its scope is only this definition or =20 >>> declaration, which is probably not what you want >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:70: error: field =91bfd_info=92 has incomplete type >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:81: error: syntax error before =91bfd_decoder=92 >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:81: warning: initialization makes integer from pointer =20 >>> without a cast >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:81: warning: data definition has no type or storage class >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:89: error: syntax error before =91src=92 >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c: In function =91disasm_read_memory=92: >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:94: error: =91buffer=92 undeclared (first use in this = function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:94: error: (Each undeclared identifier is reported only =20 >>> once >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:94: error: for each function it appears in.) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:94: error: =91src=92 undeclared (first use in this = function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:94: error: =91n=92 undeclared (first use in this function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c: At top level: >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:103: error: syntax error before =91memaddr=92 >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c: In function =91disasm_print_adress_default=92: >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:105: error: =91info=92 undeclared (first use in this = function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:105: error: =91memaddr=92 undeclared (first use in this =20 >>> function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c: In function =91disasm_print=92: >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:177: error: =91bfd_vma=92 undeclared (first use in this =20 >>> function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:177: error: syntax error before =91apr_uint32_t=92 >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:183: error: syntax error before =91apr_uint32_t=92 >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c: In function =91port_disasm_initialize=92: >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:297: error: =91disassembler_ftype=92 undeclared (first use =20= >>> in this function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:297: error: syntax error before =91bfd_print_insn_sym=92 >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c: In function =91port_disassembler_create=92: >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:330: error: =91bfd_arch_i386=92 undeclared (first use in =20= >>> this function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:331: error: =91bfd_mach_i386_i386_intel_syntax=92 = undeclared =20 >>> (first use in this function) >>> [cc] /home/robing/harmony/drlvm/vm/port/src/disasm/linux/=20 >>> disasm.c:339: error: =91BFD_ENDIAN_LITTLE=92 undeclared (first use = in =20 >>> this function) >>> >>> BUILD FAILED >>> /home/robing/harmony/drlvm/build/make/build.xml:404: The =20 >>> following error occurred while executing this line: >>> /home/robing/harmony/drlvm/build/make/build.xml:411: The =20 >>> following error occurred while executing this line: >>> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The =20= >>> following error occurred while executing this line: >>> /home/robing/harmony/drlvm/build/lnx_ia32_gcc_debug/semis/build/=20 >>> targets/build.native.xml:65: gcc failed with return code 1 >>> >>> Total time: 47 seconds >>> * >>> * Please, refer to README.txt for details. >>> >>> >>> >>> --------------------------------------------------------------------=20= >>> - >>> Terms of use : http://incubator.apache.org/harmony/mailing.html >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org >>> For additional commands, e-mail: harmony-dev-=20 >>> help@incubator.apache.org >>> >> --------------------------------------------------------------------- >> Terms of use : http://incubator.apache.org/harmony/mailing.html >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org >> For additional commands, e-mail: harmony-dev-=20 >> help@incubator.apache.org > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org