| Summary: | svgalib fails with linux-2.6.15: too few arguments to function `class_device_create' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
| Component: | Current packages | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bart.braem, plate |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Updated ebuild
Patch to fix compilation for 2.6.15 |
||
|
Description
Martin Mokrejš
2005-12-12 08:45:00 UTC
Same error here, popped up during a `module-rebuild` after kernel upgrade to vanilla 2.6.15-rc5, emerge info follows: Portage 2.1_pre1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.15-rc5-ronin i686) ================================================================= System uname: 2.6.15-rc5-ronin i686 Pentium III (Coppermine) Gentoo Base System version 1.12.0_pre11 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks fixpackages sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apm audiofile avi berkdb bitmap-fonts bzip2 canna cdr cjk crypt cscope cups curl eds emboss encode esd exif expat faad fam fbcon ffmpeg flac foomaticdb foreign-package fortran gd gdbm gif gimpprint glut gmp gnome gpm gstreamer gtk gtk2 guile i8x0 iconv idn imagemagick imlib immqt-bc ipv6 java jpeg junit kde kdeenablefinal lcms libcaca libg++ libwww lua mad matroska mikmod mng motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses network nls nsplugin ogg oggvorbis opengl operanom2 oss pam pcmcia pcre pdflib perl png python qt quicktime readline samba sdl slang smime speex spell ssl svg svga tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis wifi win32codecs wmf wxwindows xface xim xine xml xml2 xmms xv xvid xvmc zeroconf elibc_glibc kernel_linux userland_GNU video_cards_i810" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS i'll worry about it when 2.6.15 is released :P in the meantime, feel free to post a patch Created attachment 76056 [details]
Updated ebuild
Ebuild for patch
Created attachment 76057 [details, diff]
Patch to fix compilation for 2.6.15
Patch for 2.6.15. Disables the rendition support, so it's not very safe. This should probably be fixed later on.
The above patches work for me. I'll be following the discussion... thanks for the patch, ive cleaned it up and integrated it into the current version probably works for you on .21, not for me on .23 sorry, had a trouble patching, seems ok after a manual patch. |