[quote6ce00f3049="cmsmith"]Running Solaris 8 with GCC, attempting to build NetMRG from SVN - build 1143.[/quote6ce00f3049]
Which version of gcc are you using to build netmrg? Also, is this the Intel or Sparc version of Solaris 8?
[quote6ce00f3049="cmsmith"]1) When running configure, I'm getting this
checking if Net-SNMP needs crypto support... yes
checking if UCD-SNMP needs crypto support... no
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
./configure line 6783 syntax error near unexpected token `external'
./configure line 6783 `AM_GNU_GETTEXT(external)'
make *** [config.status] Error 2
Commented line 6783 as well as the corresponding line in configure.ac, and I get passed this.[/quote6ce00f3049]
Do you have gettext 0.14.1 installed? When you run configure, does it run autoconf to rebuild the configure script before continuing? Sometimes the autotools can be picky with timestamps of certain files. If you make changes (or simply "touch $file") it will try to rebuild the scripts.
[quote6ce00f3049="cmsmith"]2) What are setenv and unsetenv supposed to do in monitors.cpp? Where should they be defined?[/quote6ce00f3049]
These are to provide parameters to external scripts without passing each param in as an argument. I believe this was added in response to a bug report. These two calls should be defined in the stdlib.h system header.
[quote6ce00f3049="cmsmith"]3) Need -lrt added to LIBS for solaris. Without it, I get undefined symbol for nanosleep. I added it to src/Makefile, but there is probably a better place to put it.[/quote6ce00f3049]
Feel free to submit a bug report at bugs.netmrg.net
with this information. We should be able to resolve this in the next release (0.19).