mgadrm fail in -CURRENT

From: Nguyen Tam Chinh <chinhngt_at_sectorb.msk.ru>
Date: Sat, 23 Apr 2005 01:01:52 +0400 (MSD)
Hello All,
I've just compiled -CURRENT (cvsup some hours ago) and the magdrm seemed 
to be fail.
Last week's -CURRENT build was okay.

MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC
cc -c -O2 -pipe -ffast-math -fno-strict-aliasing -march=pentium4 -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq 
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf 
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd 
-I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -include 
opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2 -ffreestanding -Werror  vers.c
linking kernel
mga_dma.o(.text+0xa): In function `mga_do_wait_for_idle':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x97): In function `mga_do_dma_flush':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x142): In function `mga_do_dma_flush':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x15e): In function `mga_do_dma_flush':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x179): In function `mga_do_dma_flush':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x1b1): more undefined references to `drm_debug_flag' 
follow
mga_dma.o(.text+0x6f4): In function `mga_do_cleanup_dma':
: undefined reference to `drm_free'
mga_dma.o(.text+0x726): In function `mga_do_cleanup_dma':
: undefined reference to `drm_free'
mga_dma.o(.text+0x758): In function `mga_do_cleanup_dma':
: undefined reference to `drm_ioremapfree'
mga_dma.o(.text+0x765): In function `mga_do_cleanup_dma':
: undefined reference to `drm_irq_uninstall'
mga_dma.o(.text+0x7a5): In function `mga_do_cleanup_dma':
: undefined reference to `drm_ioremapfree'
mga_dma.o(.text+0x7da): In function `mga_do_cleanup_dma':
: undefined reference to `drm_ioremapfree'
mga_dma.o(.text+0x899): In function `mga_dma_init':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x8b5): In function `mga_dma_init':
: undefined reference to `drm_alloc'
mga_dma.o(.text+0xa62): In function `mga_dma_init':
: undefined reference to `drm_ioremap'
mga_dma.o(.text+0xa77): In function `mga_dma_init':
: undefined reference to `drm_ioremap'
mga_dma.o(.text+0xa8c): In function `mga_dma_init':
: undefined reference to `drm_ioremap'
mga_dma.o(.text+0xce6): In function `mga_dma_init':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0xd02): In function `mga_dma_init':
: undefined reference to `drm_alloc'
mga_dma.o(.text+0xe27): In function `mga_dma_init':
: undefined reference to `drm_alloc'
mga_dma.o(.text+0xf1f): In function `mga_dma_flush':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x1043): In function `mga_dma_reset':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x1261): In function `mga_dma_buffers':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x1321): In function `mga_dma_buffers':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x135b): In function `mga_dma_buffers':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x144e): more undefined references to `drm_debug_flag' 
follow
mga_drv.o(.text+0x15): In function `mga_probe':
mga_dma.o(.text+0xce6): In function `mga_dma_init':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0xd02): In function `mga_dma_init':
: undefined reference to `drm_alloc'
mga_dma.o(.text+0xe27): In function `mga_dma_init':
: undefined reference to `drm_alloc'
mga_dma.o(.text+0xf1f): In function `mga_dma_flush':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x1043): In function `mga_dma_reset':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x1261): In function `mga_dma_buffers':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x1321): In function `mga_dma_buffers':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x135b): In function `mga_dma_buffers':
: undefined reference to `drm_debug_flag'
mga_dma.o(.text+0x144e): more undefined references to `drm_debug_flag' 
follow
mga_drv.o(.text+0x15): In function `mga_probe':
: undefined reference to `drm_probe'
mga_drv.o(.text+0xdd): In function `mga_attach':
: undefined reference to `drm_attach'
mga_drv.o(.data+0x48): undefined reference to `drm_devclass'
mga_drv.o(.data+0x94): undefined reference to `drm_detach'
mga_irq.o(.text+0x51): In function `mga_driver_irq_handler':
: undefined reference to `drm_vbl_send_signals'
mga_state.o(.text+0xa64): In function `mga_dma_clear':
: undefined reference to `drm_debug_flag'
mga_state.o(.text+0xc40): In function `mga_dma_clear':
: undefined reference to `drm_debug_flag'
mga_state.o(.text+0xe07): In function `mga_dma_swap':
: undefined reference to `drm_debug_flag'
mga_state.o(.text+0xf3b): In function `mga_dma_swap':
: undefined reference to `drm_debug_flag'
mga_state.o(.text+0xfd6): In function `mga_dma_swap':
: undefined reference to `drm_debug_flag'
mga_state.o(.text+0x11ad): more undefined references to `drm_debug_flag' 
follow
*** Error code 1

Stop in /mnt/music/Temp/obj/usr/src/sys/kernel.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
chinhngt_at_it#


-----
With best regards,          |            The Power to Serve
Nguyen Tam Chinh            |          http://www.FreeBSD.org
Loc: sp.cs.msu.ru           |
Received on Fri Apr 22 2005 - 19:00:19 UTC

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