Subject: _dumpspec not defined
To: None <current-users@NetBSD.ORG>
From: Paul M. Newhouse <newhouse@rockhead.com>
List: current-users
Date: 07/07/1997 23:46:27
I'm building a current that's a few days old:
1) how do I get rid of all the -W<stuff> that won't let me finish a "make build"
from /usr/src, because so many directories have petty warnings that kill the
build. I edited all the makefiles and /usr/share/mk/* but, they keep appearing.
2) What did I do wrong here?:
ld -z -Ttext F8100000 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
kern_subr.o: Undefined symbol `_dumpspec' referenced from text segment
kern_subr.o: Undefined symbol `_dumpspec' referenced from text segment
*** Error code 1
find /usr/src -name "*.[ch]" -print|xargs -n 500 grep dumpspec
returns:
./usr.sbin/config/mkswap.c: if (fprintf(fp, "const char *dumpspec = %s;\n", specinfo) < 0)
./gnu/usr.bin/gcc2/cc/gcc.c: if (! strcmp (argv[i], "-dumpspecs"))
./gnu/usr.bin/gcc/cc/gcc.c: if (! strcmp (argv[i], "-dumpspecs"))
./sys/kern/kern_subr.c: dumpspec = "none";
./sys/kern/kern_subr.c: if (dumpspec != NULL && strcmp(dumpspec, "none") == 0) {
./sys/kern/kern_subr.c: * (b) If dumpspec is set, try to use it. If the device
./sys/kern/kern_subr.c: * (c) If dumpspec is not set, the dump device is
./sys/kern/kern_subr.c: if (dumpspec != NULL) {
./sys/sys/systm.h:extern const char *dumpspec; /* how dump device was specified */
Where is _dumpsec supposed to be defined?
TIA,
Paul