lidebin / honeyd

Automatically exported from code.google.com/p/honeyd
0 stars 0 forks source link

honeyd-1.5c + libevent-2 - tagging.h:89: error: expected declaration specifiers or ‘...’ before ‘(’ token #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install libevent-2.0.6rc
2. Try to compile honeyd-1.5c

make[2]: Entering directory 
`/var/tmp/portage/net-analyzer/honeyd-1.5c-r2/work/honeyd-1.5c'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./ -I./compat 
-I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/include     -O2 
-pipe -Wall -ggdb -march=athlon-xp -Wall -g 
-DPATH_HONEYDINCLUDE="\"/usr/include/honeyd\"" 
-DPATH_HONEYDDATA="\"/usr/share/honeyd\"" 
-DPATH_HONEYDLIB="\"/usr/lib/honeyd\"" -DHONEYD_PLUGINS_DECLARE="" 
-DHONEYD_PLUGINS="" -DPATH_RRDTOOL="\"/usr/bin/rrdtool\"" -Wall -g 
-DPATH_HONEYDINCLUDE="\"/usr/include/honeyd\"" 
-DPATH_HONEYDDATA="\"/usr/share/honeyd\"" 
-DPATH_HONEYDLIB="\"/usr/lib/honeyd\"" -DHONEYD_PLUGINS_DECLARE="" 
-DHONEYD_PLUGINS="" -DPATH_RRDTOOL="\"/usr/bin/rrdtool\"" -Wall -g 
-DPATH_HONEYDINCLUDE="\"/usr/include/honeyd\"" 
-DPATH_HONEYDDATA="\"/usr/share/honeyd\"" 
-DPATH_HONEYDLIB="\"/usr/lib/honeyd\"" -DHONEYD_PLUGINS_DECLARE="" 
-DHONEYD_PLUGINS="" -DPATH_RRDTOOL="\"/usr/bin/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
In file included from /usr/include/python2.6/Python.h:8,
                 from honeyd.c:106:
/usr/include/python2.6/pyconfig.h:1048:1: warning: "_GNU_SOURCE" redefined
In file included from /usr/include/evutil.h:29,
                 from /usr/include/event.h:178,
                 from honeyd.c:73:
/usr/include/event2/util.h:61:1: warning: this is the location of the previous 
definition
In file included from /usr/include/python2.6/Python.h:8,
                 from honeyd.c:106:
/usr/include/python2.6/pyconfig.h:1067:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/limits.h:27,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include-fixed/limits.h:122,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include-fixed/limits.h:11,
                 from /usr/include/sys/param.h:26,
                 from honeyd.c:33:
/usr/include/features.h:210:1: warning: this is the location of the previous 
definition
make[2]: *** [honeyd.o] Error 1

Full build log attached.

Gentoo Linux bug report: https://bugs.gentoo.org/show_bug.cgi?id=333099

Original issue reported on code.google.com by jeroener...@gmail.com on 17 Aug 2010 at 4:10

Attachments:

GoogleCodeExporter commented 9 years ago
Any hope at all of seeing an update to honeyd to accomodate libevent-2?

Original comment by bill.e.g...@gmail.com on 17 May 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Yes, I plan on making a release that works with libevent2, but as always I am 
super busy.

Original comment by pro...@gmail.com on 17 May 2011 at 2:33

GoogleCodeExporter commented 9 years ago
Any progress on this?
Ubuntu guys came up with a mitigation patch:
https://bugs.launchpad.net/ubuntu/+source/honeyd/+bug/749247
Hope it helps.

Original comment by blshkv on 7 Nov 2011 at 3:02

GoogleCodeExporter commented 9 years ago
Gentoo guys are having a hard time too:
https://bugs.gentoo.org/show_bug.cgi?id=333099

Original comment by blshkv on 7 Nov 2011 at 3:08

GoogleCodeExporter commented 9 years ago
The "mitigation patch" from Ubuntu reported above is actually not related to 
libevent2 but is associated with an issue when building honeyd in non-i386 
architectures.

I would be interested in an update to honeyd too for Debian, as this problem 
has been recently reported too. See: http://bugs.debian.org/651463

Original comment by jav...@gmail.com on 9 Dec 2011 at 1:39

GoogleCodeExporter commented 9 years ago
We've taken over maintaining a fork of Honeyd and fully upgraded it to 
libevent2. We've also made it capable of reading the newer nmap OS detection 
files and fixed a number of bugs. 

https://github.com/DataSoft/Honeyd/

Original comment by yoda...@gmail.com on 7 Sep 2012 at 6:06