mem.c: mem_range_softc undefined reference

Sean McNeil sean at mcneil.com
Thu Aug 5 20:16:44 PDT 2004


On Thu, 2004-08-05 at 20:02, Conrad J. Sabatier wrote:
> On 04-Aug-2004 Ceri Davies wrote:
> > On Wed, Aug 04, 2004 at 01:57:36PM -0700, Sean McNeil wrote:
> >> Anyone else getting this?  I've compared my kernel config with
> >> GENERIC
> >> and I have the extra devices that were added recently.
> > 
> > markm just committed a fix for this.
> 
> I don't think so.  Where do you see this?  I'm still getting:
> 
> linking kernel
> amd64_mem.o(.text+0xc1c): In function `amd64_mem_drvinit':
> : undefined reference to `mem_range_softc'
> mem.o(.text+0x24f): In function `memioctl':
> : undefined reference to `mem_range_softc'
> mem.o(.text+0x25a): In function `memioctl':
> : undefined reference to `mem_range_softc'
> mem.o(.text+0x364): In function `dev_mem_md_init':
> : undefined reference to `mem_range_softc'
> mem.o(.text+0x378): In function `dev_mem_md_init':
> : undefined reference to `mem_range_softc'
> memutil.o(.text+0x3): more undefined references to `mem_range_softc'
> follow
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/CUSTOM.

This is because your CUSTOM does not have options SMP.  Try adding it. 
UP is still broken.  I think a fix for i386 has already been made, but
amd64 didn't get fixed.

Cheers,
Sean




More information about the freebsd-amd64 mailing list