Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 04:07:58 +0100
From:      "Nathan Warren" <nwarren@globix.com>
To:        <questions@freebsd.org>
Subject:   Compiling a new kernel - 4.6-RELEASE
Message-ID:  <NFBBKPJPAKGONKPGEIEIOEMAGAAA.nwarren@globix.com>

next in thread | raw e-mail | index | archive | help
Can anyone please help me here....I am trying to compile a new kernel,and it
bombs out at the 'make depend' stage.....

fbsd1# make depend
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extens
ions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipf
ilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2
../../i386/i386/genassym.c
sh ../../kern/genassym.sh genassym.o > assym.s
perl5 ../../kern/vnode_if.pl -h ../../kern/vnode_if.src
perl5 ../../kern/makeops.pl -c ../../kern/device_if.m
perl5 ../../kern/makeops.pl -h ../../kern/device_if.m
perl5 ../../kern/makeops.pl -c ../../kern/bus_if.m
perl5 ../../kern/makeops.pl -h ../../kern/bus_if.m
perl5 ../../kern/makeops.pl -c ../../dev/ppbus/ppbus_if.m
perl5 ../../kern/makeops.pl -h ../../dev/ppbus/ppbus_if.m
perl5 ../../kern/makeops.pl -c ../../pci/pci_if.m
perl5 ../../kern/makeops.pl -h ../../pci/pci_if.m
perl5 ../../kern/makeops.pl -c ../../isa/isa_if.m
perl5 ../../kern/makeops.pl -h ../../isa/isa_if.m
perl5 ../../kern/vnode_if.pl -c ../../kern/vnode_if.src
rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs  mkdep -a -f
.newdep -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototyp
es  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-exte
nsions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/i
pfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2
../../dev/fxp/if_fxp.c:81: miibus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/compile/FBSDMPDL360.

It looks to me like it is 'miibus_if.h' causing the issue, but I have
nothing in the configuration file that might refer to this (as far as I can
see).

I am running 4.6-RELEASE

This is a copy of the config file I am using....

fbsd1# cat FBSDMPDL360
# FBSD -- Kernel configuration file for FreeBSD/i386 by Nathan Warren
# 15/04/01 -- Configuration file for Compaq Proliant DL360
# 31/1/02 -- Updated removing LOTS of crap for SMP Compaq Proliant DL360's
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# $FreeBSD: src/sys/i386/conf/FBSD,v 1.246.2.8 2000/07/20 02:51:02 msmith
Exp $

machine         i386
cpu             I686_CPU
ident           FBSDMPDL360
maxusers        1500

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep
this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660
required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP
THIS!]
options         SCSI_DELAY=10000        #Delay (in ms) before probing SCSI
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         IPFIREWALL_VERBOSE_LIMIT=50

# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

device          isa
device          pci

# SCSI peripherals
device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          cd              # CD

# RAID controllers
device          ida             # Compaq Smart RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

#VGA driver for monitor
device          vga0    at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default 'syscons' console driver, resembling an SCO console
device          sc0     at isa? flags 0x100

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13

# Parallel port
device          ppbus           # Parallel port bus (required)

# PCI Ethernet NICs.
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   pty     10      # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf     4       #Berkeley packet filter
pseudo-device   snp     5       #Snoop device
fbsd1#

I hope someone can point me in the correct direction





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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