Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 65436

Summary: pcmcia-cs 3.2.7-r1 fails to compile with 'conflicting types' error
Product: Gentoo Linux Reporter: Jason Ahrens <gentoobugs>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Ahrens 2004-09-26 11:50:59 UTC
pcmcia-cs 3.2.7-r1 fails to compile. This may be an actual source code issue. The error is:
orinoco.c: At top level:
orinoco.c:4401: error: conflicting types for 'orinoco_int_rxmonitor'
orinoco.c:1834: error: previous implicit declaration of 'orinoco_int_rxmonitor' was here
make[1]: *** [orinoco.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.7-r1/work/pcmcia-cs-3.2.7/wireless'
make: *** [all] Error 2


Reproducible: Always
Steps to Reproduce:
1. emerge pcmcia-cs
2. Watch the compile and errors
3.

Actual Results:  
Error was received as shown 

Expected Results:  
Complete the compile
Comment 1 Jason Ahrens 2004-09-26 12:08:19 UTC
Here's the output from 'emerge info':
# emerge info
Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.4.24-ck1 i686)
=================================================================
System uname: 2.4.24-ck1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.5.3
distcc 2.17 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
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -pipe"
DISTDIR="/mnt/xtra/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.noved.org/ http://adelie.polymtl.ca/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apm arts avi berkdb bitmap-fonts crypt cups curl dga encode ethereal fam fbcon flac flash foomaticdb gdbm ggi gif gpm gps gtk2 imagemagick imap imlib java jpeg kde lcms libg++ libwww lirc mad maildir mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl png python qt quicktime readline samba sdl slang speex spell ssl svga tcpd tiff truetype unicode usb wmf x86 xml xml2 xmms xprint xv zlib linguas_en_GB"
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2004-09-26 22:34:24 UTC
Couple of suggestions... 

-You're running an old ck kernel revision. Try a newer one.
-ck kernel's have custom patches which are not supported by the mobile herd... try a different kernel... like vanilla or gentoo's.

The issue at hand is that the ck-sources that you are running have differently declared data structures then the pcmcia-cs package has declared and expects the kernel to provide. Need to resolve that through one of the 2 ways above.