|
-
September 17th, 2008, 12:17 AM
#1
Unable to compile/link SNMP++ sample under Linux
Hello,
I am new in the world of snmp++. Recently I have downloaded the latest version of snmp++ for Linux and tried to compile the sample (specifically Qt example). While I try to "make" the sample, at one stage it shows the following message and exit the make utility:
/usr/bin/ld: Cannot find -lsnmp++
Looks like a library file is missing.
Can any one tell me how to solve this problem?
Thanks in advance.
-
September 20th, 2008, 01:04 PM
#2
Re: Unable to compile/link SNMP++ sample under Linux
Try to find libsnmp++.so in you library path.
henky
----------------------------------
[email protected] is not my email address anymore...
Jangan Pernah Menyerah
-
October 5th, 2008, 10:57 PM
#3
Re: Unable to compile/link SNMP++ sample under Linux
Thanks for your response. I have copied the SO file in the path specified in the make file, which is "/snmp++/lib". But now following new error messages are showing up:
../lib/libsnmp++.so: undefined reference to `des_key_sched'
../lib/libsnmp++.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
Can you please tell me what to do this time?
-
October 6th, 2008, 12:12 AM
#4
Re: Unable to compile/link SNMP++ sample under Linux
I'm not sure. It seems libsnmp++ calls encryption library. It looks like DES library. You need to link with this library also.
henky
----------------------------------
[email protected] is not my email address anymore...
Jangan Pernah Menyerah
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|