5.2, SYSVSHM and IPFILTER

Zoltan HERPAI wigyori at 2p.hu
Tue Jan 13 16:02:43 PST 2004


hi,

i'm having problems compiling a new kernel. relevant parts of the config
are:
options         SYSVSHM
options         SHMMAXPGS=524288
options         SHMSEG=64
options         SYSVSEM
options         SEMMNI=80
options         SEMMNS=480
options         SEMMNU=240
options         SEMMAP=240
options         SYSVMSG
(this is for jailed PGSQL),

options         IPFILTER
options         IPFILTER_LOG
options         PFIL_HOOKS
(this is to redirect to jail, etc. PFIL_HOOKS was added after some
googleing).

kernel compiled without problems with PGSQL tunings, without IPFILTER
part.

error message is:
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../..
-I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
-finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../kern/sysv_shm.c
../../../kern/sysv_shm.c:134: warning: integer overflow in expression
*** Error code 1

anyone have a clue?

-w-


More information about the freebsd-questions mailing list