When I try to build svgalib-1.9.19-r1.ebuild. I get the following errors: gcc -o buildcsr mkcur.o -lvgagl -lvga /usr/bin/ld: cannot find -lvgagl collect2: ld returned 1 exit status make[1]: *** [buildcsr] Error 1 [snip] /bin/sh: line 1: scripts/mod/modpost: No such file or directory make[2]: *** [__modpost] Error 127 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.8-gentoo-r3' make: *** [default] Error 2 !!! ERROR: media-libs/svgalib-1.9.19-r1 failed. !!! Function src_compile, Line 88, Exitcode 2 !!! Failed to build kernel module!
you neglected to post `emerge info` like the bug report page says to also, your error log is useless ... please run `emerge svgalib >& log` and post the log file it also looks like your /usr/src/linux is not configured properly, check that
Created attachment 44036 [details] emerge info
Created attachment 44037 [details] emerge svgalib >& log
Requested files attached
fixed the first error but the second error is yours to fix your /usr/src/linux tree is not setup
Created attachment 44046 [details] /usr/src/linux tree
/usr/src/linux tree attached. What is needed here?
i'm not going to look at it you need to build your kernel in it first if the modscripts script isnt found it's because you havent built a kernel in it