On Fri, Jun 17, 2011 at 2:37 PM, Jan Safranek <[email protected]> wrote:
> vanilla net-snmp 5.7.rc1 does not compile on Fedora 15 and rawhide. I
> have quick & dirty specific patches in distro RPMs to make it work there.
>
> Now I finally got polished patches from Panu Matilainen, one of current
> RPM developers, which adds support of all RPM versions between 4.1 and
> 4.9 to Net-SNMP. It works well on everything between Fedora 15 and
> RHEL4. I haven't tested anything older, it's still possible it works
> there too.
>
> The patch itself is not that complicated, but I'd appreciate some
> testing on non-Red Hat systems like SuSE and Mandriva. Any volunteers?
>
Shouldn't such testing have happened before posting these patches ?
On openSUSE 11.4 these two patches causes a build error:
libtool: compile: gcc -I../../include -I. -I../../agent
-I../../agent/mibgroup -I../../snmplib -DNETSNMP_ENABLE_IPV6
-fno-strict-aliasing -g -O1 -pipe -Ulinux -Dlinux=linux -D_REENTRANT
-D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe
-fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE -Wall
-Wstrict-prototypes -Wwrite-strings -Wcast-qual -c
host/data_access/swinst_rpm.c -fPIC -DPIC -o
host/data_access/.libs/swinst_rpm.o
host/data_access/swinst_rpm.c: In function 'netsnmp_swinst_arch_load':
host/data_access/swinst_rpm.c:106:5: warning: implicit declaration of
function 'rpmtsCreate'
host/data_access/swinst_rpm.c:106:8: warning: assignment makes pointer from
integer without a cast
host/data_access/swinst_rpm.c:107:5: warning: implicit declaration of
function 'rpmtsSetVSFlags'
host/data_access/swinst_rpm.c:107:27: error: '_RPMVSF_NOSIGNATURES'
undeclared (first use in this function)
host/data_access/swinst_rpm.c:107:27: note: each undeclared identifier is
reported only once for each function it appears in
host/data_access/swinst_rpm.c:107:48: error: '_RPMVSF_NODIGESTS' undeclared
(first use in this function)
host/data_access/swinst_rpm.c:109:5: warning: implicit declaration of
function 'rpmtsInitIterator'
host/data_access/swinst_rpm.c:109:8: warning: assignment makes pointer from
integer without a cast
host/data_access/swinst_rpm.c:113:5: warning: implicit declaration of
function 'rpmdbNextIterator'
host/data_access/swinst_rpm.c:113:23: warning: assignment makes pointer from
integer without a cast
host/data_access/swinst_rpm.c:122:9: warning: 'headerGetEntry' is deprecated
(declared at /usr/include/rpm/rpmlegacy.h:48)
host/data_access/swinst_rpm.c:123:9: warning: 'headerGetEntry' is deprecated
(declared at /usr/include/rpm/rpmlegacy.h:48)
host/data_access/swinst_rpm.c:124:9: warning: 'headerGetEntry' is deprecated
(declared at /usr/include/rpm/rpmlegacy.h:48)
host/data_access/swinst_rpm.c:125:9: warning: 'headerGetEntry' is deprecated
(declared at /usr/include/rpm/rpmlegacy.h:48)
host/data_access/swinst_rpm.c:126:9: warning: 'headerGetEntry' is deprecated
(declared at /usr/include/rpm/rpmlegacy.h:48)
host/data_access/swinst_rpm.c:142:5: warning: implicit declaration of
function 'rpmdbFreeIterator'
host/data_access/swinst_rpm.c:143:5: warning: implicit declaration of
function 'rpmtsFree'
make[2]: *** [host/data_access/swinst_rpm.lo] Error 1
make[1]: *** [subdirs] Error 1
make: *** [subdirs] Error 1
Bart.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders