Re: Binaries for Solaris 5.5.1. or build advice
stan <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 02, 2008 at 12:32:00PM +0200, Thomas Anders wrote:
> stan wrote:
> > I am _finally_ trying to do a fairly large deployment of cricket and
> > nagios. I still have a handful of old Sparc machines running SunOS 5.5.1.
> > On one of these machines, i have a really old build environment (GCC
> > 2.7.2.1). I am trying to build /net-snmp-5.4.1.2, and running into compiler
> > errors. The first of these was a cast error that I _think_ I sorted out.
> > Now I am running into type mismatches.
> >
> > Does anyone have an idea where I can get a compile binary for this OS?
> > Or some help working through the build?
>
> Feel free to post the *details* of your build problems. I'm doing regular build tests on Solaris 2.6 and up only, though. Solaris 2.5.1 and gcc 2.7.2.1 are quite old, so it's quite possible that you're running into problems you cannot fix without upgrading/patching one or the other. But let's look at the problems first.
Mmm, that was quicker than I expected. if I had known that it would fail so
quickly, I would have just put this in the same email. Building on these
old machines is normally a fairly time consuming process :-)
In any case, here is the next failure, and I don't ave a clue how to fix
this one:
In file included from /usr/include/sys/lwp.h:10,
from /usr/include/sys/klwp.h:19,
from /usr/include/sys/thread.h:13,
from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/proc.h:15,
from /usr/include/kvm.h:13,
from kernel.h:11,
from snmp_vars.c:142:
/usr/include/sys/synch.h:18:
warning: redefinition of `uint8_t' ../include/net-snmp/types.h:87:
warning: `uint8_t' previously declared here /usr/include/sys/synch.h:22:
conflicting types for `uint32_t' ../include/net-snmp/types.h:134:
previous declaration of `uint32_t' /usr/include/sys/synch.h:26:
warning: redefinition of `uint64_t' ../include/net-snmp/types.h:162:
warning: `uint64_t' previously declared here *** Error code 1
make: Fatal error:
Command failed for target `snmp_vars.lo'
Thanks for the help, on this.
--
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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