compile error xcardinfo.c with 2.6.10-r4

2005-01-11
2013-04-08
  • Matthias Güntert

    hello

    trying to compile pcmcia-cs-3.2.5-r under gentoo and i am getting the following error:
    sammy@aphrodite pcmcia-cs-3.2.8 $ make all
    make[1]: Entering directory `/home/sammy/pcmcia-cs-3.2.8/cardmgr'
    cc  -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  -c -MD -O -pipe -I../include/static -I/usr/src/linux/include -I../include -I../modules yacc_config.c
    cc  -c -MD -O -pipe -I../include/static -I/usr/src/linux/include -I../include -I../modules lex_config.c
    cc    cardmgr.o yacc_config.o lex_config.o   -o cardmgr
    cc  -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  -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  -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  -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  -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  -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
    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]: Leaving directory `/home/sammy/pcmcia-cs-3.2.8/cardmgr'
    make: *** [all] Error 2

    the newest version (3.2.8) gives me the same error.

    any help is creatly appreciated

    greets

     
    • Matthias Güntert

      downgrading to 2.6.9-r13 "solved" the problem!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks