Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 80810 invoked from network); 21 Sep 2006 13:27:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 13:27:38 -0000 Received: (qmail 69864 invoked by uid 500); 21 Sep 2006 13:27:28 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 69816 invoked by uid 500); 21 Sep 2006 13:27:28 -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 69770 invoked by uid 99); 21 Sep 2006 13:27:28 -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 06:27:28 -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:1721] helo=mxout-03.mxes.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id A6/0C-04092-23392154 for ; Thu, 21 Sep 2006 06:27:16 -0700 Received: from [192.168.1.103] (unknown [67.86.14.219]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 6723851A08 for ; Thu, 21 Sep 2006 09:26:28 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <45121E83.5000903@anu.edu.au> References: <45121E83.5000903@anu.edu.au> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: <01BBAF6C-3160-4B4F-837F-1CF15484D6FF@pobox.com> Content-Transfer-Encoding: quoted-printable From: "Geir Magnusson Jr." Subject: Re: [DRLVM] Build problems - missing bfd.h Date: Thu, 21 Sep 2006 09:26:31 -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 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. > and add a URL to download xalan No need to do that either. The xalan problem means that DRLVM wasn't =20= finding the classlib tree correctly, where the Xalan dep is. By =20 default, DRLVM assumes that classlib and it are arranged on the =20 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 to =20 build/drlvm.properties and adjust so it's right. > , but now the build fails with a missing "bfd.h" (full error =20 > message below). you need to install binutils for bfd, IIRC. > > 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 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 = 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 = 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 in = =20 > 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 this = =20 > 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 following =20 > error occurred while executing this line: > /home/robing/harmony/drlvm/build/make/build.xml:411: The following =20 > 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. > > > > --------------------------------------------------------------------- > 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