gcc -Wall -Wstrict-prototypes -fPIC -I/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/include -I. -I/var/tmp/portage/svgalib-1.9.18-r1/work/svgalib-1.9.18/src -O2 -mcpu=i686 -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: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' I fixed this problem by "USE=build emerge svgalib" so I'm sure it's a use flag error Reproducible: Always Steps to Reproduce: use my useflags... that should reproduce it Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-mm3) ================================================================= System uname: 2.6.3-mm3 i686 Celeron (Mendocino) Gentoo Base System version 1.4.3.13p1 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" 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/mozil la/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/p latex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi apache2 apm arts avi berkdb bonobo crypt cups encode esd foomaticdb freetype gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
the output you provided doesnt contain any errors please attach the log file when running `emerge svgalib >& log`
Created attachment 26629 [details] log of svgalib fail
Created attachment 27134 [details] Another svgalib failed emerge log
mario: your 'bug' is unrelated ... chances are you havent setup /usr/src/linux yet
yeah, your kernel also needs to be 'setup' Kenny from the Makefile.alt: MODVER = $(shell grep CONFIG_MODVERSIONS $(INCLUDEDIR)/linux/autoconf.h) ifeq ($(MODVER),) @echo INCLUDEDIR is not set up correctly exit 1 endif the @echo is illegal in makefiles at that point which is why you got the error: Makefile.alt:11: *** commands commence before first target. Stop. you need to go setup your /usr/src/linux tree and then emerge svgalib
How does one 'setup' their /usr/src/linux tree, exactly?
*** Bug 51279 has been marked as a duplicate of this bug. ***