Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jul 2004 16:33:39 -0500
From:      "Stelian Popescu-Crainic" <scrainic@marcon.qc.ca>
To:        <freebsd-questions@freebsd.org>
Subject:   GENERIC fails to compile
Message-ID:  <BBELKFCNINLPEHFDBGCIMEKCDMAA.scrainic@marcon.qc.ca>

next in thread | raw e-mail | index | archive | help
Hello,

After upgrading from 4.9 to 4.10 and upgrading the sources via CVSup, I've
tried to recompile the kernel (I need appletalk which is not included in the
GENERIC configuration) with make buildkernel etc.. After several attempts,
including one using the "traditional" way, with the same results, I've tried
to recompile GENERIC. The output was the same:

"	/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In
function `send_ip':
	/usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1325:
void value not ignored as it ought to be
	*** Error code 1

	Stop in /usr/src/sys/modules/ipfilter.
	*** Error code 1

	Stop in /usr/src/sys/modules.
	*** Error code 1

	Stop in /usr/obj/usr/src/sys/GENERIC.
	*** Error code 1

	Stop in /usr/src.
	*** Error code 1

	Stop in /usr/src.		"


I had to revert to kernel.prev.

Here's the output of dmesg:

"Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Fri Apr  9 17:12:06 EDT 2004
    root@xpserver.marconddm.int:/usr/obj/usr/src/sys/XPSRV
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Pentium(R) 4 CPU 1.90GHz (1917.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2

Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 536854528 (524272K bytes)
avail memory = 518209536 (506064K bytes)
Preloaded elf kernel "kernel" at 0xc0412000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc041209c.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f1760
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82845 Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82845 host to AGP bridge> mem 0xf8000000-0xfbffffff at device
0.0 on pci0
pcib1: <Intel 82845 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
bge0: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem
0xf3800000-0xf380ffff irq 3 at device 10.0 on pci2
bge0: Ethernet address: 00:04:76:f8:d5:29
miibus0: <MII bus> on bge0
brgphy0: <BCM5701 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
xl0: <3Com 3c980C Fast Etherlink XL> port 0xd800-0xd87f mem
0xf3000000-0xf300007f irq 5 at device 11.0 on pci2
xl0: Ethernet address: 00:04:75:d0:3b:eb
miibus1: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl1: <3Com 3c980C Fast Etherlink XL> port 0xd400-0xd47f mem
0xf2800000-0xf280007f irq 7 at device 12.0 on pci2
xl1: Ethernet address: 00:04:75:d0:33:47
miibus2: <MII bus> on xl1
xlphy1: <3c905C 10/100 internal PHY> on miibus2
xlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl2: <3Com 3c980C Fast Etherlink XL> port 0xd000-0xd07f mem
0xf2000000-0xf200007f irq 9 at device 13.0 on pci2
xl2: Ethernet address: 00:04:75:d0:39:eb
miibus3: <MII bus> on xl2
xlphy2: <3c905C 10/100 internal PHY> on miibus3
xlphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl3: <3Com 3c905B-TX Fast Etherlink XL> port 0xb800-0xb87f mem
0xf1800000-0xf180007f irq 10 at device 14.0 on pci2
xl3: Ethernet address: 00:01:02:67:a9:b5
miibus4: <MII bus> on xl3
xlphy3: <3Com internal media interface> on miibus4
xlphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xa800-0xa80f at device 31.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xa400-0xa41f
irq 12 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xa000-0xa01f
irq 5 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
orm0: <Option ROM> at iomem 0xc0000-0xc97ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ad0: 14598MB <SAMSUNG SV1533D> [29660/16/63] at ata0-master UDMA66
acd0: CD-RW <SONY CD-RW CRX175A1> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
bge0: gigabit link up"

Any help would be appreciated.

Thanks,
Stelian Popescu Crainic




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BBELKFCNINLPEHFDBGCIMEKCDMAA.scrainic>