Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43277 - svgalib-1.9.18-r1 fails in kernel module
Summary: svgalib-1.9.18-r1 fails in kernel module
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 51279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-29 05:15 UTC by Kenny Bentley
Modified: 2004-05-23 20:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log of svgalib fail (svgalib.log,132.70 KB, text/plain)
2004-02-29 15:15 UTC, Kenny Bentley
Details
Another svgalib failed emerge log (svgaerror.log,352.17 KB, text/plain)
2004-03-09 21:49 UTC, Mario Doria
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kenny Bentley 2004-02-29 05:15:46 UTC
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"
Comment 1 SpanKY gentoo-dev 2004-02-29 14:26:26 UTC
the output you provided doesnt contain any errors

please attach the log file when running `emerge svgalib >& log`
Comment 2 Kenny Bentley 2004-02-29 15:15:48 UTC
Created attachment 26629 [details]
log of svgalib fail
Comment 3 Mario Doria 2004-03-09 21:49:09 UTC
Created attachment 27134 [details]
Another svgalib failed emerge log
Comment 4 SpanKY gentoo-dev 2004-03-27 23:38:27 UTC
mario: your 'bug' is unrelated ... chances are you havent setup /usr/src/linux yet
Comment 5 SpanKY gentoo-dev 2004-05-16 01:10:27 UTC
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
Comment 6 Antonio D'souza 2004-05-18 04:24:14 UTC
How does one 'setup' their /usr/src/linux tree, exactly?
Comment 7 SpanKY gentoo-dev 2004-05-23 20:15:57 UTC
*** Bug 51279 has been marked as a duplicate of this bug. ***