CC [M] /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_core.o as --32 -o /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.o /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.s /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.s: Assembler messages: /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_call.s:50: Warning: indirect lcall without `*' CC [M] /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/superio.o CC [M] /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/rtcmosram.o In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80, from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:49: /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: 'packed' attribute ignored /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:94: error: expected ')' before string constant /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:96: error: expected ')' before string constant /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.c:98: error: expected ')' before string constant make[2]: *** [/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/thinkpad.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80, from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/smapi_core.c:39: /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: 'packed' attribute ignored In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80, from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/superio.c:41: /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: 'packed' attribute ignored In file included from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/thinkpad_common.h:80, from /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/rtcmosram.c:41: /var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers/../include/rtcmosram.h:171: warning: 'packed' attribute ignored make[1]: *** [_module_/var/tmp/portage/thinkpad-5.9-r1/work/thinkpad-5.9/2.6/drivers] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.17-gentoo' make: *** [default] Error 2 !!! ERROR: app-laptop/thinkpad-5.9-r1 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1249: Called linux-mod_src_compile linux-mod.eclass, line 515: Called die !!! Unable to make KSRC=/usr/src/linux default. !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 i686) ================================================================= System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(TM) XP 2800+ Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /mnt/etc /usr/share/X11/xkb /var/www/localhost /var/www/localhost/cgi-bin /var/www/localhost/htdig /var/www/localhost/htdocs/phpmyadmin" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache confcache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://gentoo.mirror.solnet.ch http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.inode.at/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.math.bme.hu http://gentoo.mirror.icd.hu/ http://ftp.heanet.ie/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo http://mirror.uni-c.dk/gentoo/ http://mir.zyrianes.net/gentoo/ http://mirror.uni-c.dk/gentoo/ http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://linuv.uv.es/mirror/gentoo/ http://gentoo.osuosl.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo ftp://mirror.pudas.net/gentoo ftp://mir.zyrianes.net/gentoo/" MAKEOPTS="-j2" 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/overlays/portage /usr/local/overlays/ecatmur /usr/local/overlays/vmware" SYNC="rsync://mordor.mailstation.de/gentoo-portage" USE="x86 3dnow 3dnowext X X509 Xaw3d async bash-completion berkdb bzlib c++ cairo chroot client cracklib crypt cups curlwrappers dga dio dri dvd emacs emacs-w3 exif extensions fam font-server foomaticdb foreign-package foreign-sysvinit gdbm german gif glibc-omitfp glut gnutls gpm gtk2 iconv innodb javascript jce jp2 jpeg jpeg2k kde kdeenablefinal leim milter mime mmap mmx mmxext mule multi-tty ncurses network nls nptl nptlonly offensive pam pcntl pcre pdf perl pic png posix python qt readline sasl sdk session shared sharedmem sockets sse ssl symbol_visibility sysvipc tcpd threads truetype truetype-fonts type1-fonts udev unicode usb xcomposite xface xine xml xorg xpm xrandr xscreensaver xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_apm video_cards_dummy video_cards_fbdev video_cards_vesa video_cards_vga video_cards_vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS It compiles cleanly with 2.6.16-gentoo-r8. I'm aware I'm not running 2.6.17. I did prepare the 2.6.17 tree, though. (make oldconfig, etc.)
Yeah, they changed the way module_param works yet again... looks like Xorg isn't the only one that likes to be a pain in the ass about drivers... Anyways, I am workin on this, as I need it on my thinkpad as well.
Minor setback - my thinkpad is out of commission currently if someone could step up and help with this, would be appreciated until I get it fixed
Created attachment 91772 [details, diff] Patch to replace MODULE_PARM with module_param so that it compiles with 2.6.17
In portage, thanks