FAQ:Compiling 02
From Net-SNMP Wiki
But gcc doesn't compile it successfully on my new Solaris system. Why not?
Whenever you upgrade the operating system under Solaris, you need to
reinstall gcc, and run the 'fixincludes'
script. (This is probably
a sensible step to take when you upgrade any operating system).
Under Solaris 2.6, there is also a bug in the gcc 'fixinc.sv4'
script.
This needs an additional line as follows:
*** fixinc.svr4.cln Thu Jun 15 22:03:29 1995 --- fixinc.svr4 Tue Nov 25 09:47:57 1997 *************** *** 191,191 **** --- 191,192 ---- s/__STDC__ - 0 == 0/!defined (__STRICT_ANSI__)/g + s/__STDC__ - 0 == 1/defined (__STRICT_ANSI__)/g
NOTE: This appears to have been resolved.
FAQ:Compiling
- How do I control the environment used to compile the software?
- How do I control the environment used to compile the software under Windows?
- Why does the compilation complain about missing libraries?
- How can I reduce the memory footprint?
- How can I reduce the installation footprint or speed up compilation?
- How can I compile the project for use on an embedded system?
- How can I compile the project to use static linking?
- Why does 'make test' skip various tests?
- Why does 'make test' complain about a pid file?