Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40293 - pcmcia-cs fails to compile
Summary: pcmcia-cs fails to compile
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Git (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 10:32 UTC by merwan kashouty
Modified: 2011-10-30 22:47 UTC (History)
0 users

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 merwan kashouty 2004-02-03 10:32:20 UTC
i cant get pcmcia-cs to compile against a 2.4 kernel above .22 , the error out put is the same no matter the pcmcia-cs version.

>>> Unpacking source...
>>> Unpacking pcmcia-cs-3.2.5.tar.gz to /var/tmp/portage/pcmcia-cs-3.2.5/work
  [32;01m* [0m Applying pcmcia-cs-3.2.5-orinoco-monitor.diff.gz...
 [A [153G   [34;01m[  [32;01mok [34;01m ] [0m
>>> Source unpacked.

    -------- 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.4.24-benh0.
  WARNING: the current kernel is version 2.4.22-ben2-r4.
The current kernel build date is Tue Feb 3 00:17:17 2004.

Build 'trusting' versions of card utilities (y/n) [n]
Include 32-bit (CardBus) card support (y/n) [y]
Module install directory [/lib/modules/2.4.24-benh0]

Kernel configuration options:
    Kernel-tree PCMCIA support is disabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is disabled.
    High memory support is enabled.
    PCI BIOS support is enabled.
    Power management (APM) support is disabled.
    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 enabled.
    Kernel debugging support is disabled.
    Preemptive kernel patch is disabled.
    /proc filesystem support is enabled.
    MPC8xx architecture is disabled.
    IBM 4xx processor is disabled.
    Embedded Planet LITE platform is disabled.
    Embedded Planet CLASSIC platfom is disabled.
    MPC823 processor is disabled.
    MPC850 processor is disabled.
    MPC860 processor is disabled.
    MPC860T processor is disabled.

The standalone Adaptec APA1480 CardBus driver is not supported with
    this kernel.  If you need it, use the kernel PCMCIA subsystem.

The standalone IEEE 1394 CardBus drivers are not supported with this
    kernel.  If you need them, use the kernel PCMCIA subsystem.

System V init script layout (y/n) [n]
The Forms library is not available.

Configuration successful.

make[1]: Entering directory `/var/tmp/portage/pcmcia-cs-3.2.5/work/pcmcia-cs-3.2.5/modules'
cc -fno-builtin -msoft-float -ffixed-r2 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/usr/src/linux/include  -D__KERNEL__ -DMODULE -c cs.c
cc -fno-builtin -msoft-float -ffixed-r2 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include -I/usr/src/linux/include  -D__KERNEL__ -DMODULE -c cistpl.c
In file included from ../include/asm/io.h:5,
                 from /usr/src/linux/include/asm/dma.h:12,
                 from /usr/src/linux/include/asm/scatterlist.h:5,
                 from /usr/src/linux/include/asm/pci.h:8,
                 from /usr/src/linux/include/linux/pci.h:679,
                 from ../include/linux/pci.h:4,
                 from cs.c:49:
/usr/src/linux/include/asm/io.h: In function `virt_to_bus':
/usr/src/linux/include/asm/io.h:235: `CONFIG_KERNEL_START' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h:235: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/io.h:235: for each function it appears in.)
/usr/src/linux/include/asm/io.h: In function `bus_to_virt':
/usr/src/linux/include/asm/io.h:246: `CONFIG_KERNEL_START' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `virt_to_phys':
/usr/src/linux/include/asm/io.h:259: `CONFIG_KERNEL_START' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux/include/asm/io.h:268: `CONFIG_KERNEL_START' undeclared (first use in this function)
In file included from ../include/asm/io.h:5,
                 from /usr/src/linux/include/asm/dma.h:12,
                 from /usr/src/linux/include/asm/scatterlist.h:5,
                 from /usr/src/linux/include/asm/pci.h:8,
                 from /usr/src/linux/include/linux/pci.h:679,
                 from ../include/linux/pci.h:4,
                 from cistpl.c:46:
/usr/src/linux/include/asm/io.h: In function `virt_to_bus':
/usr/src/linux/include/asm/io.h:235: `CONFIG_KERNEL_START' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h:235: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/io.h:235: for each function it appears in.)
/usr/src/linux/include/asm/io.h: In function `bus_to_virt':
/usr/src/linux/include/asm/io.h:246: `CONFIG_KERNEL_START' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `virt_to_phys':
/usr/src/linux/include/asm/io.h:259: `CONFIG_KERNEL_START' undeclared (first use in this function)
/usr/src/linux/include/asm/io.h: In function `phys_to_virt':
/usr/src/linux/include/asm/io.h:268: `CONFIG_KERNEL_START' undeclared (first use in this function)
make[1]: *** [cistpl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [cs.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.5/work/pcmcia-cs-3.2.5/modules'
make: *** [all] Error 2

!!! ERROR: sys-apps/pcmcia-cs-3.2.5 failed.
!!! Function src_compile, Line 107, Exitcode 2
!!! failed compiling


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2004-02-04 12:10:08 UTC
Please add the output of "emerge info" to this bug. Are you on PPC by any chance?
Comment 2 merwan kashouty 2004-02-04 15:26:09 UTC
hey... sorry,  yes this is on ppc
Gentoo Base System version 1.4.3.12
Portage 2.0.50_pre21 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24-benh0)
=================================================================
System uname: 2.4.24-benh0 ppc 7457, altivec supported
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/lib/pbbuttonsd /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.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 alsa berkdb cups divx dvd dvdr esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcpd truetype xv"
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2004-02-06 22:09:49 UTC
Okay, added a patch in CVS after discussing on IRC. Marking TEST-REQEUST til i hear back that things work all hunky-dory.
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2004-02-08 10:33:52 UTC
Okay, sounds like things are better now that the ppc-fix patch is in. closing.