syntax errors compiling snmppd module
Chris Steinke
chris at new.net
Fri Jan 24 21:31:56 CET 2003
Hi,
I'm not sure if this is an apprpriate forum/list for asking questions
about modules. I thought I would
bug the list before bugging the author though.
I am trying to compile the SNMPPD module under FreeBSD-4.7-current with
gcc-2.95.4 with
net-snmp-5.0.7 . This is to be used with the latest edition of Nagios.
I get the following error during a 'gmake'.
gmake[1]: Entering directory `/usr/local/src/snmppd-0.4.1/snmppd'
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I/usr/local/include
-I/usr/local/include/ucd-snmp -g -O2 -c snmppd_snmp.c
In file included from snmppd_snmp.c:2:
snmppd.h:51: syntax error before `pthread_t'
gmake[1]: *** [snmppd_snmp.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/snmppd-0.4.1/snmppd'
gmake: *** [all-recursive] Error 1
Has anyone else had this problem under FreeBSD or gotten around this?
The code looks fine, so I'm not sure what is happening, maybe something
I'm missing?
Thanks in advance and apologies if this list is innappropriate.
Chris
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
More information about the Users
mailing list