Subject: Re: Link failure - custom kernel with if_rum defined
To: None <paul@whooppee.com, current-users@NetBSD.org>
From: John Nemeth <jnemeth@victoria.tc.ca>
List: current-users
Date: 05/06/2007 15:54:59
On Aug 22, 3:48am, Paul Goyette wrote:
}
} Sources updated via CVS at "Sun May 6 21:34:35 UTC 2007"
}
} Kernel config file contains
}
} rum* at uhub? port ?
}
} Got the following errors:
} # link LAPPY/netbsd
} /usr/obj/tooldir/x86_64/i386/bin/i386--netbsdelf-ld -Map netbsd.map --cref -T
} /u
} sr/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd
} ${
} SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
} if_rum.o: In function `rum_init':
} if_rum.c:(.text+0x1b73): undefined reference to `firmware_open'
} if_rum.c:(.text+0x1b86): undefined reference to `firmware_get_size'
} if_rum.c:(.text+0x1b93): undefined reference to `firmware_malloc'
} if_rum.c:(.text+0x1bc0): undefined reference to `firmware_read'
} if_rum.c:(.text+0x1bcd): undefined reference to `firmware_close'
} if_rum.c:(.text+0x1ca5): undefined reference to `firmware_free'
} if_rum.c:(.text+0x1ccf): undefined reference to `firmware_free'
} if_rum.c:(.text+0x1fd6): undefined reference to `firmware_free'
} if_rum.c:(.text+0x229a): undefined reference to `firmware_close'
} *** [netbsd] Error code 1
} 1 error
}
} nbmake: stopped in /usr/obj/objdir/i386/sys/arch/i386/compile/LAPPY
}
} I'm not sure why sys/dev/firmload.c (which seems to be where those
} routines get defined) isn't getting included...
Fixed. Thanks for the report.
}-- End of excerpt from Paul Goyette