Olejniczak, Tomasz (Tomasz) wrote:
I downloaded 5.2.2.rc3 version, ran configure script as before:

./configure --enable-ipv6 --prefix=/texusr/tomasz/net-snmp-5.2.2.rc3
--with-openssl=/tnm_vbase/hp11/openssl/openssl0.9.7-d
--enable-ucd-snmp-compatibility --with-libs=-lnm

There were warnings but less than before:

configure: WARNING: openssl/hmac.h: present but cannot be compiled

This issue probably stems from your non-default installation of OpenSSL.
Check config.log and adjust accordingly. If you can't get it to work, post the *relevant* config.log snippets here.

make command still fails:
making all in /texusr/tomasz/net-snmp-5.2.2.rc3/snmplib
/texusr/tomasz/net-snmp-5.2.2.rc3/snmplib
        /bin/sh ../libtool  --mode=compile cc -I../include -I.  -I../snmplib
-I/tnm_vbase/hp11/openssl/openssl0.9.7-d/include  -g -Dhpux11  -c -o
snmp_client.lo snmp_client.c
cc -I../include -I. -I../snmplib
-I/tnm_vbase/hp11/openssl/openssl0.9.7-d/include -g -Dhpux11 -c
snmp_client.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 180: error
1000: Unexpected symbol: "netsnmp_session".
.....

Yet another different issue. You're using HP's bundled (aka crippled) cc which probably won't ever be able to compile net-snmp. You should get another compiler (HP's commercial ANSI/C compiler or gcc -- the latter *can* be compiled using the bundled cc and binary packages are available also).


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to