[Honeywall] Error when compilling sebek on Debian(kernel 2.6.18-6-686)

杜秀涛 duxiutao at gmail.com
Mon Jun 2 23:30:06 EDT 2008


potb at debian:/lib/modules/sebek$ ./configure --disable-raw-socket-replacement

potb at debian:/lib/modules/sebek$ make
./gen_fudge.pl > ./src/fudge.h
cp ./sbk_install.sh ./src
cp ./parameters.sh  ./src
cd ./src; make -C /lib/modules/2.6.18-6-686/build
SUBDIRS=/lib/modules/sebek/src modules
make[1]: Entering directory `/home/potb/linux-2.6.18.6'

  WARNING: Symbol version dump /home/potb/linux-2.6.18.6/Module.symvers
           is missing; modules will have no dependencies and modversions.
  CC [M]  /lib/modules/sebek/src/sebek.o
In file included from /lib/modules/sebek/src/syscall.h:35,
                 from /lib/modules/sebek/src/sebek.h:51,
                 from /lib/modules/sebek/src/sebek.c:23:
/lib/modules/sebek/src/net.h:63: warning: 'packed' attribute ignored for
field of type 'char[12]'
/lib/modules/sebek/src/net.h:73: warning: 'packed' attribute ignored for
field of type 'u8'
  CC [M]  /lib/modules/sebek/src/net.o
In file included from /lib/modules/sebek/src/net.c:20:
/lib/modules/sebek/src/net.h:63: warning: 'packed' attribute ignored for
field of type 'char[12]'
/lib/modules/sebek/src/net.h:73: warning: 'packed' attribute ignored for
field of type 'u8'
/lib/modules/sebek/src/net.c: In function 'sprintf_stats':
/lib/modules/sebek/src/net.c:494: warning: format '%8lu' expects type 'long
unsigned int', but argument 12 has type 'u32'
/lib/modules/sebek/src/net.c:494: warning: format '%7lu' expects type 'long
unsigned int', but argument 13 has type 'u32'
  CC [M]  /lib/modules/sebek/src/syscall.o
In file included from /lib/modules/sebek/src/syscall.h:35,
                 from /lib/modules/sebek/src/syscall.c:21:
/lib/modules/sebek/src/net.h:63: warning: 'packed' attribute ignored for
field of type 'char[12]'
/lib/modules/sebek/src/net.h:73: warning: 'packed' attribute ignored for
field of type 'u8'
  CC [M]  /lib/modules/sebek/src/util.o
  CC [M]  /lib/modules/sebek/src/filter.o
/lib/modules/sebek/src/filter.c: In function 'sbk_filter_open':
/lib/modules/sebek/src/filter.c:313: warning: 'i_ptr' may be used
uninitialized in this function
  LD [M]  /lib/modules/sebek/src/sbk.o
  Building modules, stage 2.
  MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[2]: *** [__modpost] error 127
make[1]: *** [modules] error 2
make[1]: Leaving directory `/home/potb/linux-2.6.18.6'
make: *** [sebek] error 2
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
How to fix it?Any ideas will be appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.honeynet.org/pipermail/honeywall/attachments/20080603/21b84742/attachment.html


More information about the Honeywall mailing list