Hi , In short : Iam using ucd-snmp-4.2.6 . When I do a 'make' in the agent directory I get the following error message -
/bin/sh ../libtool --mode=link gcc -g -O2 -Dlinux -I/usr/include/rpm -o snmpd snmpd.lo libucdagent.la libucdmibs.la ../snmplib/libsnmp.la -lcrypto -ldl -lrpm -lrpmio -lpopt -lz -lm gcc -g -O2 -Dlinux -I/usr/include/rpm -o .libs/snmpd snmpd.o ./.libs/libucdagent.so ./.libs/libucdmibs.so ../snmplib/.libs/libsnmp.so -lcrypto -ldl /usr/lib/librpm.so /usr/lib/librpmdb.so -L/usr/src/build/229501-i386/BUILD/rpm-4.2/zlib -L/usr/local/lib -lelf /usr/lib/librpmio.so -lrt -lpthread -lbz2 /usr/lib/libpopt.so -lz -lm -Wl,--rpath -Wl,/home/subraya/snmp/ucd-snmp-4.2.6/BIN/lib /usr/bin/ld: cannot find -lelf collect2: ld returned 1 exit status make: *** [snmpd] Error 1 IN Detail : 1) When I install ucd-snmp-4.2.6 Iam not able to find snmpd . 2) I change the bin directory and Install using ./configure --bindir= /home/subraya/snmp/ucd-snmp-4.2.6/BIN 3) when I do a make and make install I still do not see in the BIN/sbin directory 4) agent directory has snmp.o and snmp.ol files BUT the lib directory does not have 'libucdagent' and/or 'libucdmibs'files . 5) While trying make in snmplib got error as >scapi.c:612: incompatible type for argument 1 of `memset' > scapi.c: In function `sc_decrypt': Then I follow the instructions as told in this URL - http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=b2b6r1%24t6r% 241%40FreeBSD.csie.NCTU.edu.tw&rnum=3&prev=/groups%3Fq%3D%2522libucdagen t.la%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3Db2b6r1%2524t6r%25241%2 540FreeBSD.csie.NCTU.edu.tw%26rnum%3D3 6)make Changes to (snmplib/scapi.c) and change the two lines indicated: from memset(&key_sch, 0, sizeof(key_sch)); to memset((char*)&key_sch, 0, sizeof(key_sch)); And recompile the library. By make clean, make ,make install 7) Then do a make clean, make in the agent directory and get the above error message ?? Please give pointers for solving this. Any help greatly appreciated. Regards Subraya shenoy ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users