Date: Tue, 6 Sep 2005 20:38:26 +0300 From: Giorgos Keramidas <keramida@freebsd.org> To: Robert Huff <roberthuff@rcn.com> Cc: freebsd-current@freebsd.org Subject: Re: buildkernel failure: undefined reference Message-ID: <20050906173826.GA93628@orion.daedalusnetworks.priv> In-Reply-To: <17181.53420.661524.694754@jerusalem.litteratus.org> References: <17181.53420.661524.694754@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-09-06 13:23, Robert Huff <roberthuff@rcn.com> wrote: > > I'm trying to upgrade from -CURRENT(March 29) to > -CURRENT(00:01 Sept 6) and buildkernel fails. Specifically, the > code compiles, but the link phase dies with: > > [...] > linking kernel.debug > mga_dma.o(.text+0xd): In function `mga_do_wait_for_idle': > /usr/src/sys/dev/drm/mga_dma.c:56: undefined reference to `drm_debug_flag' > mga_dma.o(.text+0xa3): In function `mga_do_dma_reset': > /usr/src/sys/dev/drm/mga_dma.c:79: undefined reference to `drm_debug_flag' > mga_dma.o(.text+0x10b): In function `mga_do_dma_flush': > /usr/src/sys/dev/drm/mga_dma.c:109: undefined reference to `drm_debug_flag' > mga_dma.o(.text+0x17b):/usr/src/sys/dev/drm/mga_dma.c:120: undefined reference t > o `drm_debug_flag' > mga_dma.o(.text+0x21a):/usr/src/sys/dev/drm/mga_dma.c:148: undefined reference t > o `drm_debug_flag' > mga_dma.o(.text+0x257):/usr/src/sys/dev/drm/mga_dma.c:149: more undefined refere > nces to `drm_debug_flag' follow > mga_dma.o(.text+0x633): In function `mga_freelist_init': > /usr/src/sys/dev/drm/mga_dma.c:254: undefined reference to `drm_alloc' > mga_dma.o(.text+0x6be):/usr/src/sys/dev/drm/mga_dma.c:265: undefined reference t > o `drm_alloc' > > etc.. > I have examined /usr/src/UPDATING and found noting applicable. > What have I missed? > (make.conf and kernel config are appended.) Your kernel config includes: device mgadrm But it lacks a 'drm' device too. Start over from GENERIC and add one by one your local modifications, carefully making sure all the new options and their dependencies of options are ok.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050906173826.GA93628>