Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207957 - app-misc/sdricoh_cs-0.1.2: compile fails with kernel 2.6.23 and 2.6.24
Summary: app-misc/sdricoh_cs-0.1.2: compile fails with kernel 2.6.23 and 2.6.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.23
  Show dependency tree
 
Reported: 2008-01-28 20:04 UTC by Ivan D Vasin
Modified: 2008-02-14 13:40 UTC (History)
1 user (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 Ivan D Vasin 2008-01-28 20:04:52 UTC
make -C /lib/modules/2.6.24-gentoo/build SUBDIRS=/var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo'
  CC [M]  /var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2/sdricoh_cs.o
/var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2/sdricoh_cs.c: In function ‘sdricoh_request’:
/var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2/sdricoh_cs.c:372: error: ‘MMC_MODE_SD’ undeclared (first use in this function)
/var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2/sdricoh_cs.c:372: error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2/sdricoh_cs.c:372: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2/sdricoh_cs.o] Error 1
make[1]: *** [_module_/var/tmp/portage/app-misc/sdricoh_cs-0.1.2/work/sdricoh_cs-0.1.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo'
make: *** [default] Error 2

Same thing happens with 2.6.23 kernel. I think MMC_MODE_SD was changed to MMC_MODE_SDIO in some relatively recent kernel version, but don't quote me on this. Supposedly sdricoh_cs works with 2.6.21 kernel, but I haven't tried it yet. If that's the problem then a fairly simple patch should fix this.

Reproducible: Always

Steps to Reproduce:
1.emerge =app-misc/sdricoh_cs-0.1.2



Portage 2.1.4 (default-linux/x86/2006.1, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 Intel(R) Pentium(R) M processor 1.86GHz
Timestamp of tree: Mon, 28 Jan 2008 16:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.wpi.edu/gentoo/  http://distfiles.gentoo.org"
INSTALL_MASK=""
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS=""
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/custom-kernels /usr/portage/local/layman/netscape /usr/portage/local/layman/kde /usr/portage/local/layman/sabayon /usr/local/portage"
SYNC="rsync://gentoo.wpi.edu/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib acpi administrator aim akode alias alsa amarok amazon amr animgif ansi ao apache2 apm applet artswrappersuid aspnet2 async athena auctex audacious audiofile autoipd automountavahi avalon-framework avalon-logkit backtrace bash-completion battery bcmath bdf beagle berkdb bidi big-tables binfilter bitmap-fonts bittorrent blas blender-game bluetooth boost branding bzip2 cairo calendar caps captury cardbus cdda cddb cdinstall cdio cdparanoia cdr chm chroot clamav clearcase cli clisp colordiff connectionstatus console contentcache corba cpudetection cpufreq cracklib crypt cscope css ctype cups curl curlwrappers cursors cviewer cvs cvsgraph daap dbus depth32 device-mapper devil directfb disassembler disk-partition divx djbfft djvu dnd dri dts dvd dvdnav dvdr dvdread dynamicplugin eap-tls ecc emacs emerald emovix enca encode enscript eolconv epydoc equalizer erandom exif expat extra-cardsets extraengine fam fame fastbuild fasttrack fat fbcon fbcondecor fbsplash ffmpeg fftw finger firefox fits flac flash flatfile flexresp2 fltk fontconfig foomaticdb fortran fpx ftp fuse g15 gd gdbm gif gimpprint glade glib glibc-compat20 glibc-omitfp glitz glut gmedia gmp gnutella gnutls gpgme gphoto2 gpm graphviz gs gsm gstreamer gtk gtkhtml hal hash hddtemp hdri highlight history hou howl-compat hpn htmlhandbook http httpd icons iconv icq icu id3 id3tag idn ieee1394 image imagemagick inifile inline innodb inode inotify ipod ipv6 isdnlog ithreads jabber jack java java-internal java5 javascript jbig jce jikes jingle jms jmx jpeg jpeg2k junit kcal kde kdeenablefinal kdehiddenvisibility kdexdeltas kdm kerberos kig-scripting kqemu lame lapack latex lcms ldap ldap-sasl lesstif libcaca libgcrypt libnotify libsamplerate libsexy libtommath libvisual libwww live lm_sensors logitech-mouse lzo lzw mad magic mailwrapper maps math matroska md5sum mdnsresponder-compat mhash midi mikmod mime ming mjpeg mmap mmx mmxext mng mod modplug mono moodbar motif mozdom mozembed mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mtp mudflap multiuser musepackmusic musicbrainz mysql mysqli ncurses net netboot netjack network network-cron new-clx newspr nfs nis nls nntp no-helper nocd nova nowin nowlistening nptl nptlonly nsplugin ntfs numeric nvidia oav offensive ogg openal openexr opengl openmp openssl opensslcrypt oscar pam pango pccts pch pcmcia pcntl pcre pdf pdo-external perfprofiling perl perlsuid pertty php physfs plasma plib plotutils plugins png pnm pop posix postproc ppds pppd prediction prelude psyco pyste python qt-static qt3 qt3support qt4 query-browser quicktime rar rdesktop react readline real realmedia reflection reiser4 reiserfs remix replaygain replytolist rtc rtsp samba sasl scenarios sdl sdl-image semantic-desktop sensord server session shorten simplexml skins slang slp smime sms smtp sndfile snmp snortsam soap sockets socks5 solver sou sound soundex sounds sox speex spell spl sql sqlite sqlite3 srp srt sse sse2 ssl startup-notification statistics stream subversion suhosin suid svg svga svgz swat swig syslog sysvipc szip taglib tagwriting tcl tcpd tetex texteffect textures tga themes theora threads thunderbird tidy tiff timestats timidity tk tokenizer tomsfastmath toolbar toolkit-scroll-bars tordns translator transparency trayicon truetype truetype-fonts twolame type1-fonts unicode upnp urandom usb userlocales userpriv vcd vcdx vhosts videos vim vim-pager vim-syntax vim-with-x visualization vlm vnc vncviewer voice vorbis vorbis-psy vpopmail wavpack webdav webpresence wideband wifi win32codecs winbind wireshark wma wmf wmp wordexp workbench wxwindows x264 x86 xanim xattr xcb xcomposite xemacs xface xforms xft xine xinerama xinetd xml xmldoclet xmlreader xmlrpc xmlwriter xorg xosd xpm xprint xrender xscreensaver xsl xulrunner xv xvid xvmc xvnc yv12 zip zlib zoran" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooksiec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="g15 ncurses text xosd" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Hanno Böck gentoo-dev 2008-02-14 13:40:49 UTC
0.1.2 worked with 2.6.23 without problems, only .24 failed.

Anyway, now we have 0.1.2-r1 with 2.6.24-fix, so I hope this is resolved.