Hi,
another problem has revealed with current Fedora - in some of the tests
in snmp_bc plugin there is a call to tcleanup(&sessionid) without
previous sessionid initialization with tsetup(&sessionid).
The tests are: tel001, tel005, tsensorget016, tsptime002
The error message:
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../utils
-I../../../utils -I../../../snmp -I../../../include -I../../../snmp
-I../../../plugins/snmp_bc -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -fno-strict-aliasing -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2
-Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-qual
-Wcast-align -Wno-strict-aliasing -Wno-unused-value -Werror
-D_GNU_SOURCE -D_REENTRANT -fexceptions -DNETSNMP_ENABLE_IPV6 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -Ulinux -Dlinux=linux
-I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE -I.
-I/usr/include/net-snmp -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -fno-strict-aliasing -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes
-Wpointer-arith -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wno-format-y2k -Wcast-qual
-Wcast-align -Wno-strict-aliasing -Wno-unused-value
-Werror -D_GNU_SOURCE -D_REENTRANT -fexceptions -MT tsensorget016.o -MD
-MP -MF .deps/tsensorget016.Tpo -c -o tsensorget016.o tsensorget016.c
cc1: warnings being treated as errors
tsensorget016.c: In function ‘main':
./tsetup.c:204: error: ‘sessionid' is used uninitialized in this
function
tsensorget016.c:32: note: ‘sessionid' was declared here
make[4]: *** [tsensorget016.o] Error 1
Dan
--
Dan Horák
Software Engineer
Red Hat Czech s.r.o., Purkyňova 99, 612 45 Brno
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel