On 7 March 2011 11:03, venkat easwar <hareas...@yahoo.com> wrote:
> I am trying to compile net-snmp-5.4.3 in recent version of cygwin. I got gcc 
> version of 4.5.0.
> I am getting the following error when I am trying to configure through

> checking for C compiler default output file name...
> configure: error: C compiler cannot create executables


The config.log file contains the error message:

    gcc    conftest.c -lws2_32 -lssl >&5
    /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/bin/ld:
cannot find -lssl



> "./configure --with-mib-modules="host agentx disman/event-mib 
> examples/example" --with-ou
> t-mib-modules=snmpv3mib,mibII/vacm --with-out-mib-modules=host/hr_network 
> --with-libs="-lw
> s2_32 -lssl"       --disable-embedded-perl --without-perl-modules 
> --disable-privacy --disa
> ble-md5 --without-openssl"

Try removing "-lssl" from the --with-libs options

Dave

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to