[pf4freebsd] Re: Version 2.03 - m_copym panic (and others)

Pyun YongHyeon yongari at kt-is.co.kr
Wed Sep 15 20:59:30 PDT 2004


On Thu, Jan 29, 2004 at 06:15:43PM +0100, Mathieu Arnold wrote:
 > +-le 29/01/2004 16:03 +0100, Max Laier =E9crivait :
 > | All,
 > |=20
 > | after I forgot to report about version 2.02 here comes the 2.03 announce:
 > 
 > I updated to RELENG_5_2 one of my firewalls (was 5.2-RCsomething), and I'm
 > unable to compile 2.02 :
 > 
 > # make build WITH_ALTQ=3Dyes
 > =3D=3D=3D>  Building for pf_freebsd-altq-2.02

Assume "=3D" to be "=".

 > (...)
 > cc -O -pipe -march=3Dpentium3
 > -I/usr/o/usr/ports/security/pf/work/pf_freebsd_2.02/pf/../include -Wall
 > -I/usr/o/usr/ports/security/pf/work/pf_freebsd_2.02/pf/../include/support
 > -DALTQ  -D_KERN
 > EL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
 > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
 > -fformat-extensions -std=3Dc99 -DKLD_MODULE -nostdinc -I-  -I/usr/o
 > /usr/ports/security/pf/work/pf_freebsd_2.02/pf/../include
 > -I/usr/o/usr/ports/security/pf/work/pf_freebsd_2.02/pf/../include/support -I.
 > -I@ -I@/../include -finline-limit=3D15000 -fno-common
 > -mno-align-long-strings -mpreferred-stack-boundary=3D2 -ffreestanding -Wall
 > -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
 > -Wpointer-arith -Winline -Wcast-qual
 > -fformat-extensions -std=3Dc99 -c pf.c
 > pf.c: In function `pf_change_icmp':
 > pf.c:1163: warning: `opc' might be used uninitialized in this function
 > pf.c: In function `pf_send_tcp':
 > pf.c:1291: error: dereferencing pointer to incomplete type
 > pf.c:1294: error: dereferencing pointer to incomplete type
 > pf.c:1296: error: dereferencing pointer to incomplete type
 > pf.c:1297: error: dereferencing pointer to incomplete type
 > pf.c: In function `pf_send_icmp':
 > pf.c:1451: error: dereferencing pointer to incomplete type
 > pf.c:1454: error: dereferencing pointer to incomplete type
 > pf.c:1456: error: dereferencing pointer to incomplete type
 > pf.c:1457: error: dereferencing pointer to incomplete type
 > pf.c: In function `pf_test':
 > pf.c:5779: error: dereferencing pointer to incomplete type
 > pf.c:5783: error: dereferencing pointer to incomplete type
 > pf.c:5785: error: dereferencing pointer to incomplete type
 > pf.c:5787: error: dereferencing pointer to incomplete type
 > pf.c:5788: error: dereferencing pointer to incomplete type
 > pf.c: In function `pf_test6':
 > pf.c:6025: error: dereferencing pointer to incomplete type
 > pf.c:6029: error: dereferencing pointer to incomplete type
 > pf.c:6031: error: dereferencing pointer to incomplete type
 > pf.c:6033: error: dereferencing pointer to incomplete type
 > pf.c:6034: error: dereferencing pointer to incomplete type
 > *** Error code 1
 > 
 > Stop in /usr/o/usr/ports/security/pf/work/pf_freebsd_2.02/pf.
 > *** Error code 1
 > 
 > Stop in /usr/o/usr/ports/security/pf/work/pf_freebsd_2.02.
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 > *** Error code 1
 > 
 > Stop in /usr/ports/security/pf.
           ^^^^^^^^^^^^^^^^^^^^^^

I don't know why port system try to use "/usr/o/usr/ports" directory.
(symbolic link or NFS mounted?)
If your ports tree reside in "/usr/o/usr/ports", you may need to
define PORTSDIR environment variable. See ports(7) for available
other environment variables.

 > 
 > 
 > --=20
 > Mathieu Arnold
 > 

-- 
Pyun YongHyeon <http://www.kr.freebsd.org/~yongari>




More information about the freebsd-pf mailing list