mvista.com rsync linuxppc-2.5 -- drivers/char/drm/drm_memory.h:145: `radeon_mem_stats' undeclared (first use in this function)

Michel Dänzer michel at daenzer.net
Wed May 7 23:17:07 EST 2003


On Mit, 2003-05-07 at 10:36, Michel Dänzer wrote:
> On Mit, 2003-05-07 at 04:04, Miles Lane wrote:
> >
> >    gcc -Wp,-MD,drivers/char/drm/.radeon_drv.o.d -D__KERNEL__ -Iinclude
> > -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> > -fno-common -Iarch/ppc -msoft-float -pipe -ffixed-r2 -Wno-uninitialized
> > -mmultiple -mstring -fomit-frame-pointer -nostdinc -iwithprefix include
> >     -DKBUILD_BASENAME=radeon_drv -DKBUILD_MODNAME=radeon -c -o
> > drivers/char/drm/radeon_drv.o drivers/char/drm/radeon_drv.c
> > In file included from drivers/char/drm/radeon_drv.c:49:
> > drivers/char/drm/drm_memory.h: In function `radeon_ioremap_agp':
> > drivers/char/drm/drm_memory.h:145: `radeon_mem_stats' undeclared (first
> > use in this function)
> > drivers/char/drm/drm_memory.h:145: (Each undeclared identifier is
> > reported only once
> > drivers/char/drm/drm_memory.h:145: for each function it appears in.)
> > drivers/char/drm/drm_memory.h:157: `radeon_mem_lock' undeclared (first
> > use in this function)
> > drivers/char/drm/drm_memory.h: In function `radeon_ioremap_agp_free':
> > drivers/char/drm/drm_memory.h:212: `radeon_mem_stats' undeclared (first
> > use in this function)
> > drivers/char/drm/drm_memory.h:216: `radeon_mem_lock' undeclared (first
> > use in this function)
> > make[3]: *** [drivers/char/drm/radeon_drv.o] Error 1
>
> I've fixed this in my local DRI tree and can come up with a patch for
> linuxppc-2.5 if nobody beats me to it.

Voilà.


--
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drm.diff
Type: text/x-patch
Size: 8440 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20030507/a9d0199e/attachment.bin>


More information about the Linuxppc-dev mailing list