Re: net-snmp compilation problem

Group <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I didnot specify any options in configure script. Just ran ./configure

Yes, I could see the below messages messages in configure output.

On Mon, Jan 25, 2010 at 1:46 AM, Bart Van Assche
<[email protected]>wrote:

> On Mon, Jan 25, 2010 at 3:50 AM, Group <[email protected]> wrote:
>
>> I'm getting compilation error while compiling net-snmp by running command
>> make
>>
>> The following is the configuration
>> operating system: windows vista
>> environment: cygwin
>> net-snmp version: net-snmp-5.5
>>
>> I have looked through the mailing-list but could not get any lead. From
>> the error, I guess some
>> package is missing. Can any one of you please let me know the package to
>> install and
>> how to resolve this issue. Thanks a lot.
>>
>> gcc -c -I../../include -g -O2 -Ucygwin -Dcygwin=cygwin
>> -DPERL_USE_SAFE_PUTENV
>> -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector
>> -I/usr/local/incl
>> ude -I/usr/lib/perl5/5.10/i686-cygwin/CORE -I. -I/usr/local/include
>> -DPERL_USE_S
>> AFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -fstack-protector
>> -I/usr
>> /local/include -DUSEIMPORTLIB -O3 -DVERSION=\"5.05\" -DXS_VERSION=\"5.05\"
>> "-
>> I/usr/lib/perl5/5.10/i686-cygwin/CORE" default_store.c
>> rm -f ../blib/arch/auto/NetSNMP/default_store/default_store.dll
>> g++ --shared -Wl,--enable-auto-import -Wl,--export-all-symbols
>> -Wl,--stack,838
>> 8608 -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector
>> default_st
>> ore.o -o ../blib/arch/auto/NetSNMP/default_store/default_store.dll \
>> /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll -L/home/test/ne
>> t-snmp-5.5/perl/default_store/../../snmplib/.libs
>> -L/home/test/net-snmp-5.5/pe
>> rl/default_store/../../snmplib -L/usr/local/lib -lnetsnmp \
>>
>>
>> /home/test/net-snmp-5.5/perl/default_store/../../snmplib/.libs/libnetsnmp.a(sc
>> api.o): In function `sc_decrypt':
>> /home/test/net-snmp-5.5/snmplib/scapi.c:987: undefined reference to
>> `_DES_key_
>> sched'
>> [ ... ]
>>
>
> Which options did you specify to the configure script ?
>
> Did you encounter the following message during the configure step ?
>
> configure: WARNING: winsock.h: present but cannot be compiled
> configure: WARNING: winsock.h:     check for missing prerequisite headers?
> configure: WARNING: winsock.h: see the Autoconf documentation
> configure: WARNING: winsock.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: winsock.h: proceeding with the preprocessor's result
> configure: WARNING: winsock.h: in the future, the compiler will take
> precedence
> configure: WARNING:     ##
> ---------------------------------------------------- ##
> configure: WARNING:     ## Report this to
> [email protected] ##
> configure: WARNING:     ##
> ---------------------------------------------------- ##
>
> Bart.
>

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com

_______________________________________________
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.