Re: 5.4 compile problem on x86 Solaris 10...

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Jean-Sebastien Morisset wrote:
> I'm upgrading from 5.3.0.1 to 5.4 and ran accross a little problem on an
> x86 Solaris 10 box -- this is my first attempt at compiling 5.4.

What's your full configure line?

> /bin/sh ../libtool  --mode=link gcc -g -O2 -Usolaris2
> -Dsolaris2=solaris2  -rpath /usr/local/lib -version-info 15:0:0 -o
> libnetsnmp.la snmp_client.lo mib.lo parse.lo snmp_api.lo snmp.lo
> [...]
> gcc -shared -Wl,-h -Wl,libnetsnmp.so.15 -o .libs/libnetsnmp.so.15.0.0
> .libs/snmp_client.o [...]
> false cru .libs/libnetsnmp.a  snmp_client.o mib.o parse.o snmp_api.o

Looks like configure/libtool/gcc have decided to use "false" instead of "ar" on
your system which is somewhat strange. Can you find out why? Do you have "ar"
along your $PATH at all? Is this your own gcc installation or a third-party
package? What's the output of "gcc -v"? Have you ever said something like
"--with-ar=false" where a path to a working ar was expected instead?


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.