Subject: kern/29286: (linux?) cross build fails after IPF 4.1.5 import
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 02/08/2005 11:48:00
>Number:         29286
>Category:       kern
>Synopsis:       (linux?) cross build fails after IPF 4.1.5 import
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 08 11:48:00 +0000 2005
>Originator:     Lubomir Sedlacik
>Release:        -current as of Tue Feb  8 12:45:36 CET 2005
>Environment:
System: Linux 2.4.28
Architecture: i386
Machine: i386
>Description:
after the recent IPFilter 4.1.5 update, -current doesn't build anymore for me
on a Linux host:

#   compile  if_ipl/ip_fil_netbsd.o
/www/src/tools.i386/bin/i386--netbsdelf-gcc -O2 -ffreestanding  -Wall -Wstrict-prototypes -Wmissing-prototypes -
Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror   -DIPFILTER_LOG -I/www/src/NetBSD
/src/sys/dist/ipf -DUSE_INET6 -DIPFILTER_LKM -nostdinc -I. -I/www/src/NetBSD/src/sys/lkm/netinet/if_ipl -isystem
 /www/src/NetBSD/src/sys -isystem /www/src/NetBSD/src/sys/arch -D_KERNEL -D_LKM  -c    /www/src/NetBSD/src/sys/d
ist/ipf/netinet/ip_fil_netbsd.c
/www/src/NetBSD/src/sys/dist/ipf/netinet/ip_fil_netbsd.c: In function `fr_send_ip':
/www/src/NetBSD/src/sys/dist/ipf/netinet/ip_fil_netbsd.c:852: warning: unused variable `oip'

*** Failed target:  ip_fil_netbsd.o
*** Failed command: /www/src/tools.i386/bin/i386--netbsdelf-gcc -O2 -ffreestanding -Wall -Wstrict-prototypes -Wm
issing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized -Werror -DIPFILTER_LOG -
I/www/src/NetBSD/src/sys/dist/ipf -DUSE_INET6 -DIPFILTER_LKM -nostdinc -I. -I/www/src/NetBSD/src/sys/lkm/netinet
/if_ipl -isystem /www/src/NetBSD/src/sys -isystem /www/src/NetBSD/src/sys/arch -D_KERNEL -D_LKM -c /www/src/NetB
SD/src/sys/dist/ipf/netinet/ip_fil_netbsd.c
*** Error code 1

Stop.
nbmake: stopped in /www/src/NetBSD/src/sys/lkm/netinet/if_ipl

*** Failed target:  dependall
*** Failed command: cd /www/src/NetBSD/src/sys/lkm/netinet/if_ipl; /www/src/tools.i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /www/src/NetBSD/src/sys/lkm/netinet/if_ipl

>How-To-Repeat:
(on linux host?):
build.sh build
>Fix:
n/a