[prev in list] [next in list] [prev in thread] [next in thread]
List: ipfilter
Subject: Re: ipfilter 4.1.11 compile error: FreeBSD 5.4.p11, POLLOUTNORM
From: "N. Ersen SISECI" <siseci () gmail ! com>
Date: 2006-03-20 13:33:03
Message-ID: 1142861583.4133.53.camel () siseci ! gdg ! gov ! tr
[Download RAW message or body]
Hi,
mlfk_ipl.c does not include ip_sync.h so when i try to compile new
kernel gives the following warnings and stops compiling.
cc -c -O -pipe -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/altq
-I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Werror ../../../contrib/ipfilter/netinet/mlfk_ipl.c
../../../contrib/ipfilter/netinet/mlfk_ipl.c: In function `iplpoll':
../../../contrib/ipfilter/netinet/mlfk_ipl.c:305: warning: implicit
declaration of function `ipfsync_canread'
../../../contrib/ipfilter/netinet/mlfk_ipl.c:305: warning: nested extern
declaration of `ipfsync_canread'
../../../contrib/ipfilter/netinet/mlfk_ipl.c:307: warning: implicit
declaration of function `ipfsync_canwrite'
../../../contrib/ipfilter/netinet/mlfk_ipl.c:307: warning: nested extern
declaration of `ipfsync_canwrite'
*** Error code 1
Sincerely,
--
N. Ersen SISECI
http://www.enderunix.org
Pts, 2006-03-20 tarihinde 21:28 +1100 saatinde, Darren Reed yazdı:
> >
> > Hello,
> >
> > I got the following error when i try to compile a new kernel with IPF
> > 4.1.11 on FreeBSD 5.4-RELEASE-p11 after applying RWLOCK patch.
> ..
>
> Patch attached.
>
> Darren
>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.1">
</HEAD>
<BODY>
<TT><FONT COLOR="#000000">Hi,</FONT></TT><BR>
<BR>
<TT><FONT COLOR="#000000">mlfk_ipl.c does not include ip_sync.h so when i try to \
compile new kernel gives the following warnings and stops compiling.</FONT></TT><BR> \
<BR> <TT><FONT COLOR="#000000">cc -c -O -pipe -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/altq \
-I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath \
-I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include \
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param \
large-function-growth=1000 -mno-align-long-strings \
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \
-ffreestanding -Werror \
../../../contrib/ipfilter/netinet/mlfk_ipl.c</FONT></TT><BR> <TT><FONT \
COLOR="#000000">../../../contrib/ipfilter/netinet/mlfk_ipl.c: In function \
`iplpoll':</FONT></TT><BR> <TT><FONT \
COLOR="#000000">../../../contrib/ipfilter/netinet/mlfk_ipl.c:305: warning: implicit \
declaration of function `ipfsync_canread'</FONT></TT><BR> <TT><FONT \
COLOR="#000000">../../../contrib/ipfilter/netinet/mlfk_ipl.c:305: warning: nested \
extern declaration of `ipfsync_canread'</FONT></TT><BR> <TT><FONT \
COLOR="#000000">../../../contrib/ipfilter/netinet/mlfk_ipl.c:307: warning: implicit \
declaration of function `ipfsync_canwrite'</FONT></TT><BR> <TT><FONT \
COLOR="#000000">../../../contrib/ipfilter/netinet/mlfk_ipl.c:307: warning: nested \
extern declaration of `ipfsync_canwrite'</FONT></TT><BR> <TT><FONT \
COLOR="#000000">*** Error code 1</FONT></TT><BR> <BR>
<FONT COLOR="#000000">Sincerely,</FONT><BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
<TT>-- </TT>
<TT>N. Ersen SISECI</TT>
<TT><A HREF="http://www.enderunix.org">http://www.enderunix.org</A></TT>
</PRE>
</TD>
</TR>
</TABLE>
<TT><FONT COLOR="#000000">Pts, 2006-03-20 tarihinde 21:28 +1100 saatinde, Darren Reed \
yazdı:</FONT></TT><FONT COLOR="#000000"> </FONT> <BLOCKQUOTE TYPE=CITE>
<PRE>
<TT><FONT COLOR="#000000">> </FONT></TT>
<TT><FONT COLOR="#000000">> Hello, </FONT></TT>
<TT><FONT COLOR="#000000">> </FONT></TT>
<TT><FONT COLOR="#000000">> I got the following error when i try to compile a new \
kernel with IPF</FONT></TT> <TT><FONT COLOR="#000000">> 4.1.11 on FreeBSD \
5.4-RELEASE-p11 after applying RWLOCK patch.</FONT></TT> <TT><FONT \
COLOR="#000000">..</FONT></TT>
<TT><FONT COLOR="#000000">Patch attached.</FONT></TT>
<TT><FONT COLOR="#000000">Darren</FONT></TT>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic