Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2001 14:37:00 -0500 (EST)
From:      Peter Brezny <peter@black.purplecat.net>
To:        freebsd-questions@freebsd.org
Subject:   mini kernel build problem
Message-ID:  <Pine.BSF.4.05.10103081432001.28127-100000@black.purplecat.net>

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

I'm trying to create a bootable backup disk to restore my system in case
of a drive failure using the instructions found here:

http://www.freebsd.org/handbook/backup-programs.html

However the build of my mini kernel is failing.

This is on a freebsd 4.2-stable system updated about 3 weeks ago.

I ran

cd /usr/src
make buildkernel KERNEL=MINI

and my kernel config file and output of the failed build are below.

Any Ideas are appreciated.

pb



machine         i386
cpu             I586_CPU
cpu             I686_CPU
ident           MINI
maxusers        5

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep
this!]
options         CD9660                  #ISO 9660 Filesystem
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor

device          isa
device          pci

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives

# RAID controllers
device          twe             # 3ware Escalade

# 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

device          vga0    at isa?


# syscons is the default 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

# PCI Ethernet NICs.
device          vx              # 3Com 3c590, 3c595 (``Vortex'')

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support


output from failed build.

cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wp
ointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc
-I- -I. -I/usr/src/sys
-I/usr/src/sys/../include  -D_KERNEL -include opt_global.h -elf
-mpreferred-stack-boundary=2
/usr/src/sys/kern/kern_sig.c
/usr/src/sys/kern/kern_sig.c:359: warning: function declaration isn't a
prototype
/usr/src/sys/kern/kern_sig.c: In function `osigaction':
/usr/src/sys/kern/kern_sig.c:367: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c:367: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c:369: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c:370: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c:372: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c:379: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c:384: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c: At top level:
/usr/src/sys/kern/kern_sig.c:532: warning: function declaration isn't a
prototype
/usr/src/sys/kern/kern_sig.c: In function `osigprocmask':
/usr/src/sys/kern/kern_sig.c:538: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c:539: dereferencing pointer to incomplete type
/usr/src/sys/kern/kern_sig.c: At top level:
/usr/src/sys/kern/kern_sig.c:567: warning: function declaration isn't a
prototype
/usr/src/sys/kern/kern_sig.c:721: warning: function declaration isn't a
prototype
/usr/src/sys/kern/kern_sig.c: In function `osigsuspend':
/usr/src/sys/kern/kern_sig.c:729: dereferencing pointer to incomplete type
*** Error code 1

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

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


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?Pine.BSF.4.05.10103081432001.28127-100000>