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

Bug 41558

Summary: svgalib compile error
Product: Gentoo Linux Reporter: Florian Effenberger <floeff>
Component: New packagesAssignee: SpanKY <vapier>
Status: RESOLVED DUPLICATE    
Severity: normal CC: plasmaroo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Effenberger 2004-02-14 07:04:20 UTC
I receive a svgalib compile error:

In file included from main.c:24:
kernel26compat.h:17: error: redefinition of `irqreturn_t'
/usr/src/linux/include/linux/interrupt.h:16: error: `irqreturn_t' previously declared here
make: *** [main.o] Error 1
make: Leaving directory `/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper'

!!! ERROR: media-libs/svgalib-1.9.17-r3 failed.
!!! Function src_compile, Line 59, Exitcode 2
!!! Failed to build kernel module!


Reproducible: Always
Steps to Reproduce:
1. emerge svgalib
2.
3.

Actual Results:  
see above

Expected Results:  
should compile ;)
Comment 1 SpanKY gentoo-dev 2004-02-14 10:46:04 UTC
make sure your kernel is up to date
Comment 2 Florian Effenberger 2004-02-14 10:47:41 UTC
Linux Vanilla 2.4.24, via Portage, compiled used genkernel - should be quite recent, hm?
Comment 3 SpanKY gentoo-dev 2004-02-14 10:48:28 UTC
plasmaroo would know ;)
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-02-14 12:02:11 UTC
What headers are you using? Thanks.
Comment 5 Florian Effenberger 2004-02-14 12:30:14 UTC
Hm, I don't know, I did an emerge linux-source which installed 2.4.24 for me and then installed my kernel with genkernel all. So I should have 2.4.24, right?
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2004-02-14 12:43:50 UTC
No, since your headers are not derived from the kernel source.

#> emerge -p linux-headers

... should tell you. Thanks.
Comment 7 Florian Effenberger 2004-02-15 02:17:53 UTC
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-kernel/linux-headers-2.4.21


Should I try with fetching linux-headers-2.4.24?
Comment 8 oosterwoud 2004-02-16 00:20:21 UTC
This one is the same as 41553.
I think i have put some more detailed info on the bug there.
The problem is coming from the svgalibhelper module from this lib.
Comment 9 Florian Effenberger 2004-02-16 00:50:21 UTC

*** This bug has been marked as a duplicate of 41553 ***