Bug 42307 - failed ebuild for svgalib
|
Bug#:
42307
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: plasmaroo@gentoo.org
|
Reported By: zumoton@yahoo.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: failed ebuild for svgalib
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-02-20 14:43 0000
|
emerge dies when the compiler returns an error
Reproducible: Always
Steps to Reproduce:
1.emerge svgalib
2.
3.
Actual Results:
gcc -O2 -DLINUX -Dlinux -D__KERNEL__ -DMODULE -nostdinc -iwithprefix include
-I/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper/include
-I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-DSVGALIB_HELPER_MAJOR=209 -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -M *.c > .depend
gcc -O2 -DLINUX -Dlinux -D__KERNEL__ -DMODULE -nostdinc -iwithprefix include
-I/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/kernel/svgalib_helper/include
-I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default
-DSVGALIB_HELPER_MAJOR=209 -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -c -o main.o main.c
main.c:90: parse error before "vsync_interrupt"
main.c: In function `svgalib_helper_ioctl':
main.c:317: warning: passing arg 2 of `request_irq_R0c60f2e0' from incompatible
pointer type
main.c:321: warning: passing arg 2 of `request_irq_R0c60f2e0' from incompatible
pointer type
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!
Can you please run and paste in the output of:
1) grep -m4 ".*" /usr/src/linux/Makefile
2) emerge -p linux-headers
3) md5sum /usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
Thanks.
I am having the same problem. I just installed Gentoo for the first time about
5 days ago, and ran into this issue while trying to install KDE. I have Kernel
2.4.24 from Vanilla source. Here is the output that you requested.
1.) grep -m4 ".*" /usr/src/linux/Makefile
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 24
EXTRAVERSION =
2.) emerge -p linux-headers
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] sys-kernel/linux-headers-2.4.21
3.) md5sum /usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
0ded96494b4c3f4f744474ff89033c18
/usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch
I hope this helps. Thanks.
Hmm, you don't seem to have any headers. Try merging linux-headers and see if
that helps...
I'm having the same problem [same versions, errors, &c].
merging linux-headers[-2.4.21] doesn't help me. :(
Created an attachment (id=26199) [details]
Patch
OK, can you please try applying this patch on
/usr/portage/media-libs/svgalib/files/svgalib-1.9.17-linux2.6.patch and tell us
whether it works or fails?
Thanks.
The patch worksforme; thanks.
Fixed in CVS, should hit Portage in an hour. Thanks.