Emerged pcmcia-cs with the following USE flags: +X +apm -build -nocardbus +pnp +trusted emerge info ================================================================= Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.6.4 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -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.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.iasi.roedu.net/pub/mirrors/gentoo.org/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cjk crypt cscope cups curl directfb divx4linux doc dvd dvdr emacs encode esd ethereal evo f77 fbcon flac foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imap imlib java jpeg kde kerberos ldap libg++ libwww mad maildir mikmod mmx mng motif mozilla mpeg mysql nas ncurses nls offensive oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl sdl slang socks5 speex spell sse ssl svg svga tcltk tcpd tetex theora tiff truetype unicode usb wmf x86 xinerama xml xml2 xmms xprint xv xvid zlib" Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 42784 [details] build log and config.* Attached the full build log and config.in/.out/.mk.
I found the same problem. Tried the detection Manually!!! (cop[ied from the Makefile) compileerror of tmp.c on XawInit.h Widget IS NOT DEFINED in extern Widget XawOpenApplication( Some include file missing on the detection of Xaw?????? regards, Robert
stop the emerge of pcmcia-cs with ctrl c tryd to emerge xcardinfo by hand. Make does not compile (x)cardinfo made comment of HAS_FORMS and HAS_XAW - cardinfo: functions of the lform lib not found by the linker such as: fl_set_menu_item_mode. Did not manage to solve yet - xcardinfo error on CS_EVENT_RESET_COMPLETE I have been staring at it (in cs.h to) for more then an hour without success. Finally changed that line into a comment ----> xcardinfo compiles with success Robert
This will be fixed in the soon-to-enter-portage pcmcia-cs-3.2.8.
changed cardinfo.c { CS_EVENT_CARD_RESET, "card reset successful" }, { 0x00100, "reset request complete" }, { CS_EVENT_EJECTION_REQUEST, "user eject request" }, Changed xcardinfo.c { CS_EVENT_CARD_RESET, "card reset successful" }, { 0x001000, "reset request complete" }, { CS_EVENT_EJECTION_REQUEST, "user eject request" }, changed the Makefile in cardmgr cardinfo: cardinfo.o $(CC) $< -o $@ -L/usr/X11R6/lib -L/usr/X11/lib -lforms -lX11 -lm -lXpm cardinfo now compiles manually xcardinfo now compiles manually Robert
Fixed in sys-apps/pcmcia-cs-3.2.8. Thank you for reporting this.
I think I can solve the correct detection of Xaw and forms but would you be able to use this? Or do you have that solved allready? The CS_EVENT_RESET_COMPLETE is a bit more complicated. regards, Robert
The ebuild doesn't use the auto-detection since Xaw and xforms are enabled through USE flags. Perhaps upstream would be interested in a patch, though...
I agree but the configure script and the Makefiles do the detection anyway. Eventhow we have portage the script blocks the compilation of (x)cardinfo because of the faulty test. Robert
So you say 'USE="X xforms" emerge =sys-apps/pcmcia-cs-3.2.8' doesn't install the xcardinfo and cardinfo binaries on your system?
Yep that is what this is all about configure does a check with a emtpy program declaring some vaiable form either xaw or xforms. I only checked the xaw test compilation manualy and ended up with a compile erro and thus no compilation of cardinfo. That is why I compiled them manually and disabled the variables HAS_FORMS and HAS_XAW in the Makefile. Then I found that (x)cardinfo both had additional problems as wel such as CS_EVENT_RESET_COMPLETE and the missing link library's on cardinfo.
Please attach the entire output of 'USE="X xforms" emerge =sys-apps/pcmcia-cs-3.2.8' to this bug report.
Robert, please attach the output of 'emerge --info' as well.
Hang on I will but I have some other data on the screen: in the configure file the following changes are needed: for forms detection: echo "#include <forms.h>" > tmp.c echo "int main(void) { void *x = &fl_initialize; return 0; }" >> tmp.c XINCS="-I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11" FLIBS="-L/usr/X11R6/lib -L/usr/X11/lib -lforms -lX11 -lm -lXpm" if $UCC $UFLAGS $XINCS tmp.c $FLIBS 2>/dev/null ; then HAS_FORMS=y The -lXpm was missing !!!!!!! For the Xaw detection: echo "#include <X11/Xaw/XawInit.h>" > tmp.c echo "#include <Xm/Primitive.h>" >> tmp.c echo "int main() { void *x = &XawInitializeWidgetSet; return 0; }" >> tmp.c if $UCC $UFLAGS $XINCS tmp.c -L/usr/X11R6/lib -L/usr/X11/lib \ -lX11 -lXaw 2>/dev/null ; then HAS_XAW=y The include of Primitive.h was missing These missing info result in a faulty test compiling and thus missing Xaw and forms. They are simply not detected Robert So next will be your question
laptop robert # USE="X xforms" ; emerge =sys-apps/pcmcia-cs-3.2.8 Calculating dependencies emerge: there are no ebuilds to satisfy "=sys-apps/pcmcia-cs-3.2.8". laptop robert # USE="X xforms" ; emerge =sys-apps/pcmcia-cs-3.2.7 Calculating dependencies emerge: there are no ebuilds to satisfy "=sys-apps/pcmcia-cs-3.2.7". I am using the 3.2.7 as latest. * sys-apps/pcmcia-cs Latest version available: 3.2.7-r4 Latest version installed: 3.2.7-r4 Size of downloaded files: 1,266 kB Homepage: http://pcmcia-cs.sourceforge.net Description: PCMCIA tools for Linux License: GPL-2
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686) ================================================================= System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1300MHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 13 2005, 17:19:56)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.196.1/portage" USE="x86 X Xaw3d aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY * x11-libs/xforms Latest version available: 1.0.90 Latest version installed: 1.0.90 Size of downloaded files: 968 kB Homepage: http://www.nongnu.org/xforms/ Description: A graphical user interface toolkit for X License: LGPL-2.1 so xforms is installed
after all these changes make clean ./configure make all results in (x)cardinfo being compiled successfully (I enabled the checks in ./cardmgr/Makefile)
As stated in comment #6: this issue is fixed in sys-apps/pcmcia-cs-3.2.8, which I added to portage earlier today. You are trying to use version 3.2.7 in which this bug is still present. Run an 'emerge sync' and upgrade to pcmcia-3.2.8.
ok the server will do this overnight as we should only sync once ervery 24 hours then the next morning i will test the new one Robert
OK pcmcia-cs-3.2.8 still has the same problems The configure script has not been changed Robert
No, the configure script has not been changed - the building of the cardinfo and xcardinfo binaries are controlled through the X and xforms USE flags. Please attach the entire output of: 'USE="X xforms" emerge =sys-apps/pcmcia-cs-3.2.8' to this bug report.
Closing as WORKSFORME until we get more feedback.
Sorry I had some other things to attant to. Here it comes: laptop robert # USE="X xforms" emerge =sys-apps/pcmcia-cs-3.2.8 Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/pcmcia-cs-3.2.8 to / >>> md5 files ;-) pcmcia-cs-3.2.5-r2.ebuild >>> md5 files ;-) pcmcia-cs-3.2.7-r3.ebuild >>> md5 files ;-) pcmcia-cs-3.2.8.ebuild >>> md5 files ;-) pcmcia-cs-3.2.5-r3.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) pcmcia-cs-3.2.7-r4.ebuild >>> md5 files ;-) files/digest-pcmcia-cs-3.2.5-r2 >>> md5 files ;-) files/digest-pcmcia-cs-3.2.5-r3 >>> md5 files ;-) files/digest-pcmcia-cs-3.2.7-r3 >>> md5 files ;-) files/digest-pcmcia-cs-3.2.7-r4 >>> md5 files ;-) files/pcmcia-cs-3.2.8-x11.patch >>> md5 files ;-) files/pcmcia-cs-3.2.8-move-pnp-ids.patch >>> md5 files ;-) files/pcmcia-cs-3.2.8-man-pages.patch >>> md5 files ;-) files/pcmcia-cs-3.2.8-ldflags.patch >>> md5 files ;-) files/pcmcia-cs-3.2.8-conf.d >>> md5 files ;-) files/pcmcia.rc >>> md5 files ;-) files/pcmcia-cs-3.2.8-init.d >>> md5 files ;-) files/digest-pcmcia-cs-3.2.8 >>> md5 files ;-) files/network >>> md5 files ;-) files/ppc.config.opts >>> md5 files ;-) files/pcmcia-cs-3.2.8-ppc.config.opts >>> md5 files ;-) files/pcmcia.conf >>> md5 files ;-) files/pcmcia-cs-3.2.8-tools-only.patch >>> md5 files ;-) files/pcmcia-cs-3.2.7-move-pnp-ids-to-usr-share-misc.patch >>> md5 files ;-) files/pcmcia-cs-3.2.8-includes.patch >>> md5 files ;-) files/cardinfo-install-3.2.7.patch >>> md5 files ;-) files/pcmcia-cs-3.2.8-network >>> md5 src_uri ;-) pcmcia-cs-3.2.8.tar.gz * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.11-gentoo-r5 >>> Unpacking source... >>> Unpacking pcmcia-cs-3.2.8.tar.gz to /var/tmp/portage/pcmcia-cs-3.2.8/work * Applying pcmcia-cs-3.2.8-includes.patch ... [ ok ] * Applying pcmcia-cs-3.2.8-ldflags.patch ... [ ok ] * Applying pcmcia-cs-3.2.8-move-pnp-ids.patch ... [ ok ] * Applying pcmcia-cs-3.2.8-x11.patch ... [ ok ] * Applying pcmcia-cs-3.2.8-tools-only.patch ... [ ok ] >>> Source unpacked. * Unsafe user-space tools disabled * Plug and Play support enabled -------- Linux PCMCIA Configuration Script -------- The default responses for each question are correct for most users. Consult the PCMCIA-HOWTO for additional info about each option. Linux kernel source directory [/usr/src/linux] The kernel source tree is version 2.6.11-gentoo-r5. The current kernel build date is Thu Apr 21 15:25:31 Local time zone must be set--see zic manu. Build 'trusting' versions of card utilities (y/n) [n] Include 32-bit (CardBus) card support (y/n) [y] Include PnP BIOS resource checking (y/n) [y] Module install directory [/lib/modules/2.6.11-gentoo-r5] Kernel configuration options: Kernel-tree PCMCIA support is enabled. Symmetric multiprocessing support is disabled. Preemptive kernel support is disabled. Realtime Hardware Abstraction Layer is disabled. High memory support is disabled. PCI BIOS support is enabled. Power management (APM) support is enabled. SCSI support is enabled. IEEE 1394 (FireWire) support is disabled. Networking support is enabled. Radio network interface support is enabled. Token Ring device support is disabled. Fast switching is disabled. Frame Diverter is disabled. Module version checking is disabled. Kernel debugging support is disabled. /proc filesystem support is enabled. PAE support is disabled. System V init script layout (y/n) [n] Configuration successful. ** Your kernel is configured with PCMCIA driver support. Therefore, ** 'make all' will compile the PCMCIA utilities but not the drivers. ** See README-2.4 if this is not what you intended! make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/cardmgr' i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -c cardmgr.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -c -MD -O -pipe -I../include/static -I../include -I/usr/src/linux/include -I../modules yacc_config.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -c -MD -O -pipe -I../include/static -I../include -I/usr/src/linux/include -I../modules lex_config.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now cardctl.c -o cardctl i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now ifport.c -o ifport i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now ifuser.c -o ifuser i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now scsi_info.c -o scsi_info i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now ide_info.c -o ide_info i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -MD -I../include/static -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c cardinfo.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -MD -I../include/static -I../include -I/usr/src/linux/include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c xcardinfo.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O -Wall -MD -I../include/static -I../include -I/usr/src/linux/include -I../modules -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c gpccard.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now pcic_probe.c -o pcic_probe i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now cardmgr.o yacc_config.o lex_config.o -o cardmgr i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe cardinfo.o -o cardinfo -Wl,-z,now -L/usr/X11R6/lib -L/usr/X11/lib -lforms -lX11 -lm -lXpm i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe xcardinfo.o -o xcardinfo -Wl,-z,now -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXaw i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe gpccard.o -o gpccard -Wl,-z,now -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/cardmgr' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/flash' i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -c ftl_format.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -c ftl_check.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now ftl_check.o -o ftl_check i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now ftl_format.o -o ftl_format make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/flash' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/debug-tools' i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -c dump_cis.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -c dump_cisreg.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -c pack_cis.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O -pipe -I../include/static -I../include -I/usr/src/linux/include -I../modules -c lex_cis.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O -pipe -I../include/static -I../include -I/usr/src/linux/include -I../modules -c yacc_cis.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now dump_exca.c -o dump_exca i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -c lspnp.c lspnp.c: In function `dump_chain': lspnp.c:499: warning: use of cast expressions as lvalues is deprecated i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -c setpnp.c setpnp.c: In function `update_chain': setpnp.c:166: warning: use of cast expressions as lvalues is deprecated i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -c dump_tcic.c i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I../include -I/usr/src/linux/include -I../modules -Wl,-z,now dump_cardbus.c -o dump_cardbus i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now dump_cis.o -o dump_cis i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now dump_cisreg.o -o dump_cisreg i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe pack_cis.o lex_cis.o yacc_cis.o -o pack_cis -lm i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now lspnp.o -o lspnp i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now setpnp.o -o setpnp i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -Wl,-z,now dump_tcic.o -o dump_tcic make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/debug-tools' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/man' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc' make[2]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc/cis' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc/cis' make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc' >>> Test phase [not enabled]: sys-apps/pcmcia-cs-3.2.8 >>> Install pcmcia-cs-3.2.8 into /var/tmp/portage/pcmcia-cs-3.2.8/image/ category sys-apps make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/cardmgr' cp -f cardinfo /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/bin chmod u+s /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/bin/cardinfo cp -f xcardinfo /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/bin chmod u+s /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/bin/xcardinfo cp -f gpccard /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/bin cp -f pcic_probe /var/tmp/portage/pcmcia-cs-3.2.8/image//sbin cp -f cardmgr cardctl ifport ifuser scsi_info ide_info pcinitrd /var/tmp/portage/pcmcia-cs-3.2.8/image//sbin chmod u+s /var/tmp/portage/pcmcia-cs-3.2.8/image//sbin/cardctl make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/cardmgr' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/flash' cp -f ftl_format ftl_check /var/tmp/portage/pcmcia-cs-3.2.8/image//sbin make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/flash' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/debug-tools' cp -f dump_cis pack_cis /var/tmp/portage/pcmcia-cs-3.2.8/image//sbin cp -f lspnp setpnp /var/tmp/portage/pcmcia-cs-3.2.8/image//sbin cp -f pnp.ids /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/share/misc make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/debug-tools' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/man' cp cardinfo.1 /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/share/man//man1 cp *.5 /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/share/man//man5 cp *.8 /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/share/man//man8 make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/man' make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc' make[2]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc/cis' cp *.dat /var/tmp/portage/pcmcia-cs-3.2.8/image//etc/pcmcia/cis make[2]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc/cis' -> Installing PCMCIA startup script as /var/tmp/portage/pcmcia-cs-3.2.8/image//etc/rc.d/rc.pcmcia -> Updating client scripts in /var/tmp/portage/pcmcia-cs-3.2.8/image//etc/pcmcia -> Updating /var/tmp/portage/pcmcia-cs-3.2.8/image//etc/modules.conf -> *NOT* running depmod. Run depmod by hand if necessary. make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.8/work/pcmcia-cs-3.2.8/etc' man: gzipping man page: cardinfo.1 gzipping man page: pcmcia.5 gzipping man page: stab.5 gzipping man page: pcinitrd.8 gzipping man page: ide_info.8 gzipping man page: lspnp.8 gzipping man page: cardctl.8 gzipping man page: cardmgr.8 gzipping man page: scsi_info.8 gzipping man page: pcic_probe.8 gzipping man page: setpnp.8 gzipping man page: ifport.8 gzipping man page: pack_cis.8 gzipping man page: ifuser.8 gzipping man page: dump_cis.8 gzipping man page: ftl_check.8 gzipping man page: ftl_format.8 prepallstrip: strip: i686-pc-linux-gnu-strip --strip-unneeded strip: i686-pc-linux-gnu-strip --strip-unneeded usr/bin/xcardinfo usr/bin/cardinfo usr/bin/gpccard sbin/scsi_info sbin/lspnp sbin/pack_cis sbin/ide_info sbin/pcic_probe sbin/ifport sbin/ifuser sbin/ftl_check sbin/setpnp sbin/ftl_format sbin/cardctl sbin/cardmgr sbin/dump_cis >>> Completed installing pcmcia-cs-3.2.8 into /var/tmp/portage/pcmcia-cs-3.2.8/image/ >>> Merging sys-apps/pcmcia-cs-3.2.8 to / * >>> SetUID: [chmod go-r] /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/ [ ok ]dinfo ... * >>> SetUID: [chmod go-r] /var/tmp/portage/pcmcia-cs-3.2.8/image//usr/ [ ok ]info ... * >>> SetUID: [chmod go-r] /var/tmp/portage/pcmcia-cs-3.2.8/image//sbin [ ok ] ... --- /etc/ --- /etc/conf.d/ >>> /etc/conf.d/pcmcia --- /etc/init.d/ >>> /etc/init.d/pcmcia --- /etc/pcmcia/ --- /etc/pcmcia/cis/ >>> /etc/pcmcia/cis/COMpad2.dat >>> /etc/pcmcia/cis/COMpad4.dat >>> /etc/pcmcia/cis/PCMLM28.dat >>> /etc/pcmcia/cis/LA-PCM.dat >>> /etc/pcmcia/cis/E-CARD.dat >>> /etc/pcmcia/cis/RS-COM-2P.dat >>> /etc/pcmcia/cis/tamarack.dat >>> /etc/pcmcia/cis/MT5634ZLX.dat >>> /etc/pcmcia/cis/3CXEM556.dat >>> /etc/pcmcia/cis/DP83903.dat >>> /etc/pcmcia/cis/NE2K.dat >>> /etc/pcmcia/cis/3CCFEM556.dat >>> /etc/pcmcia/cis/PE-200.dat >>> /etc/pcmcia/cis/PE520.dat >>> /etc/pcmcia/ftl >>> /etc/pcmcia/ide >>> /etc/pcmcia/scsi >>> /etc/pcmcia/ide.opts >>> /etc/pcmcia/wireless.opts >>> /etc/pcmcia/config >>> /etc/pcmcia/ieee1394 >>> /etc/pcmcia/network.opts >>> /etc/pcmcia/network >>> /etc/pcmcia/memory >>> /etc/pcmcia/config.opts >>> /etc/pcmcia/serial >>> /etc/pcmcia/shared >>> /etc/pcmcia/wireless >>> /etc/pcmcia/parport >>> /etc/pcmcia/serial.opts >>> /etc/pcmcia/memory.opts >>> /etc/pcmcia/ieee1394.opts >>> /etc/pcmcia/parport.opts >>> /etc/pcmcia/ftl.opts >>> /etc/pcmcia/scsi.opts --- /usr/ --- /usr/bin/ >>> /usr/bin/xcardinfo >>> /usr/bin/cardinfo >>> /usr/bin/gpccard --- /usr/share/ --- /usr/share/doc/ --- /usr/share/doc/pcmcia-cs-3.2.8/ >>> /usr/share/doc/pcmcia-cs-3.2.8/MAINTAINERS.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/README-2.4.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/README.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-HOWTO.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-HOWTO.ps.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/SUPPORTED.CARDS.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-PROG.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-PROG.ps.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/BUGS.gz >>> /usr/share/doc/pcmcia-cs-3.2.8/CHANGES.gz --- /usr/share/man/ --- /usr/share/man/man1/ >>> /usr/share/man/man1/cardinfo.1.gz --- /usr/share/man/man5/ >>> /usr/share/man/man5/stab.5.gz >>> /usr/share/man/man5/pcmcia.5.gz --- /usr/share/man/man8/ >>> /usr/share/man/man8/cardctl.8.gz >>> /usr/share/man/man8/ftl_format.8.gz >>> /usr/share/man/man8/ide_info.8.gz >>> /usr/share/man/man8/pack_cis.8.gz >>> /usr/share/man/man8/setpnp.8.gz >>> /usr/share/man/man8/cardmgr.8.gz >>> /usr/share/man/man8/ifuser.8.gz >>> /usr/share/man/man8/ftl_check.8.gz >>> /usr/share/man/man8/lspnp.8.gz >>> /usr/share/man/man8/scsi_info.8.gz >>> /usr/share/man/man8/pcic_probe.8.gz >>> /usr/share/man/man8/dump_cis.8.gz >>> /usr/share/man/man8/pcinitrd.8.gz >>> /usr/share/man/man8/ifport.8.gz --- /usr/share/misc/ >>> /usr/share/misc/pnp.ids --- /sbin/ >>> /sbin/scsi_info >>> /sbin/lspnp >>> /sbin/pack_cis >>> /sbin/ide_info >>> /sbin/pcic_probe >>> /sbin/ifport >>> /sbin/ifuser >>> /sbin/pcinitrd >>> /sbin/ftl_check >>> /sbin/setpnp >>> /sbin/ftl_format >>> /sbin/cardctl >>> /sbin/cardmgr >>> /sbin/dump_cis >>> Safely unmerging already-installed instance... --- !mtime obj /usr/share/misc/pnp.ids --- !mtime obj /usr/share/man/man8/setpnp.8.gz --- !mtime obj /usr/share/man/man8/scsi_info.8.gz --- !mtime obj /usr/share/man/man8/pcinitrd.8.gz --- !mtime obj /usr/share/man/man8/pcic_probe.8.gz --- !mtime obj /usr/share/man/man8/pack_cis.8.gz --- !mtime obj /usr/share/man/man8/lspnp.8.gz --- !mtime obj /usr/share/man/man8/ifuser.8.gz --- !mtime obj /usr/share/man/man8/ifport.8.gz --- !mtime obj /usr/share/man/man8/ide_info.8.gz --- !mtime obj /usr/share/man/man8/ftl_format.8.gz --- !mtime obj /usr/share/man/man8/ftl_check.8.gz --- !mtime obj /usr/share/man/man8/dump_cis.8.gz --- !mtime obj /usr/share/man/man8/cardmgr.8.gz --- !mtime obj /usr/share/man/man8/cardctl.8.gz --- !mtime obj /usr/share/man/man5/stab.5.gz --- !mtime obj /usr/share/man/man5/pcmcia.5.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/SUPPORTED.CARDS.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/README.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/README-2.4.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-PROG.ps.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-PROG.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-HOWTO.ps.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/PCMCIA-HOWTO.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/MAINTAINERS.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/CHANGES.gz --- !mtime obj /usr/share/doc/pcmcia-cs-3.2.8/BUGS.gz --- !mtime obj /usr/bin/xcardinfo --- !mtime obj /usr/bin/gpccard --- !mtime obj /sbin/setpnp --- !mtime obj /sbin/scsi_info --- !mtime obj /sbin/pcinitrd --- !mtime obj /sbin/pcic_probe --- !mtime obj /sbin/pack_cis --- !mtime obj /sbin/lspnp --- !mtime obj /sbin/ifuser --- !mtime obj /sbin/ifport --- !mtime obj /sbin/ide_info --- !mtime obj /sbin/ftl_format --- !mtime obj /sbin/ftl_check --- !mtime obj /sbin/dump_cis --- !mtime obj /sbin/cardmgr --- !mtime obj /sbin/cardctl --- cfgpro obj /etc/pcmcia/wireless.opts --- cfgpro obj /etc/pcmcia/wireless --- cfgpro obj /etc/pcmcia/shared --- cfgpro obj /etc/pcmcia/serial.opts --- cfgpro obj /etc/pcmcia/serial --- cfgpro obj /etc/pcmcia/scsi.opts --- cfgpro obj /etc/pcmcia/scsi --- cfgpro obj /etc/pcmcia/parport.opts --- cfgpro obj /etc/pcmcia/parport --- cfgpro obj /etc/pcmcia/network.opts --- cfgpro obj /etc/pcmcia/network --- cfgpro obj /etc/pcmcia/memory.opts --- cfgpro obj /etc/pcmcia/memory --- cfgpro obj /etc/pcmcia/ieee1394.opts --- cfgpro obj /etc/pcmcia/ieee1394 --- cfgpro obj /etc/pcmcia/ide.opts --- cfgpro obj /etc/pcmcia/ide --- cfgpro obj /etc/pcmcia/ftl.opts --- cfgpro obj /etc/pcmcia/ftl --- cfgpro obj /etc/pcmcia/config.opts --- cfgpro obj /etc/pcmcia/config --- cfgpro obj /etc/pcmcia/cis/tamarack.dat --- cfgpro obj /etc/pcmcia/cis/RS-COM-2P.dat --- cfgpro obj /etc/pcmcia/cis/PE520.dat --- cfgpro obj /etc/pcmcia/cis/PE-200.dat --- cfgpro obj /etc/pcmcia/cis/PCMLM28.dat --- cfgpro obj /etc/pcmcia/cis/NE2K.dat --- cfgpro obj /etc/pcmcia/cis/MT5634ZLX.dat --- cfgpro obj /etc/pcmcia/cis/LA-PCM.dat --- cfgpro obj /etc/pcmcia/cis/E-CARD.dat --- cfgpro obj /etc/pcmcia/cis/DP83903.dat --- cfgpro obj /etc/pcmcia/cis/COMpad4.dat --- cfgpro obj /etc/pcmcia/cis/COMpad2.dat --- cfgpro obj /etc/pcmcia/cis/3CXEM556.dat --- cfgpro obj /etc/pcmcia/cis/3CCFEM556.dat --- cfgpro dir /etc/pcmcia/cis --- cfgpro dir /etc/pcmcia --- cfgpro obj /etc/init.d/pcmcia --- cfgpro dir /etc/init.d --- cfgpro obj /etc/conf.d/pcmcia --- cfgpro dir /etc/conf.d --- !empty dir /usr/share/misc --- !empty dir /usr/share/man/man8 --- !empty dir /usr/share/man/man5 --- !empty dir /usr/share/man --- !empty dir /usr/share/doc/pcmcia-cs-3.2.8 --- !empty dir /usr/share/doc --- !empty dir /usr/share --- !empty dir /usr/bin --- !empty dir /usr --- !empty dir /sbin --- !empty dir /etc >>> original instance of package unmerged safely. * * The recommended configuration for linux-2.6.x is to use * the in-kernel PCMCIA drivers. *
>>> /usr/bin/xcardinfo >>> /usr/bin/cardinfo As you can see, this problem was solved in the ebuild for 3.2.8 - as I've told you all along.
Sorry, Somhow I didn't get it with emerge -u world which did compile pcmcia-cs