Re: firewall freebsd 5

From: Otto Kucera <ok(at)72pixel.at>
Date: Wed, 26 Feb 2003 16:15:08 +0100

also so einfach ist das alles scheinbar nicht ...

jetzt bricht er bei make damit ab:

rib/dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include
opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/i386/trap.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/i386/tsc.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/i386/vm86.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/i386/vm_machdep.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/isa/clock.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/isa/intr_machdep.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/isa/ithread.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../i386/isa/isa.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/isa/isa_dma.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../i386/isa/npx.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/isa/pmtimer.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/pci/pci_cfgreg.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../i386/pci/pci_bus.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../isa/atkbd_isa.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../isa/atkbdc_isa.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../isa/fd.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../isa/ppc.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../isa/psm.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../isa/syscons_isa.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../isa/vga_isa.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../pci/agp_intel.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../pci/agp_via.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../pci/agp_sis.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../pci/agp_ali.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../pci/agp_amd.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../pci/agp_i810.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror hints.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror env.c
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror config.c
touch hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../../conf/newvers.sh GENERIC
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../..
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter
-D_KERNEL -include opt_global.h -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c
linking kernel
if_an.o: In function `an_attach':
if_an.o(.text+0x11fa): undefined reference to `ieee80211_rate2media'
if_an.o: In function `an_media_change':
if_an.o(.text+0x542e): undefined reference to `ieee80211_media2rate'
if_an.o: In function `an_media_status':
if_an.o(.text+0x554a): undefined reference to `ieee80211_rate2media'
if_wi.o: In function `wi_attach':
if_wi.o(.text+0x71d): undefined reference to `ieee80211_rate2media'
if_wi.o(.text+0x85d): undefined reference to `ieee80211_ifattach'
if_wi.o: In function `wi_detach':
if_wi.o(.text+0x8f4): undefined reference to `ieee80211_ifdetach'
if_wi.o: In function `wi_stop':
if_wi.o(.text+0x13f8): undefined reference to `ieee80211_new_state'
if_wi.o: In function `wi_start':
if_wi.o(.text+0x178b): undefined reference to `ieee80211_encap'
if_wi.o(.text+0x17c9): undefined reference to `ieee80211_find_node'
if_wi.o(.text+0x183f): undefined reference to `ieee80211_wep_crypt'
if_wi.o: In function `wi_watchdog':
if_wi.o(.text+0x1ce4): undefined reference to `ieee80211_new_state'
if_wi.o(.text+0x1cfc): undefined reference to `ieee80211_watchdog'
if_wi.o: In function `wi_ioctl':
if_wi.o(.text+0x214a): undefined reference to `ieee80211_ioctl'
if_wi.o: In function `wi_media_change':
if_wi.o(.text+0x21ef): undefined reference to `ieee80211_media2rate'
if_wi.o: In function `wi_media_status':
if_wi.o(.text+0x23ac): undefined reference to `ieee80211_rate2media'
if_wi.o: In function `wi_sync_bssid':
if_wi.o(.text+0x24a6): undefined reference to `ieee80211_new_state'
if_wi.o: In function `wi_rx_intr':
if_wi.o(.text+0x289d): undefined reference to `ieee80211_input'
if_wi.o: In function `wi_info_intr':
if_wi.o(.text+0x2def): undefined reference to `ieee80211_new_state'
if_wi.o: In function `wi_get_cfg':
if_wi.o(.text+0x3910): undefined reference to `ieee80211_cfgget'
if_wi.o: In function `wi_set_cfg':
if_wi.o(.text+0x3ea5): undefined reference to `ieee80211_cfgset'
if_wi.o: In function `wi_dump_pkt':
if_wi.o(.text+0x5348): undefined reference to `ieee80211_dump_pkt'
*** Error code 1

Stop in /usr/src/sys/i386/compile/MYKERNEL.
bsd#

es gibt zwar einen eintrag zu wireless lan aber da steht aber nicht das
ich was beim kernelbauen beachten muß.

otto

Bernd Walter wrote:

>On Wed, Feb 26, 2003 at 01:05:23PM +0100, Otto Kucera wrote:
>
>
>>hi!
>>
>>also ich hab mir gedacht ich verlasse jetzt entgültig bekannte wege und
>>ersetzte jetzt alles mit freebsd.
>>
>>eine firewall bau ich gerade mit freebsd 5. ich steh nur leider beim
>>kompelieren etwas an. ich mein bsd mit kernel sourcen installiert und
>>hab wegen ipsec nach dem alten weg den kernel neu kompeliert. das ging
>>auch ohne große probleme. nach einen cvsup aber nicht mehr.
>>
>>er bricht nach make einfach ab:
>>
>>...
>>
>>vm_zeroidle.o: In function `vm_pagezero':
>>vm_zeroidle.o(.text+0x2f9): undefined reference to `sched_runnable'
>>vm_pageout.o: In function `vm_pageout_scan':
>>vm_pageout.o(.text+0x15ac): undefined reference to `sched_nice'
>>machdep.o: In function `cpu_idle':
>>machdep.o(.text+0x143e): undefined reference to `sched_runnable'
>>*** Error code 1
>>
>>
>
>Du hast vergessen src/UPDATING zu lesen:
>20030125:
> The scheduler framework has grown a second scheduler and consequently
> you must specify one and only one scheduler in your kernel config.
> The in cvs config files have been updated to use the old scheduler
> which may be selected via 'options SCHED_4BSD'. If you would like
> to try the new, much more experimental, scheduler please try
> 'options SCHED_ULE' and contribute to the arch@ discussion.
>
>
>
>>Stop in /usr/src/sys/i386/compile/MYKERNEL.
>>
>>ich hab eine 2 maschine zum vorher testen auf der ich kein cvsup gemacht
>>habe und ging es ohne probleme.
>>
>>
>
>Klar, wenn die Sourcen von vor dem 25.1. sind.
>
>
>

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 26 Feb 2003 - 16:14:58 CET

search this site