[AGENT++] Help: add -lssl to the link command?
jin yan
jin.yan at necc.us
Mon Oct 31 15:15:40 CET 2005
Hi Jochen,
Where should I add the -lssl to the link command. I know I'm dummy about
this. Could you please specify this for me.
Thanks a lot.
Regards,
-Jin Yan
-----Original Message-----
From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org]
On Behalf Of agentpp-request at agentpp.org
Sent: None
To: agentpp at agentpp.org
Subject: AGENTPP Digest, Vol 21, Issue 20
Send AGENTPP mailing list submissions to
agentpp at agentpp.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.agentpp.org/mailman/listinfo/agentpp
or, via email, send a message with subject or body 'help' to
agentpp-request at agentpp.org
You can reach the person managing the list at
agentpp-owner at agentpp.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of AGENTPP digest..."
Today's Topics:
1. Re: Build problems with vs.net (Jochen Katz)
2. Re: Help: undefine reference to 'SHA1_Init' (Jochen Katz)
----------------------------------------------------------------------
Message: 1
Date: Sat, 29 Oct 2005 13:31:55 +0200
From: Jochen Katz <katz at agentpp.com>
Subject: Re: [AGENT++] Build problems with vs.net
To: agentpp at agentpp.org
Message-ID: <43635DAB.7020306 at 2004.joka.homelinux.org>
Content-Type: text/plain; charset=us-ascii
Hi,
>
c:\SnmpTools\installation\snmp++\consoleExamples\snmpNextAsync.cpp(65):
> fatal error C1083: Cannot open include file: 'iostream.h': No such
file
> or directory
it seems, this compiler no longer accepts old include style, change the
#if above the failed include to activate these lines:
#include <iostream>
using std::cerr;
using std::cout;
using std::endl;
using std::flush;
> I see MVC 7.1 files, Are they OK with VS.net ?
Possibly not, as otherwise the error above whould have been fixed
already...
Regards,
Jochen
------------------------------
Message: 2
Date: Sat, 29 Oct 2005 13:31:53 +0200
From: Jochen Katz <katz at agentpp.com>
Subject: Re: [AGENT++] Help: undefine reference to 'SHA1_Init'
To: agentpp at agentpp.org
Message-ID: <43635DA9.8080609 at 2004.joka.homelinux.org>
Content-Type: text/plain; charset=windows-1252
Hi,
> cd agent++/examples/<example_dir>/src
> make -f Makefile.linux
>
> I got the following error:
>
> ../../../../snmp++/lib/libsnmp++.so: undefined
> reference to 'SHA1_Init'
you changed the config to use openssl, then you have to add -lssl to the
link command. (I know this is not documented, but it will be for the
next release...)
Regards,
Jochen
------------------------------
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp
End of AGENTPP Digest, Vol 21, Issue 20
***************************************
More information about the AGENTPP
mailing list