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

Bug 147407

Summary: compilation of svgalib fails
Product: Gentoo Linux Reporter: gentoo <gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description gentoo@danielquinn.org 2006-09-12 22:12:42 UTC
i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -march=pentium-m -Os -pipe -I../gl   -c -o wrapdemo.o wrapdemo.c
wrapdemo.c: In function `main':
wrapdemo.c:629: warning: `return' with no value, in function returning non-void
i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -fPIC -I../include -I. -I../src -march=pentium-m -Os -pipe -I../gl   -L../sharedlib -o wrapdemo wrapdemo.c 3dinit.o 3dkit.o quickmath.o swtriangle.o triangl.o triangle.o wrapsurf.o wtriangle.o -lm -lvgagl -lvga
wrapdemo.c: In function `main':
wrapdemo.c:629: warning: `return' with no value, in function returning non-void
# chown root wrapdemo
# chmod u+s wrapdemo
make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/threeDKit'
 * Preparing svgalib_helper module
make -C /usr/src/linux SUBDIRS=/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper CLASS_CFLAGS= modules
make[1]: Entering directory `/usr/src/linux-2.6.16-suspend2-r8'
  CC [M]  /var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper/main.o
/bin/sh: scripts/basic/fixdep: No such file or directory
make[2]: *** [/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper/main.o] Error 1
make[1]: *** [_module_/var/tmp/portage/svgalib-1.9.24/work/svgalib-1.9.24/kernel/svgalib_helper] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-suspend2-r8'
make: *** [default] Error 2


I'm using the suspend2-sources, which is where I'm guessing the problem is, though I have no idea where exactly and how to fix it.
Comment 1 gentoo@danielquinn.org 2006-09-12 22:15:02 UTC
Created attachment 96854 [details]
emerge --info

had to make it an attachment 'cause the comment box complained about length
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 00:59:05 UTC
Reopen if you can reproduce with a supported kernel:

http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
Comment 3 gentoo@danielquinn.org 2006-09-14 09:52:32 UTC
I was dumb and hadn't actually compiled said kernel (emerged new one, changed symlink, didn't compile).  Sure enough, when it was compiled svgalib compiled just fine.