Subject: Build failure - lib csu (under ELF)
To: None <port-hp300@netbsd.org>
From: NetBSD list <netbsd@mrynet.com>
List: port-hp300
Date: 01/06/2001 23:21:59
I'm getting the following after updating my hp300 to ELF (Don't know
if it happens on a non-ELF system):
includes ===> regress/usr.bin
includes ===> regress/usr.bin/m4
(cd /usr/src/lib/csu && make MKSHARE=no dependall && make MKSHARE=no install)
dependall ===> m68k
mkdep -a -DLIBC_SCCS -I/usr/src/lib/csu/m68k/../common_aout crt0.c
cc -O2 -Werror -DLIBC_SCCS -I/usr/src/lib/csu/m68k/../common_aout -c -DCRT0 -DDYNAMIC /usr/src/lib/csu/m68k/crt0.c -o crt0.o
cc1: warnings being treated as errors
In file included from /usr/src/lib/csu/m68k/crt0.c:117:
/usr/src/lib/csu/m68k/../common_aout/common.c:41: warning: `struct crt_ldso' declared inside parameter list
/usr/src/lib/csu/m68k/../common_aout/common.c:41: warning: its scope is only this definition or declaration,
/usr/src/lib/csu/m68k/../common_aout/common.c:41: warning: which is probably not what you want.
/usr/src/lib/csu/m68k/../common_aout/common.c: In function `__load_rtld':
/usr/src/lib/csu/m68k/../common_aout/common.c:48: storage size of `crt' isn't known
/usr/src/lib/csu/m68k/../common_aout/common.c:139: `CRT_VERSION_BSD_4' undeclared (first use in this function)
/usr/src/lib/csu/m68k/../common_aout/common.c:139: (Each undeclared identifier is reported only once
/usr/src/lib/csu/m68k/../common_aout/common.c:139: for each function it appears in.)
/usr/src/lib/csu/m68k/../common_aout/common.c:144: `CRT_VERSION_BSD_3' undeclared (first use in this function)
/usr/src/lib/csu/m68k/../common_aout/common.c:147: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c:150: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c: In function `dlopen':
/usr/src/lib/csu/m68k/../common_aout/common.c:174: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c: In function `dlclose':
/usr/src/lib/csu/m68k/../common_aout/common.c:184: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c: In function `dlsym':
/usr/src/lib/csu/m68k/../common_aout/common.c:195: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c: In function `dlctl':
/usr/src/lib/csu/m68k/../common_aout/common.c:206: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c: In function `dlerror':
/usr/src/lib/csu/m68k/../common_aout/common.c:215: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c: In function `dladdr':
/usr/src/lib/csu/m68k/../common_aout/common.c:226: dereferencing pointer to incomplete type
/usr/src/lib/csu/m68k/../common_aout/common.c:229: dereferencing pointer to incomplete type
*** Error code 1
I did remove and re-sup the source tree prior. Any suggestions?
Cheers,
-s