On 13/02/07, John Clinton <[EMAIL PROTECTED]> wrote:
> I need to build a static agent (snmpd) on solaris 9 and keep running
> into the same error:

> /bin/sh ../libtool  --mode=link gcc -static -Usolaris2
>    -Dsolaris2=solaris2  -o snmpd snmpd.lo   -L/usr/local/ssl/lib -Bstatic
>    libnetsnmpmibs.la libnetsnmpagent.la
>    helpers/libnetsnmphelpers.la  ../snmplib/libnetsnmp.la
>    -lelf -lm -ladm

I'm no Solaris expert, but I'm surprised that it's trying to link with libelf.
I thought that was a Linux-related library.

By any chance, are you compiling from a source tree that has
previously been used on another system?

At the very least, you should run "make distclean" before running
configure.  But it's probably safest to unpack a fresh tarball.

If you still see the same problems, I'll let the Solaris experts take over...

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to