Subject: Re: Kernel link failure with sources retrieved earlier today.
To: Monroe Williams <>
From: Greg Oster <>
List: current-users
Date: 09/07/2002 17:11:57
Monroe Williams writes:
> Building a kernel with all the raidframe options enabled, I get:
> [...]
> ld -N -Ttext 0x100000 -e __start -S -o netbsd ${SYSTEM_OBJ} vers.o
> rf_evenodd.o: In function `rf_VerifyParityEvenOdd':
> rf_evenodd.o(.text+0xf84): undefined reference to `rf_PrintDAGList'
> rf_evenodd.o(.text+0x11d4): undefined reference to `rf_PrintDAGList'
> rf_evenodd.o(.text+0x1348): undefined reference to `rf_PrintDAGList'
> rf_paritylogDiskMgr.o: In function `ReadRegionParity':
> rf_paritylogDiskMgr.o(.text+0x660): undefined reference to `rf_ValidateDAG'
> *** Error code 1
> Stop.
> make: stopped in /mount/ide/netcvs/src/sys/arch/macppc/compile/INDIRECT
> It looks like rf_PrintDAGList and rf_ValidateDAG are defined in
> rf_dagutils.c inside "#if RF_DEBUG_VALIDATE_DAG", while not all
> calls to them are likewise guarded.  Here's a patch that worked
> for me:

For some reason, I missed this when it was sent to current-users, and I didn't 
notice it until today (when I was looking for something else).  :(

The problem should be fixed now. Thanks for the patch.


Greg Oster