Re: C compiler cannot create executables

venkat easwar <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

Thanks Dave and Bart.

My eyes missed the load error. I installed ssl libraries and it started working. 
Yes, Dave's Idea also should work.

Cheers
VENKAT




________________________________
From: Dave Shield <[email protected]>
To: venkat easwar <[email protected]>
Cc: [email protected]
Sent: Mon, March 7, 2011 4:57:58 PM
Subject: Re: C compiler cannot create executables

On 7 March 2011 11:03, venkat easwar <[email protected]> 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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.