On Sat, 21 Feb 2004 20:44:37 +0100
Felix K�hling <[EMAIL PROTECTED]> wrote:

> On Fri, 20 Feb 2004 22:56:20 +0000
> Keith Whitwell <[EMAIL PROTECTED]> wrote:
> 
[snip]
> > 
> > I've committed this, but I'm just about to leave on holidays.  If there are 
> > any problems hopefully Erdi will be able to submit fixup patches & have them 
> > committed while I'm away.
> 
> I just cvs upgraded and now the build fails in
> .../os-support/linux/drm/kernel:
> 
> In file included from gamma_drv.c:46:
> drm_drv.h: In function `gamma_release':
> drm_drv.h:910: warning: implicit declaration of function `list_for_each_entry_safe'
> drm_drv.h:910: `head' undeclared (first use in this function)
> drm_drv.h:910: (Each undeclared identifier is reported only once
> drm_drv.h:910: for each function it appears in.)
> drm_drv.h:910: syntax error before '{' token
> ...
> 
> and many more which I suspect are just because the compiler got
> confused. The problem seems to be that list_for_each_entry_safe is not
> defined. Erdi, did you forget to include it in the patch or is my
> working tree missing something?

Found the problem. Linux 2.4.21 doesn't have this macro defined in
include/linux/list.h. I've added it conditionally to drmP.h like the
other list macros and now the build against Linux 2.4.21 works. I'll
commit this right away.

Felix


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to