Re: sebek compile trouble
[email protected] Sat, 20 May 2006 15:25:11 -0400
| Newsgroups | gmane.comp.security.honeypots |
|---|---|
| Message-ID | <[email protected]> |
Hi Tom I have not yet tested that particular kernel. The latest kernel I verified it worked is 2.6.9 (A little old). The error seems like a potential error due to bad patching (evey new kernel version is a potential failure on sebek), will check on it by the begging of the next week. Please submit this bug to the honeynet bugzilla as it is a better place to handle this: https://bugs.honeynet.org Camilo Viecco Quoting Tom <[email protected]>: > 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 >