harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Gorr" <vvg...@gmail.com>
Subject Re: [DRLVM] Build problems - missing bfd.h
Date Thu, 21 Sep 2006 05:22:06 GMT
Probably, not all packages have been installed on your machine.

As for me it's very strange you've struck against this problem. Some time
ago
a patch has been prepared eliminating this dependency. Geir, could you
please
comment on this? Or did I miss anything again?

Thanks in advance,
Vladimir.

On 9/21/06, Robin Garner <robin.garner@anu.edu.au> wrote:
>
> Trying to build the latest trunk (r448461) on Ubuntu (6.06).  Had to
> hack build.sh because the ant executable isn't in ANT_HOME, and add a
> URL to download xalan, but now the build fails with a missing "bfd.h"
> (full error message below).
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message