net-snmp-5.5 Compilation problems

tomy <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization kalki
Message-ID <[email protected]>

Hi,
      While compiling net-snmp-5.5 for xscale architecture with the
following commands

./configure --target=xscale-linux --host=xscale --build=i686
--with-cc=mxscaleb-gcc --with-ar=mxscaleb-ar --with-endianness=big
--disable-embedded-perl  --disable-perl-cc-checks --without-perl-modules
--without-rpm

make

I am getting the errors follwoing

/bin/sh ../libtool  --mode=link mxscaleb-gcc -g -O2 -Ulinux
-Dlinux=linux  -o snmpd snmpd.lo  -L../snmplib/.libs -L../snmplib
-L./.libs -L./helpers/.libs -L./helpers -L/usr/local/ssl/lib
libnetsnmpagent.la helpers/libnetsnmphelpers.la libnetsnmpmibs.la
../snmplib/libnetsnmp.la
libtool: link: mxscaleb-gcc -g -O2 -Ulinux -Dlinux=linux -o snmpd
snmpd.o  -L/home/tomy/net-snmp-5.5/agent/.libs
-L/home/tomy/net-snmp-5.5/agent/helpers/.libs
-L/home/tomy/net-snmp-5.5/snmplib/.libs
-L/home/tomy/net-snmp-5.5/snmplib
-L/home/tomy/net-snmp-5.5/agent/helpers -L/usr/local/ssl/lib
./.libs/libnetsnmpagent.a helpers/.libs/libnetsnmphelpers.a
./.libs/libnetsnmpmibs.a
/home/tomy/net-snmp-5.5/agent/helpers/.libs/libnetsnmphelpers.a
/home/tomy/net-snmp-5.5/agent/.libs/libnetsnmpagent.a
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a -ldl
../snmplib/.libs/libnetsnmp.a -lcrypto
/usr/local/mxscaleb/lib/gcc-lib/armv5b-linux/3.3.2/../../../../armv5b-linux/bin/ld:
skipping incompatible /usr/local/ssl/lib/libcrypto.a when searching for
-lcrypto
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0x43c): In
function `sc_hash':
/home/tomy/net-snmp-5.5/snmplib/scapi.c:472: undefined reference to
`EVP_DigestFinal_ex'
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0x44c):/home/tomy/net-snmp-5.5/snmplib/scapi.c:474:
undefined reference to `EVP_MD_CTX_cleanup'
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0x458):/home/tomy/net-snmp-5.5/snmplib/scapi.c:454:
undefined reference to `EVP_MD_CTX_init'
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0x818): In
function `sc_encrypt':
/home/tomy/net-snmp-5.5/snmplib/scapi.c:752: undefined reference to
`DES_key_sched'
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0x84c):/home/tomy/net-snmp-5.5/snmplib/scapi.c:758:
undefined reference to `DES_ncbc_encrypt'
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0x880):/home/tomy/net-snmp-5.5/snmplib/scapi.c:764:
undefined reference to `DES_ncbc_encrypt'
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0xa44): In
function `sc_decrypt':
/home/tomy/net-snmp-5.5/snmplib/scapi.c:987: undefined reference to
`DES_key_sched'
/home/tomy/net-snmp-5.5/snmplib/.libs/libnetsnmp.a(scapi.o)(.text+0xa70):/home/tomy/net-snmp-5.5/snmplib/scapi.c:990:
undefined reference to `DES_cbc_encrypt'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/tomy/net-snmp-5.5/agent'
make: *** [subdirs] Error 1

Is there any configuration option needs to provided to overcome this issue ?

Regards
Tomy

"Disclaimer: This message is being sent from Kalki Communication Technologies Ltd (KALKITECH). and may contain information which is confidential or
privileged. If you are not the intended recipient, please advise the sender immediately by reply e-mail and delete this message and any attachments
without retaining a copy. Any unauthorized use of the content of this message can expose the responsible party to civil and/or criminal penalties,
and may constitute a more serious offense. Further the company does not accept liability for any errors, omissions, viruses or computer problems
experienced as a result of this transmission. If you have received this message in error, notice is hereby given that no representation, contract or
other binding obligation shall be created by this e-mail."

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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.