Re: Solaris 10, net-snmp 5.2.1 compile error

"David Fitzgerald" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <000301c5c7a5$81efb9f0$6501a8c0@duplex>
I had the same problem, until I did this.  I'm running gcc 3.3.2.  This is
available on the sunfreeware.com site.

*         Note that this version of gcc was created on build 60 of Solaris
10. If you are using a higher version, you will need to redo some of the
header files. This is done by doing the following steps: 

*                cd
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/
*                 
*                Put the line SHELL=/bin/sh on the first line of the
mkheaders.conf
*                file.  Then run
*                 
*                ./mkheaders
*                 
*                This will correct some files and make the build 60 gcc
usable on 
*                higher builds.  I have tested this on build 72 and it works
fine.

After the "./bcc.sh" and "make" ran, the "make test" ran and appeared to
fail miserably (0/108 tasks successfully completed) , but the "make install"
ran just fine.  I'll have to play around a bit more to see if it was as
successful as I think it might be.
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.