Subject: Re: undefined symbols when linking kernel
To: matthew green <mrg@eterna.com.au>
From: Benjamin Lorenz <lorenz@ps.uni-sb.de>
List: port-sparc
Date: 08/11/1998 09:51:59
> ld -N -p -Ttext F0004000 -e start -S -o netbsd ${SYSTEM_OBJ} vers.o
> dma.o: Undefined symbol `_ncr53c9x_debug' referenced from text segment
> dma.o: Undefined symbol `_ncr53c9x_debug' referenced from text segment
>
> i don't see ncr53c9x_debug in my dma.c. it is defined in ncr53c9x.c:
>
> int ncr53c9x_debug = 0;
>
> unconditionally. are you defining NCR53C9X_DEBUG for some reason?
It is defined in dev/ic/ncr53c9xvar.h:
/* Set this to 1 for normal debug, or 2 for per-target tracing. */
#define NCR53C9X_DEBUG 1
It seems as ncr53c9x.c doesn't get compiled because I removed SCSI support
completely...
--
Benjamin <lorenz@dfki.de>