LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Honeyd installation issues with slackware? (https://www.linuxquestions.org/questions/linux-software-2/honeyd-installation-issues-with-slackware-815658/)

The Gargantuan 06-22-2010 08:54 AM

Honeyd installation issues with slackware?
 
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

knudfl 06-22-2010 09:20 AM

'/usr/src/' is not a recommended build directory.
'/home/<username>/tmp/' is. ( Or other folder in $HOME).

? ? Which version of Slackware :
http://www.linuxquestions.org/linux/...Ask_a_Question


'honeyd-1.5c' may compile OK with Slackware 10...12.
http://code.google.com/p/honeyd/source/checkout
The latest version, "1.5c-svn-rev.21" :
svn checkout http://honeyd.googlecode.com/svn/trunk/ honeyd-read-only

... will probably be usable with Slackware 13.x:
cd honeyd/ && autoreconf -vfi && ./configure && make
..... .. .. :)

The Gargantuan 06-25-2010 08:34 AM

It looks like it worked! Many thanks for the help! I am running Slackware 12.1.0 on that box. Now to get rollin on the other stuff......

Tom


All times are GMT -5. The time now is 02:51 PM.