Fwd: about gcc -o snmpdemoapp ... -lsnmp
"Clement Hsu" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dear Dave: Thanks. After i execute make snmpdemoapp, the error message show that it can not find many reference such as 'snmp_log', 'print_variable'; in this case, should i modify makefile or net-snmp-config, thank you Best Regards, Clement Hsu ---------- Forwarded message ---------- From: Dave Shield <[email protected]> Date: 2006/11/24 下午 5:35 Subject: Re: about gcc -o snmpdemoapp ... -lsnmp To: Clement Hsu <[email protected]> Cc: [email protected] On 24/11/06, Thomas Anders <[email protected]> wrote: > Clement Hsu wrote: > > root@localhost Learning and DEMO]# gcc -o snmpdemoapp snmpdemoapp.o-lsnmp > > > > /usr/lib/gcc/i386-redhat-linux/4.1.0/../../../libsnmp.a(keytools.o): In > > function `generate_Ku': undefined reference to `EVP_md5' > > Please use the Makefile we provide: > > http://www.net-snmp.org/tutorial/tutorial-5/toolkit/demoapp/Makefile Or at least use the full set of libraries indicated by net-snmp-config --libs Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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