Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41920 - svgalib ebuild breaks on non-X kernel 2.6 systems, possible linux-headers bug
Summary: svgalib ebuild breaks on non-X kernel 2.6 systems, possible linux-headers bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High major (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 09:38 UTC by mathew
Modified: 2004-02-20 12:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mathew 2004-02-17 09:38:47 UTC
In file included from /usr/include/linux/spinlock.h:8,
                 from /usr/include/linux/fb.h:6,
                 from /var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from /usr/include/linux/spinlock.h:16,
                 from /usr/include/linux/fb.h:6,
                 from /var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:68: error: requested alignment is not a constant
In file included from /var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/fb.h:345: error: syntax error before "atomic_t"
make[1]: *** [drivers/fbdev.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/staticlib'
make: *** [staticlib/libvga.a] Error 2

!!! ERROR: media-libs/svgalib-1.9.17-r3 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! Failed to build libraries and utils!

# qpkg -I -v kernel
sys-kernel/gentoo-dev-sources-2.6.1-r1 *
sys-kernel/gentoo-dev-sources-2.6.2-r1 *
sys-kernel/linux-headers-2.6.1 *

# grep USE= /etc/make.conf
USE="acpi alsa cdr -cups curl -foomaticdb -gnome -pdflib perl samba sse -xmms -xv usb -X -gtk -qt -motif -java -opengl -truetype -oss -arts"
Comment 1 SpanKY gentoo-dev 2004-02-20 12:11:59 UTC
looks like you need to re-emerge your linux-headers
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-02-20 12:23:18 UTC
This was fixed in later versions of linux-headers-2.6.1 [ it seems you've got the initial release of 2.6.1 ] and later versions of linux-headers-2.6: emerge sync, [re]merge your kernel headers, and it should compile fine. Thanks.