From owner-freebsd-alpha Sun Mar 26 22:18:39 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.calyx.net (mail.calyx.net [208.132.136.19]) by hub.freebsd.org (Postfix) with SMTP id A643337B920 for ; Sun, 26 Mar 2000 22:18:34 -0800 (PST) (envelope-from lists@mojo.calyx.net) Received: (qmail 7306 invoked from network); 27 Mar 2000 06:18:34 -0000 Received: from mojo.calyx.net (HELO mojo) (o2csqpydhse5euh53ya7@208.132.136.2) by mail.calyx.net with SMTP; 27 Mar 2000 06:18:34 -0000 Date: Mon, 27 Mar 2000 01:18:33 -0500 (EST) From: Nicholas Merrill To: freebsd-alpha@freebsd.org Subject: problems compiling kernel with bktr0 support: barf @ 'linking kernel' stage Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey all I am running 4.0-CURRENT on a 164sx 533mhz board. I am trying to compile a kernel with bt848 (bktr0) support. I first took my working, custom kernel config file, and added the lines: device bktr0 device iicbus0 device iicbb0 device smbus0 Next I tried to compile the kernel. I got a complaint of two missing files named ioctl_bt848.h and ioctl_meteor.h. So I copied those over from the proper i386 include directory to the alpha dir. Then that error stopped, and the compile seemed to almost finish. But near the end, when it gets to 'linking kernel' it barfed. Has anyone got any clue what I'm doing wrong? I found no mention of this in any recent mailing list traffic. Here is my dmesg output, and then the output of the kernel 'make' --------------------BEGIN DMESG-------------------- Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #1: Thu Mar 16 07:43:57 EST 2000 root@hostname.domain.com:/usr/src/sys/compile/HOSTNAME EB164 Digital AlphaPC 164SX 533 MHz, 531MHz 8192 byte page size, 1 processor. CPU: PCA56 (21164PC) major=9 minor=2 extensions=0x1 OSF PAL rev: 0x1000600020116 real memory = 266485760 (260240K bytes) avail memory = 255598592 (249608K bytes) Preloaded elf kernel "kernel" at 0xfffffc00005ae000. cia0: Pyxis, pass 1 cia0: extended capabilities: 1 pcib0: <2117x PCI host bus adapter> on cia0 pci0: on pcib0 pci0: (vendor=0x109e, dev=0x0350) at 5.0 irq 9 pci0: at 6.0 irq 11 de0: port 0x10100-0x1017f mem 0x82871100-0x8287117f irq 10 at device 7.0 on pci0 de0: interrupting at CIA irq 10 de0: 21140A [10-100Mb/s] pass 2.2 de0: address 00:c0:f0:1f:77:5d de0: enabling 100baseTX port de0: driver is using old-style compatability shims isab0: at device 8.0 on pci0 isa0: on isab0 atapci0: port 0x10180-0x1018f,0x3f4-0x3f7,0x1f0-0x1f7 at device 8.1 on pci0 atapci1: port 0x374-0x377,0x170-0x177 at device 8.2 on pci0 atapci1: Busmastering DMA not supported pci0: at 8.3 sym0: <810a> port 0x10000-0x100ff mem 0x82871000-0x828710ff irq 8 at device 9.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-10, SE, parity checking sym0: open drain IRQ line driver sym0: interrupting at CIA irq 8 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: interrupting at ISA irq 6 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 atkbd0: interrupting at ISA irq 1 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> mcclock0: at port 0x70-0x71 on isa0 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio0: interrupting at ISA irq 4 sio1: reserved for low-level i/o Timecounter "alpha" frequency 533171008 Hz IP Filter: initialized. Default = pass all, Logging = enabled IP Filter: v3.3.8 Waiting 15 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. Mounting root from ufs:/dev/da0a da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da0: 2050MB (4199760 512 byte sectors: 255H 63S/T 261C) de0: enabling 10baseT port de0: enabling Full Duplex 10baseT port IP Filter: already initialized --------------------END OF DMESG-------------------- --------------------BEGIN KERNEL 'MAKE' OUTPUT-------------------- touch hack.c cc -elf -shared -nostdlib hack.c -o hack.So rm -f hack.c building __divqu.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __divqu.S building __divq.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __divq.S building __divlu.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __divlu.S building __divl.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __divl.S building __remqu.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __remqu.S building __remq.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __remq.S building __remlu.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __remlu.S building __reml.S from ../../alpha/alpha/divrem.m4 cc -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 -c __reml.S sh ../../conf/newvers.sh GENERIC cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -D_KERNEL -include opt_global.h -elf -mno-fp-regs -Wa,-mev56 vers.c linking kernel bktr_core.o: In function `common_ioctl': bktr_core.c(.text+0x38d0): undefined reference to `disable_intr' bktr_core.c(.text+0x38d4): undefined reference to `disable_intr' bktr_core.c(.text+0x38ec): undefined reference to `enable_intr' bktr_core.c(.text+0x38f0): undefined reference to `enable_intr' bktr_os.o: In function `bktr_mmap': bktr_os.c(.text+0x1044): undefined reference to `i386_btop' bktr_os.c(.text+0x1048): undefined reference to `i386_btop' bktr_os.o: In function `bktr_poll': bktr_os.c(.text+0x10f0): undefined reference to `disable_intr' bktr_os.c(.text+0x10f4): undefined reference to `disable_intr' bktr_os.c(.text+0x1158): undefined reference to `enable_intr' bktr_os.c(.text+0x115c): undefined reference to `enable_intr' *** Error code 1 Stop in /usr/src/sys/compile/HOSTNAME. [root@hostname HOSTNAME]# --------------------END KERNEL 'MAKE' OUTPUT-------------------- Thanks! ---------------------------------------------------------------------------- Nicholas Merrill http://www.calyx.net Voice: 212-966-1900 President / CEO http://www.calyx.nl Fax : 212-966-3965 Calyx Internet Access 13 Laight St. NYC, NY 10013 Email: nick@calyx.net ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message