From owner-freebsd-questions Sun Jun 18 19:36:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gonzo.speakeasy.net (gonzo.speakeasy.net [216.254.0.5]) by hub.freebsd.org (Postfix) with SMTP id 448EE37BB30 for ; Sun, 18 Jun 2000 19:36:49 -0700 (PDT) (envelope-from mc@speakeasy.org) Received: (qmail 21394 invoked from network); 19 Jun 2000 02:36:47 -0000 Received: from unknown (HELO grace.speakeasy.org) (216.254.0.2) by gonzo.speakeasy.net with SMTP; 19 Jun 2000 02:36:47 -0000 Received: (qmail 13036 invoked by uid 22036); 19 Jun 2000 02:36:47 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 19 Jun 2000 02:36:47 -0000 Date: Sun, 18 Jun 2000 19:36:47 -0700 (PDT) From: marco carvalho To: freebsd-questions@freebsd.org, kstewart@3-cities.com Subject: still getting the same error when compiling my kernel Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG im trying to go make a custome kernel for 4.0-R...here is that error again: root@lucidflux:/usr/src/sys/compile/galaXia$ make linking kernel init_sysent.o(.data+0xb54): undefined reference to `kqueue' init_sysent.o(.data+0xb5c): undefined reference to `kevent' kern_descrip.o: In function `close': kern_descrip.o(.text+0x7fe): undefined reference to `knote_fdclose' kern_exec.o: In function `execve': kern_exec.o(.text+0x53c): undefined reference to `knote' kern_exit.o: In function `exit1': kern_exit.o(.text+0x477): undefined reference to `knote' kern_fork.o: In function `fork1': kern_fork.o(.text+0x8e1): undefined reference to `knote' kern_sig.o: In function `psignal': kern_sig.o(.text+0x1195): undefined reference to `knote' sys_pipe.o: In function `pipe_read': sys_pipe.o(.text+0x574): undefined reference to `knote' sys_pipe.o(.text+0x9ad): more undefined references to `knote' follow vfs_aio.o: In function `aio_free_entry': vfs_aio.o(.text+0x2e7): undefined reference to `knote_remove' vfs_aio.o: In function `aio_daemon': vfs_aio.o(.text+0xc83): undefined reference to `knote' vfs_aio.o: In function `aio_qphysio': vfs_aio.o(.text+0x116d): undefined reference to `knote' vfs_aio.o: In function `_aio_aqueue': vfs_aio.o(.text+0x170f): undefined reference to `kqueue_register' vfs_aio.o: In function `aio_physwakeup': vfs_aio.o(.text+0x1be1): undefined reference to `knote' ffs_vnops.o: In function `ffs_write': ffs_vnops.o(.text+0x918): undefined reference to `knote' ufs_vnops.o: In function `ufs_create': ufs_vnops.o(.text+0xe1): undefined reference to `knote' ufs_vnops.o: In function `ufs_mknod': ufs_vnops.o(.text+0x12f): undefined reference to `knote' ufs_vnops.o: In function `ufs_setattr': ufs_vnops.o(.text+0x779): undefined reference to `knote' ufs_vnops.o(.text+0x926): more undefined references to `knote' follow ata-dma.o: In function `ata_dmainit': ata-dma.o(.text+0xb30): undefined reference to `ata_find_dev' ata-dma.o(.text+0xb54): undefined reference to `ata_find_dev' exception.o: In function `Xsyscall': exception.o(.text+0x12b): undefined reference to `syscall' exception.o: In function `Xint0x80_syscall': exception.o(.text+0x162): undefined reference to `syscall' *** Error code 1 Stop in /usr/src/sys/compile/galaXia. my device ata is set and i enabled all my ata stuff but still the same. I did use /usr/sbin/config also and make depend before make. Here is my config file: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246 2000/03/09 16:32:55 jlemon Exp $ machine i386 cpu I386_CPU cpu I486_CPU cpu I586_CPU cpu I686_CPU ident galaXia maxusers 32 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 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 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 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 extentions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies device isa device pci # Floppy drives device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # 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 device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver device vt0 at isa? options XSERVER # support for X server on a vt console options FAT_CURSOR # start with block cursor # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Serial (COM) ports #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 # Parallel port 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 vpo # Requires scbus and da # PCI Ethernet NICs. #device ed # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support # ISA Ethernet NICs. device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device pty # Pseudo-ttys (telnet etc) pseudo-device md # Memory "disks" pseudo-device gif 4 # IPv6 and IPv4 tunneling pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter ### MANUALLY ADDED #### pseudo-device vn options COMPAT_LINUX options IPFIREWALL options IPDIVERT root@lucidflux:/usr/src/sys/i386/conf$ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message