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 --with-sys-contact=n...@none.comhost_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
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