what does configure say after "checking to see which crypto API we need to
use"?
is it "new MIT crypto API" or "old MIT crypto API"?
----
Stefan Radman
NET-SNMP enthusiast
> -----Original Message-----
> From: Mike Culbertson [mailto:mike@xxxxxxxxxxx]
> Sent: Thursday, 27 March, 2003 18:15
> To: net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx
> Subject: kerberos problem in solaris compile - krb5_enctype_array
>
>
> I am running into a problem building net-snmp 5.0.8 on
> Solaris 8, using both
> gcc and the Sun Pro compilers. The build will complete with
> little problem,
> up to the ksm section, when it errors with this:
>
> /usr/local/bin/gcc -I../include -I../include -I. -I.. -I. -I./..
> -I/usr/include/openssl -I/usr/include/openssl -R/usr/lib
> -Dsolaris2 -c
> snmpksm.c -fPIC -DPIC -o .libs/snmpksm.lo
> snmpksm.c: In function `ksm_rgenerate_out_msg':
> snmpksm.c:566: `krb5_enctype_array' undeclared (first use in
> this function)
> snmpksm.c:566: (Each undeclared identifier is reported only once
> snmpksm.c:566: for each function it appears in.)
> snmpksm.c: In function `ksm_process_in_msg':
> snmpksm.c:1372: `krb5_enctype_array' undeclared (first use in
> this function)
> make[1]: *** [snmpksm.lo] Error 1
>
> This occurs with both compilers, with a variety of options. I
> tried editing
> snmpksm.c, and removed/altered the references to
> krb5_enctype_array. The
> compile would complete after that, but as I am not real a C
> coder, and I
> don't think what I did was proper or could be considered
> stable (kerberos
> auth does not work after these edits, based on config from
> the READMEs).
>
> I have looked high and low for references to
> krb5_enctype_array, but I
> scarcely find any. It does not show up in the source for MIT
> kerberos 1.2.7
> or 1.3, nor in any of the other files in net-snmp. I'm sure
> I am missing
> something, but I've no idea what. Other than this, the build
> seems to work
> fine, assorted relevant info follows. Also, the relevant
> libraries (krb, ssl,
> etc.) are all known-working production builds in use by many
> other programs,
> along with a known-working kerberos framework. Thanks in advance.
>
> OS/Arch: Solaris 8 Generic_108528-18 Sun E420R sun4u
> Compiler: gcc version 3.1 20011127/cc: Sun WorkShop 6
> update 2 C 5.3
> Make: GNU Make version 3.78.1
> Libraries: OpenSSL 0.9.6i
> MIT Kerberos 1.2.7
> LIBS: "-lgssapi_krb5 -lkrb5 -lcom_err -lcrypto"
>
> Configure options:
> --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
> --libdir=/usr/lib --bindir=/usr/bin --sbindir=/usr/sbin \
> --with-persistent-directory=/var/lib/snmp \
> --enable-ucd-snmp-compatibility \
> --enable-shared \
> --disable-ipv6 --with-logfile=none \
> --without-rpm --with-openssl \
> --without-dmalloc --without-efence --without-rsaref \
> --with-sys-contact="root" --with-sys-location="dc" \
> --with-mib-modules="host smux utilities ucd-snmp/dlmod" \
> --with-out-mib-modules="tunnel" \
> --with-security-modules="usm ksm" --with-defaults
>
> --
> Mike Culbertson
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
|