> > 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.

I am not sure whether that part is relevant but a found a few errors similar
to the below:

  97  configure:3269: checking for gcc
    98  configure:3298: result: no
    99  configure:3349: checking for cc
   100  configure:3365: found /usr/ccs/bin/cc
   101  configure:3375: result: cc
   102  configure:3539: checking for C compiler version
   103  configure:3542: cc --version </dev/null >&5
   104  (Bundled) cc: warning 422: Unknown option "-" ignored.
   105  (Bundled) cc: warning 480: The -e option is available only with the
C/ANSI C product; ignored.
   106  (Bundled) cc: NLSPATH is
/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/C/%N.cat:
   107  (Bundled) cc: CCOPTS is not set.
   108  (Bundled) cc: INCLUDIR is INCLUDIR=/usr/include
   109  configure:3545: $? = 0
   110  configure:3547: cc -v </dev/null >&5
   111  (Bundled) cc: NLSPATH is
/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/C/%N.cat:
   112  (Bundled) cc: CCOPTS is not set.
   113  (Bundled) cc: INCLUDIR is INCLUDIR=/usr/include
   114  configure:3550: $? = 0
...   
135  configure:3759: checking whether we are using the GNU C compiler
   136  configure:3783: cc -c
-I/tnm_vbase/hp11/openssl/openssl0.9.7-d/include  conftest.c >&5
configure:3783: cc -c  -I/tnm_vbase/hp11/openssl/openssl0.9.7-d/include
conftest.c >&5
   137  (Bundled) cc: "conftest.c", line 19: error 1000: Unexpected symbol:
"me".
   138  (Bundled) cc: "conftest.c", line 19: error 1588: "choke" undefined.
   139  configure:3789: $? = 1
   140  configure: failed program was:
   141  | /* confdefs.h.  */

 
It also looks like compiler problem. But I can be wrong



> > 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).
> 
> 



-------------------------------------------------------
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