On 02-Aug-2004 Conrad J. Sabatier wrote: [snip] > Adding '#include "/usr/src/sys/amd64/include/vmparam.h"' to mem.c (I > know this is a hack) produces this: > > linking kernel.debug > amd64_mem.o(.text+0xa7a): In function `amd64_mrinit': > /usr/src/sys/amd64/amd64/amd64_mem.c:562: undefined reference to > `M_MEMDESC' > mem.o(.text+0x30c): In function `memioctl': > /usr/src/sys/amd64/amd64/mem.c:185: undefined reference to > `M_MEMDESC' > mem.o(.text+0x332):/usr/src/sys/amd64/amd64/mem.c:192: undefined > reference to `M_MEMDESC' > mem.o(.text+0x35a):/usr/src/sys/amd64/amd64/mem.c:200: undefined > reference to `M_MEMDESC' > mem.o(.text+0x38a):/usr/src/sys/amd64/amd64/mem.c:207: undefined > reference to `M_MEMDESC' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/CUSTOM. OK, I also see that in sys/i386/i386/mem.c we have: MALLOC_DEFINE(M_MEMDESC, "memdesc", "memory range descriptors"); But sys/amd64/amd64/mem.c has no such macro. -- Conrad J. Sabatier <conrads_at_cox.net> -- "In Unix veritas"Received on Sun Aug 01 2004 - 23:24:11 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC