Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140375 - cloop-2.02.1-r1 fails to emerge w/ 2.4 kernel
Summary: cloop-2.02.1-r1 fails to emerge w/ 2.4 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-14 09:00 UTC by Christophe Garault
Modified: 2006-07-14 15:23 UTC (History)
0 users

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 Christophe Garault 2006-07-14 09:00:26 UTC
i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer   -c -o extract_compressed_fs.o extract_compressed_fs.c
i686-pc-linux-gnu-gcc -o extract_compressed_fs extract_compressed_fs.o -lz
i686-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__KERNEL__ -DMODULE -O2 -fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop" -pipe -DEXPORT_SYMTAB -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h  -o cloop.o -c compressed_loop.c
compressed_loop.c:107: error: erreur de syntaxe before numeric constant
compressed_loop.c:107: attention : type defaults to `int' in declaration of `module_param'
compressed_loop.c:107: attention : function declaration isn't a prototype
compressed_loop.c:107: attention : data definition has no type or storage class
make: *** [cloop.o] Erreur 1

!!! ERROR: sys-fs/cloop-2.02.1-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called linux-mod_src_compile
  linux-mod.eclass, line 515:   Called die

!!! Unable to make  KVERSION=2.4.32 KERNEL_DIR=/usr/src/linux all.
!!! If you need support, post the topmost build error, and the call stack if relevant.


marge ~ # emerge --info
Portage 2.1-r1 (default-linux/x86/no-nptl/2.4, gcc-3.3.6, glibc-2.3.6-r4, 2.4.32 i686)
=================================================================
System uname: 2.4.32 i686 AMD Duron(tm)
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.du.se/pub/os/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR en en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow acl adns aim apache2 audiofile avi berkdb bindist bitmap-fonts bonobo caps cli crypt cscope cups curl divx4linux dlloader doc dri eds emboss encode ethereal examples fastcgi fbcon fdftk flac flash foomaticdb fortran freetds gd gdbm ggi gif gpm gstreamer gtk2 icq imagemagick imap imlib innodb isdnlog jabber jikes jpeg junit lcms lesstif libg++ libgda libwww mad maildir mbox mcal md5sum mikmod mmx mozilla mp3 mpeg mpi msn ncurses nls nocd oci8 odbc ogg opengl oscar pam pcre pdflib perl png ppds pppd prelude python quicktime readline reflection samba sasl session skey slp snmp socks5 speex spell spl sqlite sse ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis wmf xface xml xorg xv xvid yahoo zeo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr linguas_fr_FR linguas_en linguas_en_US userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-14 09:50:10 UTC
    sed -i 's:MODULE_PARM(\([^,]*\), "s");:module_param(\1, charp, 0);:' compressed_loop.c


if you comment that line out, does it work for you then?
Comment 2 Christophe Garault 2006-07-14 14:39:05 UTC
Thanks a lot Stefan. It works just fine now. ;o)
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-14 15:23:50 UTC
thanks, I committed a fix