source upgrading from 5.2.1-p11 to RELENG_5 causes compile error in /usr/src/contrib/binutils/bfd (from /usr/src/gnu/usr.bin/binutils/libbfd)

From: Steve Hodgson <steve_at_acidy.com>
Date: Mon, 11 Oct 2004 14:04:36 +0100
I've been cvsupping for the past few days and i always get the following
error. I've been unable to find much of this on google.

My /etc/make.conf has nothing in particular in it, and i've not done
anything silly in the past with make includes et al. I've tried setting
OSRELDATE to zero to no avail, and i've looked through /usr/src/UPDATING and
not found much. I've also tried running make cleandir (x2), deleting
/usr/obj again to no success. finally I can cd directly into
/usr/src/gnu/usr.bin/binutils/libbfd and "make" products the same error.

Am I missing the obvious?

Steve

apoligies for the length...

BEGIN################################################
===> gnu/usr.bin/binutils/libbfd
cc -O -pipe -I. -I/usr/src/gnu/usr.bin/binutils/libbfd/i386
-I/usr/src/gnu/usr.bin/binutils/libbfd
-I/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd
-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/binutils/libbfd/../libbfd
-I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/include
-D_GNU_SOURCE
-I/usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd
-DSELECT_ARCHITECTURES=" &bfd_i386_arch" -DHAVE_bfd_elf32_i386_freebsd_vec
-DHAVE_bfd_elf32_i386_vec -DSELECT_VECS=" &bfd_elf32_i386_freebsd_vec
,&bfd_elf32_i386_vec" -DDEFAULT_VECTOR=bfd_elf32_i386_freebsd_vec
-I/usr/obj/usr/src/i386/legacy/usr/include -c
/usr/src/contrib/binutils/bfd/cpu-i386.c
In file included from /usr/src/contrib/binutils/bfd/cpu-i386.c:23:
/usr/src/contrib/binutils/bfd/libbfd.h:114: error: syntax error before
"_bfd_add_bfd_to_archive_cache"
/usr/src/contrib/binutils/bfd/libbfd.h:115: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:116: error: syntax error before
"_bfd_generic_mkarchive"
/usr/src/contrib/binutils/bfd/libbfd.h:117: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:120: error: syntax error before
"bfd_slurp_armap"
/usr/src/contrib/binutils/bfd/libbfd.h:121: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:122: error: syntax error before
"bfd_slurp_bsd_armap_f2"
/usr/src/contrib/binutils/bfd/libbfd.h:123: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:126: error: syntax error before
"_bfd_slurp_extended_name_table"
/usr/src/contrib/binutils/bfd/libbfd.h:127: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:128: error: syntax error before
"_bfd_construct_extended_name_table"
/usr/src/contrib/binutils/bfd/libbfd.h:129: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:129: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:130: error: syntax error before
"_bfd_write_archive_contents"
/usr/src/contrib/binutils/bfd/libbfd.h:131: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:132: error: syntax error before
"_bfd_compute_and_write_armap"
/usr/src/contrib/binutils/bfd/libbfd.h:133: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:143: error: syntax error before
"bfd_false"
/usr/src/contrib/binutils/bfd/libbfd.h:144: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:145: error: syntax error before
"bfd_true"
/usr/src/contrib/binutils/bfd/libbfd.h:146: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:172: error: syntax error before
"bsd_write_armap"
/usr/src/contrib/binutils/bfd/libbfd.h:174: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:176: error: syntax error before
"coff_write_armap"
/usr/src/contrib/binutils/bfd/libbfd.h:178: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:202: error: syntax error before
"_bfd_generic_get_section_contents"
/usr/src/contrib/binutils/bfd/libbfd.h:203: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:204: error: syntax error before
"_bfd_generic_get_section_contents_in_window"
/usr/src/contrib/binutils/bfd/libbfd.h:205: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:230: error: syntax error before
"_bfd_nocore_core_file_matches_executable_p"
/usr/src/contrib/binutils/bfd/libbfd.h:231: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:260: error: syntax error before
"_bfd_archive_bsd_construct_extended_name_table"
/usr/src/contrib/binutils/bfd/libbfd.h:261: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:270: error: syntax error before
"_bfd_archive_bsd_update_armap_timestamp"
/usr/src/contrib/binutils/bfd/libbfd.h:271: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:279: error: syntax error before
"_bfd_archive_coff_construct_extended_name_table"
/usr/src/contrib/binutils/bfd/libbfd.h:280: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:342: error: syntax error before
"_bfd_generic_set_section_contents"
/usr/src/contrib/binutils/bfd/libbfd.h:343: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:392: error: syntax error before
"bfd_generic_is_local_label_name"
/usr/src/contrib/binutils/bfd/libbfd.h:393: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:397: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:399: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:402: error: syntax error before
"_bfd_stab_section_find_nearest_line"
/usr/src/contrib/binutils/bfd/libbfd.h:403: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:404: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:407: error: syntax error before
"_bfd_dwarf1_find_nearest_line"
/usr/src/contrib/binutils/bfd/libbfd.h:409: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:412: error: syntax error before
"_bfd_dwarf2_find_nearest_line"
/usr/src/contrib/binutils/bfd/libbfd.h:414: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:426: error: syntax error before
"_bfd_link_hash_table_init"
/usr/src/contrib/binutils/bfd/libbfd.h:430: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:441: error: syntax error before
"_bfd_generic_link_add_symbols"
/usr/src/contrib/binutils/bfd/libbfd.h:442: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:447: error: syntax error before
"_bfd_generic_link_add_symbols_collect"
/usr/src/contrib/binutils/bfd/libbfd.h:448: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:451: error: syntax error before
"_bfd_generic_link_add_archive_symbols"
/usr/src/contrib/binutils/bfd/libbfd.h:453: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:453: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:459: error: syntax error before
"_bfd_generic_link_add_one_symbol"
/usr/src/contrib/binutils/bfd/libbfd.h:461: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:462: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:469: error: syntax error before
"_bfd_generic_final_link"
/usr/src/contrib/binutils/bfd/libbfd.h:470: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:472: error: syntax error before
"_bfd_generic_link_split_section"
/usr/src/contrib/binutils/bfd/libbfd.h:473: warning: `struct bfd_section'
declared inside parameter list
/usr/src/contrib/binutils/bfd/libbfd.h:473: warning: its scope is only this
definition or declaration, which is probably not what you want
/usr/src/contrib/binutils/bfd/libbfd.h:473: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:476: error: syntax error before
"_bfd_generic_reloc_link_order"
/usr/src/contrib/binutils/bfd/libbfd.h:477: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:480: error: syntax error before
"_bfd_default_link_order"
/usr/src/contrib/binutils/bfd/libbfd.h:481: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:498: error: syntax error before
"_bfd_link_section_stabs"
/usr/src/contrib/binutils/bfd/libbfd.h:499: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:502: error: syntax error before
"_bfd_discard_section_stabs"
/usr/src/contrib/binutils/bfd/libbfd.h:503: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:503: error:
`_bfd_discard_section_stabs' declared as function returning a function
/usr/src/contrib/binutils/bfd/libbfd.h:503: error: syntax error before
"void"
/usr/src/contrib/binutils/bfd/libbfd.h:507: error: syntax error before
"_bfd_write_section_stabs"
/usr/src/contrib/binutils/bfd/libbfd.h:508: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:512: error: syntax error before
"_bfd_write_stab_strings"
/usr/src/contrib/binutils/bfd/libbfd.h:513: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:523: error: syntax error before
"_bfd_merge_section"
/usr/src/contrib/binutils/bfd/libbfd.h:524: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:528: error: syntax error before
"_bfd_merge_sections"
/usr/src/contrib/binutils/bfd/libbfd.h:529: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:533: error: syntax error before
"_bfd_write_merged_section"
/usr/src/contrib/binutils/bfd/libbfd.h:534: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:559: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:562: error: syntax error before
"_bfd_stringtab_emit"
/usr/src/contrib/binutils/bfd/libbfd.h:563: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:566: error: syntax error before
"_bfd_generic_verify_endian_match"
/usr/src/contrib/binutils/bfd/libbfd.h:567: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:628: error: syntax error before
"_bfd_ecoff_locate_line"
/usr/src/contrib/binutils/bfd/libbfd.h:631: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:632: error: syntax error before
"_bfd_ecoff_get_accumulated_pdr"
/usr/src/contrib/binutils/bfd/libbfd.h:633: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:634: error: syntax error before
"_bfd_ecoff_get_accumulated_sym"
/usr/src/contrib/binutils/bfd/libbfd.h:635: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:636: error: syntax error before
"_bfd_ecoff_get_accumulated_ss"
/usr/src/contrib/binutils/bfd/libbfd.h:637: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:648: error: syntax error before
"_bfd_sh_align_load_span"
/usr/src/contrib/binutils/bfd/libbfd.h:650: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:650: error: `_bfd_sh_align_load_span'
declared as function returning a function
/usr/src/contrib/binutils/bfd/libbfd.h:651: error: syntax error before
"void"
/usr/src/contrib/binutils/bfd/libbfd.h:655: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:676: error: syntax error before
"bfd_cache_init"
/usr/src/contrib/binutils/bfd/libbfd.h:676: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:678: error: syntax error before
"bfd_cache_close"
/usr/src/contrib/binutils/bfd/libbfd.h:678: error: conflicting types for
`bfd_cache_close'
/usr/src/gnu/usr.bin/binutils/libbfd/i386/bfd.h:547: error: previous
declaration of `bfd_cache_close'
/usr/src/contrib/binutils/bfd/libbfd.h:678: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:1527: error: syntax error before
"bfd_generic_relax_section"
/usr/src/contrib/binutils/bfd/libbfd.h:1531: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:1531: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:1533: error: syntax error before
"bfd_generic_gc_sections"
/usr/src/contrib/binutils/bfd/libbfd.h:1534: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:1536: error: syntax error before
"bfd_generic_merge_sections"
/usr/src/contrib/binutils/bfd/libbfd.h:1537: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:1544: error: syntax error before
"bfd_boolean"
/usr/src/contrib/binutils/bfd/libbfd.h:1549: error: syntax error before
"bfd_default_set_arch_mach"
/usr/src/contrib/binutils/bfd/libbfd.h:1550: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/libbfd.h:1555: error: syntax error before
"bfd_default_scan"
/usr/src/contrib/binutils/bfd/libbfd.h:1556: warning: data definition has no
type or storage class
/usr/src/contrib/binutils/bfd/cpu-i386.c:35: error: `TRUE' undeclared here
(not in a function)
/usr/src/contrib/binutils/bfd/cpu-i386.c:35: error: initializer element is
not constant
/usr/src/contrib/binutils/bfd/cpu-i386.c:35: error: (near initialization for
`bfd_i386_arch_intel_syntax.the_default')
/usr/src/contrib/binutils/bfd/cpu-i386.c:37: warning: initialization from
incompatible pointer type
/usr/src/contrib/binutils/bfd/cpu-i386.c:50: error: `TRUE' undeclared here
(not in a function)
/usr/src/contrib/binutils/bfd/cpu-i386.c:50: error: initializer element is
not constant
/usr/src/contrib/binutils/bfd/cpu-i386.c:50: error: (near initialization for
`bfd_x86_64_arch_intel_syntax.the_default')
/usr/src/contrib/binutils/bfd/cpu-i386.c:52: warning: initialization from
incompatible pointer type
/usr/src/contrib/binutils/bfd/cpu-i386.c:65: error: `FALSE' undeclared here
(not in a function)
/usr/src/contrib/binutils/bfd/cpu-i386.c:65: error: initializer element is
not constant
/usr/src/contrib/binutils/bfd/cpu-i386.c:65: error: (near initialization for
`i8086_arch.the_default')
/usr/src/contrib/binutils/bfd/cpu-i386.c:67: warning: initialization from
incompatible pointer type
/usr/src/contrib/binutils/bfd/cpu-i386.c:81: error: `TRUE' undeclared here
(not in a function)
/usr/src/contrib/binutils/bfd/cpu-i386.c:81: error: initializer element is
not constant
/usr/src/contrib/binutils/bfd/cpu-i386.c:81: error: (near initialization for
`bfd_x86_64_arch.the_default')
/usr/src/contrib/binutils/bfd/cpu-i386.c:83: warning: initialization from
incompatible pointer type
/usr/src/contrib/binutils/bfd/cpu-i386.c:97: error: `TRUE' undeclared here
(not in a function)
/usr/src/contrib/binutils/bfd/cpu-i386.c:97: error: initializer element is
not constant
/usr/src/contrib/binutils/bfd/cpu-i386.c:97: error: (near initialization for
`bfd_i386_arch.the_default')
/usr/src/contrib/binutils/bfd/cpu-i386.c:99: warning: initialization from
incompatible pointer type
*** Error code 1

END################################################
Received on Mon Oct 11 2004 - 11:04:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC