Here is what I get during building of svgalib-1.9.19: # chown root wrapdemo # chmod u+s wrapdemo make[1]: Leaving directory `/hda4/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/threeDKit' rm -f *.ko *.o *~ core .depend *.bak *.orig make: *** Brak reguł do wykonania obiektu `modules'. Stop. !!! ERROR: media-libs/svgalib-1.9.19 failed. !!! Function src_compile, Line 80, Exitcode 2 !!! Failed to build kernel module! My flags: emerge --info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -O3 -pipe -fomit-frame-pointer -fexpensive-optimizations" DISTDIR="/hda4/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/hda4/tmp" PORTDIR="/hda4/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.pl/gentoo-portage" USE="3dnow X Xaw3d aalib accessibility acpi alsa apm arts avi berkdb bonobo cddb cdr crypt cscope cups directfb dvd encode esd faad fbcon fbdev ffmpeg fftw foomaticdb gb gdbm ggi gif gnome gnomedb gpm gstreamer gtk gtkhtml guile imagemagick imlib imlib2 jabber jpeg kde ldap libg++ libwww mbox mikmod mmx motif mozilla mpeg ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime radeon readline sdl slang spell sse ssl svga tcltk tcpd tiff transcode truetype usb x86 xface xml2 xmms xv xvid zlib" Reproducible: Always Steps to Reproduce: 1. emerge svgalib Actual Results: Doesn't build. Expected Results: Should build.
get the same error. the english error-message (just in case): make: *** No rule to make target `modules'. Stop.
softlink /usr/src/linux to /usr/src/linux_that_you_have_ran_make.
should be the case: flo@basil ~ $ ls -l /usr/src/linux lrwxrwxrwx 1 root root 19 May 2 03:45 /usr/src/linux -> linux-2.6.4-rc1-mm1/ flo@basil ~ $ uname -r 2.6.4-rc1-mm1
probably fixed in cvs now you people need to stop using old kernels :p
Still won't compile here, wrong path for Rules.make (cd kernel/svgalib_helper ; make default modules_install ) make[1]: Entering directory `/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper' make -C /lib/modules/2.4.26/build SUBDIRS=/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper modules make[2]: Entering directory `/usr/src/linux-2.4.26' make -C /var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper CFLAGS="-D__KERNEL__ -I/var/tmp/portage/svgalib-1.9.19/image//include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /var/tmp/portage/svgalib-1.9.19/image//include/linux/modversions.h" MAKING_MODULES=1 modules make[3]: Entering directory `/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper' Makefile:15: /var/tmp/portage/svgalib-1.9.19/image//Rules.make: No such file or directory make[3]: *** No rule to make target `/var/tmp/portage/svgalib-1.9.19/image//Rules.make'. Stop. make[3]: Leaving directory `/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper' make[2]: *** [_mod_/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.26' make[1]: *** [default] Error 2 make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper' make: *** [installmodule] Error 2 !!! ERROR: media-libs/svgalib-1.9.19 failed. !!! Function src_install, Line 98, Exitcode 2 !!! Failed to install svgalib! # ll /usr/src/linux/Rules.make -rw-r--r-- 1 root root 9325 Apr 15 13:51 /usr/src/linux/Rules.make
i'm getting an access violation...: gunzipping manpages in man8 make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/doc' (cd kernel/svgalib_helper ; make default modules_install ) make[1]: Entering directory `/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper' make -C /lib/modules/2.6.4-rc1-mm1/build SUBDIRS=/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper modules make[2]: Entering directory `/usr/src/linux-2.6.4-rc1-mm1' *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies make[3]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/asm-i386/asm_offsets.h ACCESS DENIED open_wr: /usr/src/linux-2.6.4-rc1-mm1/include/asm-i386/asm_offsets.h.tmp /bin/sh: line 1: include/asm-i386/asm_offsets.h.tmp: Permission denied UPD include/asm-i386/asm_offsets.h mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory make[2]: *** [include/asm-i386/asm_offsets.h] Error 1 make[2]: Leaving directory `/usr/src/linux-2.6.4-rc1-mm1' make[1]: *** [default] Error 2 make[1]: Leaving directory `/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper' make: *** [installmodule] Error 2 !!! ERROR: media-libs/svgalib-1.9.19 failed. !!! Function src_install, Line 98, Exitcode 2 !!! Failed to install svgalib! --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-media-libs_-_svgalib-1.9.19-18796.log" open_wr: /usr/src/linux-2.6.4-rc1-mm1/include/asm-i386/asm_offsets.h.tmp -------------------------------------------------------------------------------- flo@basil ~ $ emerge info Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.4-rc1-mm1) ================================================================= System uname: 2.6.4-rc1-mm1 i686 AMD Athlon(TM) XP 2200+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb cdr crypt cups dga directfb doc dvd dvdr encode esd foomaticdb gdbm ggi gif gpm gtk2 guile imap imlib innodb ipv6 jpeg kde libg++ libwww mad matroska mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xinerama xml2 xmms xv zlib"
sync up in a bit and try again