-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcus Deubel wrote:
> It still does not compile on FreeBSD 5.2.1, see below:
>
> ln -s ../../ip_fil_`uname -s|tr A-Z a-z`.c ip_fil.c
> cc -Wall -Wuninitialized -Wstrict-prototypes -O -I. -g -I../..
> -D_BSD_SOURCE -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP
> -DIPFILTER_SCAN  -Di386 -D__i386__ -DINET -DKERNEL -D_KERNEL -I/sys
> -I/sys/sys -I/sys/arch -DDEVFS -DKLD_MODULE   -c ip_fil.c -o ip_fil.o
> In file included from ip_fil.c:47:
> /sys/sys/systm.h:157: warning: conflicting types for built-in function
> `log' ip_fil.c: In function `ipldetach':
> ip_fil.c:332: error: `ph_inet' undeclared (first use in this function)
> ip_fil.c:332: error: (Each undeclared identifier is reported only once
> ip_fil.c:332: error: for each function it appears in.)
> *** Error code 1
>
> Stop in /usr/home/marcus/ip_fil4.1next/BSD/FreeBSD-5.2.1-RELEASE-p1-i386.
> *** Error code 1
>
> Stop in /usr/home/marcus/ip_fil4.1next.
>
>
>
> -----Ursprungliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag von Darren Reed
> Gesendet: Sonntag, 7. Marz 2004 16:33
> An: [?koi8-r?]
> Cc: Darren Reed; [EMAIL PROTECTED]
> Betreff: Re: IPFilter 4.1 - pupdate
>
>
>
> I uploaded a new file to
> http://coombs.anu.edu.au/~avalon/ip_fil4.1next.tar.gz
> with those things fixed.
>
> Darren
>
> http://www.orc.ru/access/leased.dhtml - iNTERNET DLQ OFISA (SDSL) -
> [EMAIL PROTECTED] 0 USD

I still can't compile it on FreeBSD-5.2.1.

Probable solution:
        I have found that ph_inet is used in only in two functions:
int iplattach() and int ipldetach(), in iplattach it is declared as local 
variable struct pfil_head *ph_inet, but there is no any for ipldetach. I just 
have made ph_inet global var, now it code can be compiled.

- -- 
Software, n.:
        Formal evening attire for female computer analysts.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iQEVAwUBQEuTSeXb9tKkwh23AQIjYQf9FV9uA45Q9TYXTSw5viTJjSlbSEXMb1nq
NBcjHZ/XVPwJxls3nBaK6SeSecuVim7bAEbRY3RoVI9MoOwlhTkwts9bOV7nzdj1
WFvRfU6+8S8mF7B63Xd/uJPKHYu/OeefcTI8HMP0AXNR8Bl38JywuDXHp1PIzrnU
m5Nw/8XOOjS19TSBjH9t2DN2hK2/6LzKwtM3K79f6K41CvOGMrZ8kBQ4R31OZ10G
SMszvCjAvFdaSwovmCeyvhivfHy9iXel6FB5gFnkAYHVLOGqywVjy2sBZJj/o4Ox
GHzWkEmSvAk5VIAx+bmv2p/BXyxkGdjBJENFsEUbfBAyZLjTx7pvvw==
=Eu+t
-----END PGP SIGNATURE-----

Reply via email to