Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36041 - svgalib-1.917-r3 fails to build against 2.6.0-test11 headers
Summary: svgalib-1.917-r3 fails to build against 2.6.0-test11 headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on: 31285
Blocks:
  Show dependency tree
 
Reported: 2003-12-17 21:04 UTC by Derk W te Bokkel
Modified: 2004-02-16 17:07 UTC (History)
0 users

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 Derk W te Bokkel 2003-12-17 21:04:07 UTC
gcc -mcpu=athlon-xp -O3 -pipe -Wall -Wstrict-prototypes -fPIC -I/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/include -I. -mcpu=athlon-xp -O3 -pipe  -Wall -Wstrict-prototypes  -I/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/include -I. -I/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src -mcpu=athlon-xp -O3 -pipe -DSVGALIB_CONFIG_FILE=\"/etc/svgalib/libvga.config\" -DALLOW_MOUSE_OVERRIDE -DNO_DELAY -c -o drivers/neo.o /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/neo.c
gcc -mcpu=athlon-xp -O3 -pipe -Wall -Wstrict-prototypes -fPIC -I/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/include -I. -mcpu=athlon-xp -O3 -pipe  -Wall -Wstrict-prototypes  -I/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/include -I. -I/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src -mcpu=athlon-xp -O3 -pipe -DSVGALIB_CONFIG_FILE=\"/etc/svgalib/libvga.config\" -DALLOW_MOUSE_OVERRIDE -DNO_DELAY -c -o drivers/fbdev.o /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c
In file included from /usr/include/linux/timer.h:5,
                 from /usr/include/linux/workqueue.h:8,
                 from /usr/include/linux/fb.h:5,
                 from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/list.h:576:2: warning: #warning "don't include kernel headers in userspace"
In file included from /usr/include/linux/timer.h:6,
                 from /usr/include/linux/workqueue.h:8,
                 from /usr/include/linux/fb.h:5,
                 from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/spinlock.h: In function `bit_spin_lock':
/usr/include/linux/spinlock.h:413: error: invalid type argument of `->'
/usr/include/linux/spinlock.h: In function `bit_spin_trylock':
/usr/include/linux/spinlock.h:430: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:433: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
/usr/include/linux/spinlock.h:433: error: (Each undeclared identifier is reported only once
/usr/include/linux/spinlock.h:433: error: for each function it appears in.)
/usr/include/linux/spinlock.h: In function `bit_spin_unlock':
/usr/include/linux/spinlock.h:451: error: invalid type argument of `->'
/usr/include/linux/spinlock.h:451: error: `TIF_NEED_RESCHED' undeclared (first use in this function)
In file included from /usr/include/linux/workqueue.h:8,
                 from /usr/include/linux/fb.h:5,
                 from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/timer.h: At top level:
/usr/include/linux/timer.h:11: error: field `entry' has incomplete type
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:43: error: `NULL' undeclared (first use in this function)
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:60: error: `NULL' undeclared (first use in this function)
In file included from /usr/include/linux/fb.h:5,
                 from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/workqueue.h: At top level:
/usr/include/linux/workqueue.h:15: error: field `entry' has incomplete type
In file included from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/fb.h:342: error: syntax error before '*' token
/usr/include/linux/fb.h:346: error: syntax error before '}' token
In file included from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:11:
/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/include/vga.h:541:1: warning: "ROP_XOR" redefined
In file included from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:4:
/usr/include/linux/fb.h:272:1: warning: this is the location of the previous definition
In file included from /home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/drivers/fbdev.c:12:
/home/extrabig/tmp/portage/svgalib-1.9.17-r3/work/svgalib-1.9.17/src/libvga.h:106: error: redefinition of `struct info'
make[1]: *** [drivers/fbdev.o] Error 1
make[1]: Leaving directory `/home/extrabig/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 39, Exitcode 2
!!! Failed to build libraries and utils!
Comment 1 SpanKY gentoo-dev 2003-12-18 08:33:49 UTC
svgalib needs to be ported to 2.6
Comment 2 Derk W te Bokkel 2003-12-24 14:09:05 UTC
it appears earlier fixes along with the frame-buffer patches for bugs 36402 36039 seem to fix this.. 

Comment 3 SpanKY gentoo-dev 2004-01-09 15:12:09 UTC
upstream thing is a dirty lie
Comment 4 SpanKY gentoo-dev 2004-01-09 15:12:28 UTC
patches have been added to fix this in 1.9.17-r3
Comment 5 Nathan Adams 2004-02-16 17:04:57 UTC
Suggest reopening, also forgot to add myself to the CC. :)
Comment 6 Nathan Adams 2004-02-16 17:07:13 UTC
Arrrg. Bugzilla-ism I wasn't aware of. Ignore last comment. :(