LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 624|回复: 6

编译内核错误。

[复制链接]
发表于 2003-12-26 18:03:16 | 显示全部楼层 |阅读模式
4.9freebsd

make depend 的时候发现错误。。。

错误代码

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-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h  -mpreferred-stack-boundary=2
*** Error code 1

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

下面是我的内核

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US ... lconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 simokawa Exp $

machine                i386
cpu                I686_CPU
ident                GENERIC
maxusers        64       
options         MATH_EMULATE                #Support for x87 emulation
options         INET                        #InterNETworking
options         INET6                        #IPv6 communications protocols
options         FFS                        #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES                #Enable FFS soft updates support
options         UFS_DIRHASH                #Improve performance on big directories
options         MFS                        #Memory Filesystem
options         MD_ROOT                        #MD is a potential root device
options         NFS                        #Network Filesystem
options         NFS_ROOT                #NFS usable as root device, NFS required
options         MSDOSFS                        #MSDOS Filesystem
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=15000        #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         AHC_REG_PRETTY_PRINT        # Print register bitfields in debug
options         AHD_REG_PRETTY_PRINT        # Print register bitfields in debug
options         SMP               
options         APIC_IO       
device                isa
device                eisa
device                pci
device                fdc0        at isa? port IO_FD1 irq 6 drq 2
device                fd0        at fdc0 drive 0
#device                fdc0
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
device                atapifd                        # ATAPI floppy drives
device                atapist                        # ATAPI tape drives
options         ATA_STATIC_ID                #Static device numbering

device                adv0        at isa?
device                adw
device                bt0        at isa?
device                aha0        at isa?
device                aic0        at isa?

device                ncv                # NCR 53C500
device                nsp                # Workbit Ninja SCSI-3
device                stg                # TMC 18C30/18C50
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?
pseudo-device        splash
device                sc0        at isa? flags 0x100
device                agp                # support several AGP chipsets
device                npx0        at nexus? port IO_NPX irq 13
device                apm0        at nexus? disable flags 0x20 # Advanced Power Management
device                sio0        at isa? port IO_COM1 flags 0x10 irq 4
device                sio1        at isa? port IO_COM2 irq 3
device                sio2        at isa? disable port IO_COM3 irq 5
device                sio3        at isa? disable port IO_COM4 irq 9
device                ppc0        at isa? irq 7
device                ppbus                # Parallel port bus (required)
device                lpt                # Printer
device                plip                # TCP/IP over parallel
device                ppi                # Parallel port interface device
device                rl                # RealTek 8129/8139
device                ed0        at isa? disable port 0x280 irq 10 iomem 0xd8000
device                ex
device                ep
device                fe0        at isa? disable port 0x300
device                xe
device                awi
device                wi
device                an
device                ie0        at isa? disable port 0x300 irq 10 iomem 0xd0000
#device                le0        at isa? disable port 0x300 irq 5 iomem 0xd0000
device                lnc0        at isa? disable port 0x280 irq 10 drq 0
device                cs0        at isa? disable port 0x300
device                sn0        at isa? disable port 0x300 irq 10
pseudo-device        loop                # Network loopback
pseudo-device        ether                # Ethernet support
pseudo-device        sl        1        # Kernel SLIP
pseudo-device        ppp        1        # Kernel PPP
pseudo-device        tun                # Packet tunnel.
pseudo-device        pty                # Pseudo-ttys (telnet etc)
pseudo-device        md                # Memory "disks"
pseudo-device        gif                # IPv6 and IPv4 tunneling
pseudo-device        faith        1        # IPv6-to-IPv4 relaying (translation)
pseudo-device        bpf                #Berkeley packet filter
device                uhci                # UHCI PCI->USB interface
device                ohci                # OHCI PCI->USB interface
device                usb                # USB Bus (required)
device                ugen                # Generic
device                uhid                # "Human Interface Devices"
device                ukbd                # Keyboard
device                ulpt                # Printer
device                umass                # Disks/Mass storage - Requires scbus and da
device                ums                # Mouse
device                uscanner        # Scanners
device                urio                # Diamond Rio MP3 Player
device                firewire        # FireWire bus code
device                sbp                # SCSI over FireWire (Requires scbus and da)
device                fwe                # Ethernet over FireWire (non-standard!)
options                IPFIREWALL      
options                IPDIVERT      
options                IPFIREWALL_VERBOSE      
options                IPFIREWALL_VERBOSE_LIMIT=100   
options                IPSTEALTH      
options                ACCEPT_FILTER_DATA      
options                ACCEPT_FILTER_HTTP     
options                ICMP_BANDLIM
发表于 2003-12-26 19:35:09 | 显示全部楼层
我在FreeBSDchina回答过了,mykernel和generic不匹配,ident GENERIC这行没改...
 楼主| 发表于 2003-12-26 20:05:24 | 显示全部楼层
thanks

但是我改了以后出现同样的错误啊,,
 楼主| 发表于 2003-12-27 18:33:45 | 显示全部楼层
who can help me!!!!!!!!!!!!:help :help :help :help :help :help
发表于 2003-12-27 19:02:41 | 显示全部楼层
试着用新方法编译内核试试
发表于 2003-12-29 14:46:36 | 显示全部楼层
Paste your error message here.
 楼主| 发表于 2003-12-29 18:07:57 | 显示全部楼层
最初由 Smalltalk 发表
Paste your error message here.


yes !!
I paste the error message here...top!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表