libksba compile error

Edoardo Causarano curious.corn@katamail.com
Sat Oct 12 23:32:02 2002


/bin/sh ../libtool --mode=3Dcompile icc -DHAVE_CONFIG_H -I. -I. -I..     -g=
 -c=20
=2Do cert.lo `test -f 'cert.c' || echo './'`cert.c
icc -DHAVE_CONFIG_H -I. -I. -I.. -g -c cert.c
cert.c
cert.c(350): warning #120: return value type does not match the function ty=
pe
    return p;
           ^

cert.c(569): warning #167: argument of type "unsigned char *" is incompatib=
le=20
with parameter of type "const char *"
    t =3D _ksba_asntime_to_epoch (cert->image + n->off + n->nhdr, n->len);
                                ^

cert.c(1091): warning #167: argument of type "const unsigned char *" is=20
incompatible with parameter of type "const char *"
                suboid =3D ksba_oid_to_str (der, ti.length);
                                          ^

cert.c(1289): error #147: declaration is incompatible with "KsbaError=3D{en=
um=20
<unnamed>} ksba_cert_get_crl_dist_point(KsbaCert, int, KsbaName *, KsbaName=
=20
*, KsbaCRLReason=3D{enum <unnamed>} *)" (declared at line 214 of "ksba.h")
  ksba_cert_get_crl_dist_point (KsbaCert cert, int idx,
  ^

cert.c(1497): warning #167: argument of type "unsigned char *" is incompati=
ble=20
with parameter of type "char *restrict"
    strcpy (*r_serial, numbuf);

compilation aborted for cert.c (code 2)
make[3]: *** [cert.lo] Error 1
make[3]: Leaving directory `/usr/src/cvs/libksba/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cvs/libksba/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cvs/libksba'
make: *** [all] Error 2

This on the Intel CC for linux...=20

=2D-=20
 11:31pm  up  3:47,  2 users,  load average: 1.48, 2.44, 2.38