Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: drm_bufs.c not compiling on i386-current



In message <alpine.NEB.1.10.0806191754300.583%chris.i8u.org@localhost>
        on Thu, 19 Jun 2008 17:55:44 -0700 (PDT),
        Hisashi T Fujinaka <htodd%twofifty.com@localhost> wrote:
> #   compile  drm/drm_bufs.o
> /usr/src/obj.i386/tooldir.NetBSD-4.99.66-i386/bin/i386--netbsdelf-gcc -O2 
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
> -Wno-sign-compare -Wno-traditional  -Werror  -ffreestanding  
> -fno-strict-aliasing -Wno-pointer-sign  -I/usr/src/common/include 
> -I/usr/src/common/include  -nostdinc -I. -I/usr/src/sys/modules/drm -isystem 
> /usr/src/sys -isystem /usr/src/sys/arch -isystem 
> /usr/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE -c    
> /usr/src/sys/dev/drm/drm_bufs.c
> cc1: warnings being treated as errors
> /usr/src/sys/dev/drm/drm_bufs.c: In function 'drm_addmap':
> /usr/src/sys/dev/drm/drm_bufs.c:181: warning: implicit declaration of 
> function 'btop'
> *** Error code 1
I'm not sure but might be btoc()?

Calling btop() code exists in drm_pci.c, too.

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index