Honeypots mailing list archives

sebek compile trouble


From: Tom <tomd2004 () gmail com>
Date: Sat, 20 May 2006 16:45:41 +0100

Hi,
I'm having trouble compiling sebek-lin26-3.1.2b on a vanilla 2.6.16.16 kernel.
I'm using libnet-1.1.2.1 which is installed in /usr/include/

the output of the configure script is:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
using default compiler
checking for /lib/modules/2.6.16.16/build/include/linux/syscalls.h... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for patch... yes
checking for /lib/modules/2.6.16.16/build/include/linux/sched.h... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for struct task_struct.p_pptr... no
Kernel NOT using P_PPTR
checking for struct inet_opt.daddr... no
Kernel NOT using INET_OPT
checking for /lib/modules/2.6.16.16/build/net/packet/af_packet.c... yes
Kernel NOT defined packet_seq_fops
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: executing depfiles commands

And make 2> is:

/tmp/sebek-lin26-3.1.2b/src/sebek.c: In function `parse_params':
/tmp/sebek-lin26-3.1.2b/src/sebek.c:168: error: `ARPHRD_ETHER'
undeclared (first use in this function)
/tmp/sebek-lin26-3.1.2b/src/sebek.c:168: error: (Each undeclared
identifier is reported only once
/tmp/sebek-lin26-3.1.2b/src/sebek.c:168: error: for each function it
appears in.)
make[2]: *** [/tmp/sebek-lin26-3.1.2b/src/sebek.o] Error 1
make[1]: *** [_module_/tmp/sebek-lin26-3.1.2b/src] Error 2
make: *** [sebek] Error 2

Any suggestions would be really appreciated.

Thanks,
Tom


Current thread: