harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [DRLVM] Build problems - missing bfd.h
Date Thu, 21 Sep 2006 15:41:45 GMT
That was on my list for today :)

On Sep 21, 2006, at 11:30 AM, Tim Ellison 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.
>>
>>> and add a URL to download xalan
>>
>> No need to do that either.  The xalan problem means that DRLVM wasn't
>> finding the classlib tree correctly, where the Xalan dep is.   By
>> default, DRLVM assumes that classlib and it are arranged 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,  
>> then
>> the relationship is different.
>>
>> The best way is to look at   build/drlvm.properties.example, copy to
>> build/drlvm.properties and adjust so it's right.
>
> Can you say that one more time please ;-)  Seriously, we need to  
> capture
> that in a technical FAQ.
>
>>> , but now the build fails with a missing "bfd.h" (full error message
>>> below).
>>
>> you need to install binutils for bfd, IIRC.
>
> and that...
>
> Regards,
> Tim
>
>>> 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/disasm.c:21:17:
>>> error: bfd.h: No such file or directory
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:22:21:
>>> error: dis-asm.h: No such file or directory
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:63:
>>> error: syntax error before ‘fprintf_ftype’
>>>        [cc] cc1: warnings being treated as errors
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:65:
>>> warning: ‘struct disassemble_info’ declared inside parameter list
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:65:
>>> warning: its scope is only this definition or declaration, which is
>>> probably not what you want
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:70:
>>> error: field ‘bfd_info’ has incomplete type
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:81:
>>> error: syntax error before ‘bfd_decoder’
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:81:
>>> warning: initialization makes integer from pointer without a cast
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:81:
>>> warning: data definition has no type or storage class
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:89:
>>> error: syntax error before ‘src’
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c: In
>>> function ‘disasm_read_memory’:
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:94:
>>> error: ‘buffer’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:94:
>>> error: (Each undeclared identifier is reported only once
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:94:
>>> error: for each function it appears in.)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:94:
>>> error: ‘src’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:94:
>>> error: ‘n’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c: At top
>>> level:
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:103:
>>> error: syntax error before ‘memaddr’
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c: In
>>> function ‘disasm_print_adress_default’:
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:105:
>>> error: ‘info’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:105:
>>> error: ‘memaddr’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c: In
>>> function ‘disasm_print’:
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:177:
>>> error: ‘bfd_vma’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:177:
>>> error: syntax error before ‘apr_uint32_t’
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:183:
>>> error: syntax error before ‘apr_uint32_t’
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c: In
>>> function ‘port_disasm_initialize’:
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:297:
>>> error: ‘disassembler_ftype’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:297:
>>> error: syntax error before ‘bfd_print_insn_sym’
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c: In
>>> function ‘port_disassembler_create’:
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:330:
>>> error: ‘bfd_arch_i386’ undeclared (first use in this function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:331:
>>> error: ‘bfd_mach_i386_i386_intel_syntax’ undeclared (first use in  
>>> this
>>> function)
>>>        [cc]
>>> /home/robing/harmony/drlvm/vm/port/src/disasm/linux/disasm.c:339:
>>> error: ‘BFD_ENDIAN_LITTLE’ undeclared (first use in this function)
>>>
>>> BUILD FAILED
>>> /home/robing/harmony/drlvm/build/make/build.xml:404: The following
>>> error occurred while executing this line:
>>> /home/robing/harmony/drlvm/build/make/build.xml:411: The following
>>> error occurred while executing this line:
>>> /home/robing/harmony/drlvm/build/make/build_component.xml:72: The
>>> following error occurred while executing this line:
>>> /home/robing/harmony/drlvm/build/lnx_ia32_gcc_debug/semis/build/ 
>>> 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
>>
>>
>
> -- 
>
> Tim Ellison (t.p.ellison@gmail.com)
> IBM Java technology centre, UK.
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message