Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62536 - svgalib compile dies with storage size errors
Summary: svgalib compile dies with storage size errors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 81555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-01 11:08 UTC by Mike Nerone
Modified: 2005-02-11 08:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nerone 2004-09-01 11:08:56 UTC
Here's the last bit of the emerge. Same errors with multiple CFLAGS setting, including CFLAGS="".

#################################################################
/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper/main.c: At top level:
include/linux/elf.h:433: warning: array `_DYNAMIC' assumed to have one element
include/linux/sched.h:201: error: storage size of `mmap_sem' isn't known
include/linux/sched.h:231: error: storage size of `default_kioctx' isn't known
include/linux/sched.h:256: error: storage size of `shared_pending' isn't known
include/linux/sched.h:347: error: storage size of `wall_to_prev' isn't known
include/linux/sched.h:471: error: storage size of `rlim' isn't known
include/linux/sched.h:479: error: storage size of `thread' isn't known
include/linux/sched.h:491: error: storage size of `pending' isn't known
include/linux/stat.h:68: error: storage size of `atime' isn't known
include/linux/stat.h:69: error: storage size of `mtime' isn't known
include/linux/stat.h:70: error: storage size of `ctime' isn't known
include/linux/fs.h:276: error: storage size of `ia_atime' isn't known
include/linux/fs.h:277: error: storage size of `ia_mtime' isn't known
include/linux/fs.h:278: error: storage size of `ia_ctime' isn't known
include/linux/quota.h:224: error: storage size of `dq_dqb' isn't known
include/linux/fs.h:356: error: storage size of `bd_sem' isn't known
include/linux/fs.h:357: error: storage size of `bd_mount_sem' isn't known
include/linux/fs.h:431: error: storage size of `i_atime' isn't known
include/linux/fs.h:432: error: storage size of `i_mtime' isn't known
include/linux/fs.h:433: error: storage size of `i_ctime' isn't known
include/linux/fs.h:440: error: storage size of `i_sem' isn't known
include/linux/fs.h:441: error: storage size of `i_alloc_sem' isn't known
include/linux/fs.h:447: error: storage size of `i_data' isn't known
include/linux/fs.h:574: error: storage size of `f_owner' isn't known
include/linux/fs.h:745: error: storage size of `s_umount' isn't known
include/linux/fs.h:746: error: storage size of `s_lock' isn't known
include/linux/fs.h:773: error: storage size of `s_vfs_rename_sem' isn't known
include/linux/pci.h:515: error: storage size of `dev' isn't known
/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper/main.c:524: error: storage size of `svgalib_helper_fops' isn't known
make[2]: *** [/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper/main.o] Error 1
make[1]: *** [_module_/var/tmp/portage/svgalib-1.9.19/work/svgalib-1.9.19/kernel/svgalib_helper] 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 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! Failed to build kernel module!
#################################################################

#################################################################
 # emerge info
Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp://linux.thai.net/pub/mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi crypt cups dga directfb encode fbcon flash foomaticdb gd ggi gnome gtk gtk2 imagemagick imap imlib jpeg lcms libcaca libg++ libwww mad mcal memlimit mikmod mmap mmx motif mozilla mpeg mysql ncurses nls nntp oggvorbis opengl pam pdflib perl png postgres ppds python quicktime readline samba sasl sdl slang slp spell sse ssl svga tcltk threads tiff truetype usb vhosts x86 xml xml2 xmms xv zlib"
#################################################################
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-09-01 15:59:33 UTC
Can you post the output of ls -l /usr/src please.
Comment 2 Mike Nerone 2004-09-01 16:03:54 UTC
# ls -l /usr/src
lrwxrwxrwx   1 root root  30 Aug 29 20:27 linux -> /usr/src/linux-2.6.8-gentoo-r3
drwxr-xr-x  18 root root 752 Aug 29 20:29 linux-2.6.8-gentoo-r3
drwxr-xr-x   3 root root  72 Jul  2 17:01 xorg-x11-6.7.0-r1

I should mention that the linux tree there is currently uncompiled. Is that my problem? I'm not a C programmer, but had the impression that such information came from the include files. I'm compiling the kernel in that directory now in anticipation of your answer.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-09-01 16:29:08 UTC
Dunno about needing to be built, but it definitely needs to be configured.
Comment 4 Mike Nerone 2004-09-01 16:45:28 UTC
It was previously only as configured as having copied in the .config and doing a make oldconfig. :)

In any case, after compiling the kernel in /usr/src/linux, I retried the emerge of svgalib, and it installed without a hitch. Thanks much for the pointer. I'll file that away for future reference.

Marking invalid. Apologies...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2004-09-12 05:30:03 UTC
/var/tmp/portage/svgalib-1.9.19-r1/work/svgalib-1.9.19/kernel/svgalib_helper/main.c:524: error: storage size of `svgalib_helper_fops' isn't known
make[2]: *** [/var/tmp/portage/svgalib-1.9.19-r1/work/svgalib-1.9.19/kernel/svgalib_helper/main.o] Error 1
make[1]: *** [_module_/var/tmp/portage/svgalib-1.9.19-r1/work/svgalib-1.9.19/kernel/svgalib_helper] 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 86, Exitcode 2
!!! Failed to build kernel module!

Same problem for me, the kernel is compiled and currently used. 
Comment 6 Daniel Black (RETIRED) gentoo-dev 2005-02-11 01:26:44 UTC
*** Bug 81555 has been marked as a duplicate of this bug. ***
Comment 7 Mike Nerone 2005-02-11 08:37:19 UTC
Hmmm...should this be reopened or something?