Summary: | svgalib tries to install module to `uname -r`, not where /usr/src/linux points | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Elan Ruusamäe <glen> |
Component: | [OLD] Library | Assignee: | SpanKY <vapier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
try svgalib-1.9.19 works there, but it's ~ARCH masked. i patched 1.9.19 ;) lets push it to stable shall we 1.9.19 is now stable |
this is obviously wrong. not everyone compiles there where he also runs gentoo. # emerge svgalib Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/svgalib-1.9.18-r1 to / >>> md5 src_uri ;-) svgalib-1.9.18.tar.gz [cut] wrapdemo.c:495: warning: return type of `main' is not `int' # chown root wrapdemo # chmod u+s wrapdemo make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/threeDKit' make -C /lib/modules/2.4.22-1.2115.nptlsmp/build SUBDIRS=/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/kernel/svgalib_helper modules make: *** /lib/modules/2.4.22-1.2115.nptlsmp/build: No such file or directory. Stop. make: *** [default] Error 2 !!! ERROR: media-libs/svgalib-1.9.18-r1 failed. !!! Function src_compile, Line 95, Exitcode 2 !!! Failed to build kernel module! # l /usr/src/linux lrwxrwxrwx 1 root root 15 Jul 13 23:47 /usr/src/linux -> linux-2.6.7-ck5/ # l /lib/modules/2.6.7-ck5/build lrwxrwxrwx 1 root root 24 Jul 14 02:25 /lib/modules/2.6.7-ck5/build -> /usr/src/linux-2.6.7-ck5/ Reproducible: Always Steps to Reproduce: 1. 2. 3.