Re: Net-SNMP for hpux 10.20

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On 02/08/06, Doug Anderson <[email protected]> wrote:
> Here are the error logs you have requested.
>
> I did not notice any errors in Configure, but I sent it anyway. Just in case
> there was one I missed.

-----
	/bin/sh ../libtool  --mode=compile cc -I../include -I. 	-I../snmplib
-g -Dhpux10  -c -o snmp_client.lo snmp_client.c
cc -I../include -I. -I../snmplib -g -Dhpux10 -c snmp_client.c
(Bundled) cc: warning 480: The -g option is available only with the
C/ANSI C product; ignored.
-----

OK - that's the problem right there.
You're using the HP-UX bundled C compiler.  This is only really
intended for compiling a new kernel.  It is *not* sufficient for
program development.

You either need to buy HP's full C compiler, or install gcc (e.g. from
the HP-UX Software Archive).   That will then allow you to compile the
Net-SNMP source.  But the bundled C compiler isn't sufficient.

Dave

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