Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 19307

Summary: libsdl-1.2.5-r2 doesnt compile under kernel 2.5.67
Product: Gentoo Linux Reporter: Bret Towe <magnade>
Component: New packagesAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: linux-2.5.67-fb_h.patch

Description Bret Towe 2003-04-14 13:00:06 UTC
summary says it all
the error is as follows

In file included from XF86DGA2.c:28:
/usr/include/linux/fb.h:342: parse error before "dst"
/usr/include/linux/fb.h:345: parse error before "lock"
/usr/include/linux/fb.h:346: parse error before "count"
make[3]: *** [XF86DGA2.lo] Error 1
make[3]: Leaving directory

i did provide the full compile line cause i dont think its needed
i can provide a full log if needed tho
the problem is that file is including framebuffer stuff even when its disabled
and the header looks like it might have a problem also i got it to shutup for
all but the count error i dont understand how the spinlock_t stuff should be defined

yes /usr/include/linux links to 2.5.67

Reproducible: Always
Steps to Reproduce:
Comment 1 Bret Towe 2003-04-14 19:32:02 UTC
Created attachment 10656 [details]

ok i found the problem the kernel header was at fault
attached is the patch to fix the problem
can someone send this upstream?
(or should i go ahead and create an account with kernel bugzilla?)
Comment 2 Bret Towe 2003-04-16 17:15:20 UTC
never mind i submited a bug on it
( )
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-04-27 01:11:08 UTC
user took bug to 
Comment 4 timofonic 2007-09-19 18:29:22 UTC
Created attachment 131323 [details]