Compiling net-snmp-5.4.2.1 fails for -lperl libraries

Lisa Tondon <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello-

I was cross compiling net-snmp-5.4.2.1 for powerpc-linux.  The compilation
fails for -lperl libraries

/opt/eldk41/usr/bin/../lib/gcc/powerpc-linux/4.0.0/../../../../powerpc-linux/bin/ld:
cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/ltondon/Dec15/net-snmp-5.4.2.1/agent'
make: *** [subdirs] Error 1


Here is my configure oprion for net-snmp-5.4.2.1 -

./configure --target=powerpc-linux --host=ppc-linux
--build=i686-ubuntu-linux-gnu CC=powerpc-linux-gcc --enable-static
--enable-shared --with-cflags='-O2 -g -fsigned-char -lcrypto'
--with-ldflags= --with-sys-location=Unknown --prefix=/usr
--with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp
--with-endianness=big --with-mib-modules='host agentx smux' --without-rpm
--with-libwrap=/usr/lib --sysconfdir=/etc --enable-ucd-snmp-compatibility
--with-openssl --with-pic [email protected]_alias=ppc-linux


After the configure , I run "make". make fails to successfully build the
libnetsnmp libraries.

Am I missing anything here. Do I need to enable perl in the configure
option?

-Lisa.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

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