Subject: ld.c fails to build (undefineds)
To: None <port-vax@netbsd.org>
From: NetBSD Mailing list <netbsd@mrynet.com>
List: port-vax
Date: 02/15/2000 15:14:31
I've been plagued with this problem for a month now, and a totally
clean world build has resulted in the same after sup'ing two days
ago.

dependall ===> gnu/usr.bin/ld/ld
mkdep -a  -I/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/../../../../libexec/ld.aout_so
-I/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/../../../../libexec/ld.aout_so/arch/vax
-I/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/symbol.c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/lib.c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/shlib.c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/warnings.c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/rrs.c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/xbits.c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/../../../../libexec/ld.aout_so/arch/vax/md.c
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes  -Werror
-I/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/../../../../libexec/ld.aout_so
-I/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/../../../../libexec/ld.aout_so/arch/vax
-I/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld -c
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c
In file included from /abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:99:
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld_i.h:432: syntax error before `*'
cc1: warnings being treated as errors
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld_i.h:432: warning: function declaration isn't a prototype
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `main':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:527: `PAGSIZ' undeclared (first use in this function)
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:527: (Each undeclared identifier is reported only once
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:527: for each function it appears in.)
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `read_header':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:1346: warning: implicit declaration of function `N_BADMID'
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `read_entry_symbols':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:1434: warning: implicit declaration of function `md_swapin_symbols'
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:1480: warning: implicit declaration of function `md_swap_long'
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `read_file_symbols':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:1625: warning: implicit declaration of function `N_IS_DYNAMIC'
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `digest_symbols':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:2145: `MAX_ALIGNMENT' undeclared (first use in this function)
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `consider_file_section_lengths':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:2588: `MAX_ALIGNMENT' undeclared (first use in this function)
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `digest_pass2':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:2811: `MAX_ALIGNMENT' undeclared (first use in this function)
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `write_header':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:2922: warning: implicit declaration of function `N_SET_FLAG'
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `perform_relocation':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:3271: warning: implicit declaration of function `md_got_reloc'
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c: In function `write_syms':
/abyss/ftp/pub/operatingsystems/NetBSD/vax-src/src/gnu/usr.bin/ld/ld/ld.c:3972: warning: implicit declaration of function `md_swapout_symbols'
*** Error code 1

Stop.


Any suggestions?   Bunk header I should reinstall?

Thanks,
-skots
--
Scott G. Akmentins-Taylor     InterNet: staylor@mrynet.com
MRY Systems			        staylor@mrynet.lv
    (Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
		----- Labak miris neka sarkans -----