To the best of my knowledge I have installed libevent, libdnet, and libpcap. ./configure worked just fine. Its when I run make that I get this returned:
Code:
make all-recursive
make[1]: Entering directory `/usr/src/honeyd-1.5c'
Making all in .
make[2]: Entering directory `/usr/src/honeyd-1.5c'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat -I/usr/local/include -I/usr/local/include -O2 -Wall -g -DPATH_HONEYDINCLUDE="\"/usr/local/include/honeyd\"" -DPATH_HONEYDDATA="\"/usr/local/share/honeyd\"" -DPATH_HONEYDLIB="\"/usr/local/lib/honeyd\"" -DHONEYD_PLUGINS_DECLARE="" -DHONEYD_PLUGINS="" -DPATH_RRDTOOL="\"\"" -c honeyd.c
In file included from honeyd.c:97:
tagging.h:89: error: expected declaration specifiers or '...' before '(' token
tagging.h:89: error: expected declaration specifiers or '...' before '(' token
In file included from stats.h:36,
from honeyd.c:98:
./compat/sha1.h:23: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:23: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:26: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:28: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:30: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:32: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:35: warning: '__bounded__' attribute directive ignored
./compat/sha1.h:35: warning: '__bounded__' attribute directive ignored
make[2]: *** [honeyd.o] Error 1
make[2]: Leaving directory `/usr/src/honeyd-1.5c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/honeyd-1.5c'
make: *** [all] Error 2
It looks to me like "tagging.h:89" seems to be where the problem lies? Either gcc doesn't like the syntax or I must be missing something.
Line 89 from tagging.h looks like:
Code:
void encode_int(struct evbuffer *evbuf, uint32_t number);
As far as I can tell, its not missing anything syntactically, and google hasn't turned anything up yet for me. So I was hoping I could get some help on here.
Many thanks!
Tom