Re: cvs commit: src/sys/sys memrange.h src/sys/amd64/amd64 mem.c mp_machdep.c src/sys/i386/i386 mem.c mp_machdep.c src/sys/dev/mem memdev.c memutil.c src/sys/modules/mem Makefile

From: Hannes Mehnert <hannes_at_mehnert.org>
Date: Thu, 5 Aug 2004 01:59:49 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mark,

On Wed, Aug 04, 2004 at 06:30:31PM +0000, Mark Murray wrote:
> markm       2004-08-04 18:30:31 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/sys              memrange.h 
>     sys/amd64/amd64      mem.c mp_machdep.c 
>     sys/i386/i386        mem.c mp_machdep.c 
>     sys/dev/mem          memdev.c 
>     sys/modules/mem      Makefile 
>   Added files:
>     sys/dev/mem          memutil.c 
>   Log:
>   Fix module builds for i386 and amd64.

This commit broke /dev/mem for me.
Trying to load the module when building /dev/mem as a module ended up
in following kernel message:
kernel: link_elf: symbol mem_range_softc undefined

When trying to compile /dev/mem in kernel (device mem), the following
error occured:
memutil.o(.text+0x10): In function `mem_range_attr_get':
/usr/src/sys/dev/mem/memutil.c:43: undefined reference to
`mem_range_softc'
memutil.o(.text+0x1d):/usr/src/sys/dev/mem/memutil.c:47: undefined
reference to `mem_range_softc'
memutil.o(.text+0x3f):/usr/src/sys/dev/mem/memutil.c:49: undefined
reference to `mem_range_softc'
memutil.o(.text+0x6d): In function `mem_range_attr_set':
/usr/src/sys/dev/mem/memutil.c:58: undefined reference to
`mem_range_softc'
memutil.o(.text+0x85):/usr/src/sys/dev/mem/memutil.c:61: undefined
reference to `mem_range_softc'
memutil.o(.text+0x8a):/usr/src/sys/dev/mem/memutil.c:61: more undefined
references to `mem_range_softc' follow


Best Regards,

Hannes Mehnert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBEXhxRcuNlziBjRwRAjgIAJ9u6W5i74HTw2wGxNsga3D9SDt4jQCgrEYa
J2L+og23qW1cGuFfIrdC5G8=
=w2LY
-----END PGP SIGNATURE-----
Received on Wed Aug 04 2004 - 21:59:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC