LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pcmcia-cs does not compile xcardinfo.c (https://www.linuxquestions.org/questions/linux-software-2/pcmcia-cs-does-not-compile-xcardinfo-c-276659/)

Sammy2ooo 01-11-2005 04:18 PM

pcmcia-cs does not compile xcardinfo.c
 
hi getting the following error while trying to compile pcmcia-cs package with 2.6.10-r4
is this a known problem? any hints on this???
Code:


These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/pcmcia-cs-3.2.5-r1  +apm -build +nocardbus -pnp -trusted 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) sys-apps/pcmcia-cs-3.2.5-r1 to /
>>> md5 src_uri ;-) pcmcia-cs-3.2.5.tar.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.5-module-init-tools.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.5-SMP-fix.diff.gz
>>> md5 src_uri ;-) pcmcia-cs-3.2.5-orinoco-monitor.diff.gz
>>> Unpacking source...
>>> Unpacking pcmcia-cs-3.2.5.tar.gz to /var/tmp/portage/pcmcia-cs-3.2.5-r1/work
 * Applying pcmcia-cs-3.2.5-orinoco-monitor.diff.gz ...                                                                                                [ ok ]
 * Applying pcmcia-cs-3.2.5-module-init-tools.diff.gz ...                                                                                              [ ok ]
 * Applying pcmcia-cs-3.2.5-SMP-fix.diff.gz ...                                                                                                        [ ok ]
>>> Source unpacked.
apm
nocardbus

    -------- 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.10-gentoo-r4.
The current kernel build date is Tue Jan 11 00:06:04 2005.

Build 'trusting' versions of card utilities (y/n) [n]
Include 32-bit (CardBus) card support (y/n) [n]
Include PnP BIOS resource checking (y/n) [n]
Module install directory [/lib/modules/2.6.10-gentoo-r4]

Kernel configuration options:
    Kernel-tree PCMCIA support is enabled.
    Symmetric multiprocessing support is disabled.
    Preemptive kernel support is enabled.
    High memory support 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 enabled.
    Kernel debugging support is disabled.
    Preemptive kernel patch is enabled.
    /proc filesystem support is enabled.
    PAE support is disabled.

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

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.5-r1/work/pcmcia-cs-3.2.5/cardmgr'
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -MD -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules -c cardmgr.c
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -c -MD -O -pipe -I../include/static -I/usr/src/linux/include -I../include -I../modules yacc_config.c
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -c -MD -O -pipe -I../include/static -I/usr/src/linux/include -I../include -I../modules lex_config.c
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules  cardctl.c  -o cardctl
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules  ifport.c  -o ifport
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules  ifuser.c  -o ifuser
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules  scsi_info.c  -o scsi_info
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules  ide_info.c  -o ide_info
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -MD -I../include/static -I/usr/src/linux/include -I../include -I../modules -I/usr/X11R6/include -I/usr/X11/include -I/usr/X11R6/include/X11 -c xcardinfo.c
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O -Wall -MD -I../include/static -I/usr/src/linux/include -I../include -I../modules `gtk-config --cflags` -c gpccard.c
cc -march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -fomit-frame-pointer -O3 -Wall -Wstrict-prototypes -pipe -Wa,--no-warn -I../include/static -I/usr/src/linux/include -I../include -I../modules  pcic_probe.c  -o pcic_probe
xcardinfo.c:97: error: `CS_EVENT_RESET_COMPLETE' undeclared here (not in a function)
xcardinfo.c:97: error: initializer element is not constant
xcardinfo.c:97: error: (near initialization for `event_tag[4].event')
xcardinfo.c:97: error: initializer element is not constant
xcardinfo.c:97: error: (near initialization for `event_tag[4]')
xcardinfo.c:98: error: initializer element is not constant
xcardinfo.c:98: error: (near initialization for `event_tag[5]')
xcardinfo.c:99: error: initializer element is not constant
xcardinfo.c:99: error: (near initialization for `event_tag[6]')
xcardinfo.c:100: error: initializer element is not constant
xcardinfo.c:100: error: (near initialization for `event_tag[7]')
xcardinfo.c:101: error: initializer element is not constant
xcardinfo.c:101: error: (near initialization for `event_tag[8]')
xcardinfo.c:102: error: initializer element is not constant
xcardinfo.c:102: error: (near initialization for `event_tag[9]')
make[1]: *** [xcardinfo.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/pcmcia-cs-3.2.5-r1/work/pcmcia-cs-3.2.5/cardmgr'
make: *** [all] Error 2

!!! ERROR: sys-apps/pcmcia-cs-3.2.5-r1 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! failed compiling
!!! If you need support, post the topmost build error, NOT this status message.


Sammy2ooo 01-11-2005 04:18 PM

btw i am using gentoo

kloni 01-18-2005 07:10 AM

updating xorg-x11 package solved this problem for me

hope this helps,
tom


All times are GMT -5. The time now is 12:06 AM.