From: SourceForge.net <no...@so...> - 2009-04-28 09:14:38
|
Bugs item #2782700, was opened at 2009-04-28 11:14 Message generated for change (Tracker Item Submitted) made by henriksorensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2782700&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: build/test Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Henrik Sorensen (henriksorensen) Assigned to: Nobody/Anonymous (nobody) Summary: scapi.c:487: error: `tmp_len' undeclared (first use in this Initial Comment: Compilation fails due to tmp_len not being defined. SunOS sdrsolaris 5.10 Generic_137138-09 i86pc i386 i86pc gcc (GCC) 3.4.6 GNU Make 3.81 /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -DNETSNMP_ENABLE_IPV6 -g -O2 -Usolaris2 -Dsolaris2=solaris2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -c -o file_utils.lo file_utils.c gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -DNETSNMP_ENABLE_IPV6 -g -O2 -Usolaris2 -Dsolaris2=solaris2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -c file_utils.c -fPIC -DPIC -o .libs/file_utils.o gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -DNETSNMP_ENABLE_IPV6 -g -O2 -Usolaris2 -Dsolaris2=solaris2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -c file_utils.c -o file_utils.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -DNETSNMP_ENABLE_IPV6 -g -O2 -Usolaris2 -Dsolaris2=solaris2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -c -o scapi.lo scapi.c gcc -I../include -I. -I../snmplib -I/usr/local/ssl/include -DNETSNMP_ENABLE_IPV6 -g -O2 -Usolaris2 -Dsolaris2=solaris2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -c scapi.c -fPIC -DPIC -o .libs/scapi.o scapi.c: In function `sc_init': scapi.c:172: warning: implicit declaration of function `pkcs_init' scapi.c: In function `sc_random': scapi.c:210: warning: implicit declaration of function `pkcs_random' scapi.c: In function `sc_generate_keyed_hash': scapi.c:339: warning: implicit declaration of function `pkcs_sign' scapi.c: In function `sc_hash': scapi.c:487: warning: implicit declaration of function `pkcs_digest' scapi.c:487: error: `tmp_len' undeclared (first use in this function) scapi.c:487: error: (Each undeclared identifier is reported only once scapi.c:487: error: for each function it appears in.) scapi.c: In function `sc_encrypt': scapi.c:845: warning: implicit declaration of function `pkcs_encrpyt' scapi.c: In function `sc_decrypt': scapi.c:1054: warning: implicit declaration of function `pkcs_decrpyt' make[1]: *** [scapi.lo] Error 1 make[1]: Leaving directory `/var/tmp/netsnmp/net-snmp-5.4.2.1/snmplib' make: *** [subdirs] Error 1 The tmp_len is defined here in scapi.c: #ifdef NETSNMP_USE_OPENSSL const EVP_MD *hashfn; EVP_MD_CTX ctx, *cptr; unsigned int tmp_len; #endif ./configure --with-sys-contact=root --with-sys-location= --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/sma_snmp --with-default-snmp-version=3 --enable-shared=yes --enable-developer=yes --with-libs=-ldl --with-defaults=no --prefix=/opt/my_place --enable-ipv6 --datadir=/etc/sma --with-mibdirs=/etc/sma/snmp/mibs --with-cc=gcc --enable-agentx-dom-sock-only --with-mib-modules="smux disman/event-mib ucd-snmp/diskio" --with-pkcs=/usr/lib --with-perl-modules=no --disable-embedded-perl --with-transports="UDP UDPIPv6 TCPIPv6 TCP" --with-ldflags=-R../lib --libdir=/usr/local/lib ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2782700&group_id=12694 |