libchipcard2-1.9.12beta

"Johannes Kapune" <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hallo, ich schon wieder,
wahrscheinlich fehlt mir etwas.

bis dato habe ich erfolgreich:

gwenhywfar1.10.0
ktoblzcheck 1.4
aqbanking 1.0.7
aqhbci 1.0.4beta
aqhbci-qt-tools 1.0.3beta

installiert.

dann, beim Übersetzen von:
libchipcard2-1.9.12beta

(SuSE 9.1
uname -m = i686
uname -r = 2.6.5-7.147-default)

beim make bekomme ich folgende Fehler. Fehlt noch ein Teil vorher?
Habe ich ein Paket vergessen? Was kann ich sonst versuchen?

Danke und Gruß
Johannes

-----------------------------------------------------
....
 gcc -DHAVE_CONFIG_H -DOPENSC_VERSION=\"0.7.99\" -I. -I. -I../..
-I/usr/include/opensc -g -O2 -MT reader-libchipcard2.lo -MD -MP -MF
.deps/reader-libchipcard2.Tpo -c reader-libchipcard2.c  -fPIC -DPIC -o
.libs/reader-libchipcard2.o
In file included from reader-libchipcard2.c:33:
reader-libchipcard2_p.h:23:27: opensc/opensc.h: No such file or
directory
In file included from reader-libchipcard2.c:33:
reader-libchipcard2_p.h:33: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:33: warning: its scope is only this definition
or declaration, which is probably not what you want
reader-libchipcard2_p.h:33: warning: `struct sc_context' declared inside
parameter list
reader-libchipcard2_p.h:34: error: parse error before "sc_slot_info_t"
reader-libchipcard2_p.h:34: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:73: error: parse error before '*' token
reader-libchipcard2_p.h:77: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2_p.h:77: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:79: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2_p.h:79: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:81: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2_p.h:81: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:83: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2_p.h:83: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:86: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2_p.h:86: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:88: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2_p.h:88: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:90: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2_p.h:90: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:91: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2_p.h:92: warning: `struct sc_context' declared inside
parameter list
reader-libchipcard2_p.h:93: warning: `struct sc_context' declared inside
parameter list
reader-libchipcard2.c:146: error: parse error before '*' token
reader-libchipcard2.c:150: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2.c:150: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c: In function `chipcard2_transmit':
reader-libchipcard2.c:151: error: `reader' undeclared (first use in this
function)
reader-libchipcard2.c:151: error: (Each undeclared identifier is
reported only once
reader-libchipcard2.c:151: error: for each function it appears in.)
reader-libchipcard2.c:156: error: `recvsize' undeclared (first use in
this function)
reader-libchipcard2.c:160: error: `SC_ERROR_BUFFER_TOO_SMALL' undeclared
(first use in this function)
reader-libchipcard2.c:163: error: `sendsize' undeclared (first use in
this function)
reader-libchipcard2.c:166: error: `SC_ERROR_CMD_TOO_SHORT' undeclared
(first use in this function)
reader-libchipcard2.c:170: error: `sendbuf' undeclared (first use in
this function)
reader-libchipcard2.c:181: error: `SC_ERROR_INVALID_ARGUMENTS'
undeclared (first use in this function)
reader-libchipcard2.c:201: error: `control' undeclared (first use in
this function)
reader-libchipcard2.c:211: error: `recvbuf' undeclared (first use in
this function)
reader-libchipcard2.c:222: error: `SC_ERROR_TRANSMIT_FAILED' undeclared
(first use in this function)
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:245: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2.c:245: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c:245: error: conflicting types for
`chipcard2_detect_card_presence'
reader-libchipcard2_p.h:79: error: previous declaration of
`chipcard2_detect_card_presence'
reader-libchipcard2.c: In function `chipcard2_detect_card_presence':
reader-libchipcard2.c:246: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:269: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:269: error: `SC_SLOT_CARD_PRESENT' undeclared
(first use in this function)
reader-libchipcard2.c:273: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:278: warning: passing arg 1 of `chipcard2_getcard'
from incompatible pointer type
reader-libchipcard2.c:278: warning: passing arg 2 of `chipcard2_getcard'
from incompatible pointer type
reader-libchipcard2.c:280: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:282: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:285: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:291: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2.c:291: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c:291: error: conflicting types for
`chipcard2_getcard'
reader-libchipcard2_p.h:81: error: previous declaration of
`chipcard2_getcard'
reader-libchipcard2.c: In function `chipcard2_getcard':
reader-libchipcard2.c:292: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:301: error: `SC_ERROR_TRANSMIT_FAILED' undeclared
(first use in this function)
reader-libchipcard2.c:315: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:315: error: `SC_SLOT_CARD_PRESENT' undeclared
(first use in this function)
reader-libchipcard2.c:316: error: `SC_ERROR_CARD_NOT_PRESENT' undeclared
(first use in this function)
reader-libchipcard2.c:329: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:384: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:387: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:390: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:400: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2.c:400: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c:400: error: conflicting types for
`chipcard2_connect'
reader-libchipcard2_p.h:83: error: previous declaration of
`chipcard2_connect'
reader-libchipcard2.c: In function `chipcard2_connect':
reader-libchipcard2.c:405: warning: passing arg 1 of `chipcard2_getcard'
from incompatible pointer type
reader-libchipcard2.c:405: warning: passing arg 2 of `chipcard2_getcard'
from incompatible pointer type
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:416: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2.c:416: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c:416: error: conflicting types for
`chipcard2_disconnect'
reader-libchipcard2_p.h:86: error: previous declaration of
`chipcard2_disconnect'
reader-libchipcard2.c: In function `chipcard2_disconnect':
reader-libchipcard2.c:417: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:422: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:432: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:441: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2.c:441: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c:441: error: conflicting types for `chipcard2_lock'
reader-libchipcard2_p.h:88: error: previous declaration of
`chipcard2_lock'
reader-libchipcard2.c:450: warning: `struct sc_slot_info' declared
inside parameter list
reader-libchipcard2.c:450: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c:450: error: conflicting types for
`chipcard2_unlock'
reader-libchipcard2_p.h:90: error: previous declaration of
`chipcard2_unlock'
reader-libchipcard2.c:458: warning: `struct sc_reader' declared inside
parameter list
reader-libchipcard2.c:458: error: conflicting types for
`chipcard2_release'
reader-libchipcard2_p.h:91: error: previous declaration of
`chipcard2_release'
reader-libchipcard2.c: In function `chipcard2_release':
reader-libchipcard2.c:459: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:482: error: variable `chipcard2_drv' has
initializer but incomplete type
reader-libchipcard2.c:483: warning: excess elements in struct
initializer
reader-libchipcard2.c:483: warning: (near initialization for
`chipcard2_drv')
reader-libchipcard2.c:484: warning: excess elements in struct
initializer
reader-libchipcard2.c:484: warning: (near initialization for
`chipcard2_drv')
reader-libchipcard2.c:486: warning: excess elements in struct
initializer
reader-libchipcard2.c:486: warning: (near initialization for
`chipcard2_drv')
reader-libchipcard2.c:490: warning: `struct sc_context' declared inside
parameter list
reader-libchipcard2.c:490: error: conflicting types for `chipcard2_init'
reader-libchipcard2_p.h:92: error: previous declaration of
`chipcard2_init'
reader-libchipcard2.c: In function `chipcard2_init':
reader-libchipcard2.c:493: error: `scconf_block' undeclared (first use
in this function)
reader-libchipcard2.c:493: error: `blocks' undeclared (first use in this
function)
reader-libchipcard2.c:493: error: `conf_block' undeclared (first use in
this function)
reader-libchipcard2.c:502: error: `SC_ERROR_OUT_OF_MEMORY' undeclared
(first use in this function)
reader-libchipcard2.c:506: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:507: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:507: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:529: error: `SC_ERROR_CANNOT_LOAD_MODULE'
undeclared (first use in this function)
reader-libchipcard2.c:541: error: invalid application of `sizeof' to an
incomplete type
reader-libchipcard2.c:553: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:553: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:553: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:553: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:553: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:553: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:557: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:558: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:559: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:560: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:562: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:565: warning: passing arg 1 of `_sc_add_reader'
from incompatible pointer type
reader-libchipcard2.c:565: warning: passing arg 2 of `_sc_add_reader'
from incompatible pointer type
reader-libchipcard2.c:568: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:573: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:574: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:574: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:574: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:574: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:574: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:574: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c:575: error: dereferencing pointer to incomplete
type
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:588: warning: `struct sc_context' declared inside
parameter list
reader-libchipcard2.c:588: error: conflicting types for
`chipcard2_finish'
reader-libchipcard2_p.h:93: error: previous declaration of
`chipcard2_finish'
reader-libchipcard2.c: In function `sc_get_chipcard2_driver':
reader-libchipcard2.c:602: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:603: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:604: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:605: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:606: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:607: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:608: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:609: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:610: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c:611: error: invalid use of undefined type `struct
sc_reader_operations'
reader-libchipcard2.c: At top level:
reader-libchipcard2.c:480: error: storage size of `chipcard2_ops' isn't
known
reader-libchipcard2.c:482: error: storage size of `chipcard2_drv' isn't
known
make[3]: *** [reader-libchipcard2.lo] Fehler 1
make[3]: Leaving directory
`/usr/src/packages/SOURCES/libchipcard2-1.9.12beta/src/opensc'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/usr/src/packages/SOURCES/libchipcard2-1.9.12beta/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/usr/src/packages/SOURCES/libchipcard2-1.9.12beta'
make: *** [all] Fehler 2
johannes-02:/usr/src/packages/SOURCES/libchipcard2-1.9.12beta #



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.