Subject: More problems compiling current - common.c
To: None <current-users@netbsd.org>
From: Paul Newhouse <newhouse@totalarchive.com>
List: current-users
Date: 04/03/2001 07:52:31
Paul G. clued me in on libc but now I'm stuck trying to compile common.c:
cc -O2 -Werror -Wno-error -DLIBC_SCCS -I/usr/src/lib/csu/i386/../common_aout -nostdinc -idirafter //usr/include -c -DCRT0 -DDYNAMIC /usr/src/lib/csu/i386/crt0.c -o crt0.o
In file included from /usr/src/lib/csu/i386/crt0.c:117:
/usr/src/lib/csu/i386/../common_aout/common.c:41: warning: `struct crt_ldso' declared inside parameter list
/usr/src/lib/csu/i386/../common_aout/common.c:41: warning: its scope is only this definition or declaration,
/usr/src/lib/csu/i386/../common_aout/common.c:41: warning: which is probably not what you want.
/usr/src/lib/csu/i386/../common_aout/common.c: In function `__load_rtld':
/usr/src/lib/csu/i386/../common_aout/common.c:48: storage size of `crt' isn't known
/usr/src/lib/csu/i386/../common_aout/common.c:139: `CRT_VERSION_BSD_4' undeclared (first use in this function)
/usr/src/lib/csu/i386/../common_aout/common.c:139: (Each undeclared identifier is reported only once
/usr/src/lib/csu/i386/../common_aout/common.c:139: for each function it appears in.)
/usr/src/lib/csu/i386/../common_aout/common.c:144: `CRT_VERSION_BSD_3' undeclared (first use in this function)
/usr/src/lib/csu/i386/../common_aout/common.c:147: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c:150: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c: In function `dlopen':
/usr/src/lib/csu/i386/../common_aout/common.c:174: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c: In function `dlclose':
/usr/src/lib/csu/i386/../common_aout/common.c:184: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c: In function `dlsym':
/usr/src/lib/csu/i386/../common_aout/common.c:195: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c: In function `dlctl':
/usr/src/lib/csu/i386/../common_aout/common.c:206: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c: In function `dlerror':
/usr/src/lib/csu/i386/../common_aout/common.c:215: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c: In function `dladdr':
/usr/src/lib/csu/i386/../common_aout/common.c:226: dereferencing pointer to incomplete type
/usr/src/lib/csu/i386/../common_aout/common.c:229: dereferencing pointer to incomplete type
Where did I go wrong now?
TIA,
Paul Newhouse