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.
Created attachment 96854 [details] emerge --info had to make it an attachment 'cause the comment box complained about length
Reopen if you can reproduce with a supported kernel: http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap2
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.