Date: Mon, 2 Dec 2002 17:19:19 -0700 (MST) From: Joe Loughry <loughry@applied-math.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/45941: ata-dma.c missing from Makefile in -CURRENT Message-ID: <200212030019.gB30JJOB088827@twister.applied-math.org>
next in thread | raw e-mail | index | archive | help
>Number: 45941 >Category: kern >Synopsis: ata-dma.c missing from Makefile in -CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 02 16:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Joe Loughry >Release: FreeBSD 5.0-CURRENT i386 >Organization: Lockheed Martin >Environment: System: FreeBSD amy.applied-math.org 5.0-DP2 FreeBSD 5.0-DP2 #1: Sat Nov 16 13:38:33 GMT 2002 root@tomcat.bmah.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: CVSupped 5.0-CURRENT sources last night, builds GENERIC kernel correctly. But it fails when building a custom kernel. Error messages: linking kernel.debug ata-all.o: In function `ata_detach': /usr/src/sys/dev/ata/ata-all.c:264: undefined reference to `ata_dmafreetags' ata-all.o: In function `ata_service': machine/bus_at386.h:526: undefined reference to `ata_dmastatus' ata-all.o: In function `ata_change_mode': /usr/src/sys/dev/ata/ata-all.c:1264: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_attach': /usr/src/sys/dev/ata/ata-disk.c:184: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_detach': /usr/src/sys/dev/ata/ata-disk.c:243: undefined reference to `ata_dmafree' ata-disk.o: In function `ad_start': /usr/src/sys/dev/ata/ata-disk.c:375: undefined reference to `ata_dmaalloc' ata-disk.o: In function `ad_transfer': /usr/src/sys/dev/ata/ata-disk.c:438: undefined reference to `ata_dmasetup' /usr/src/sys/dev/ata/ata-disk.c:488: undefined reference to `ata_dmastart' ata-disk.o: In function `ad_interrupt': /usr/src/sys/dev/ata/ata-disk.c:558: undefined reference to `ata_dmadone' /usr/src/sys/dev/ata/ata-disk.c:583: undefined reference to `ata_dmainit' /usr/src/sys/dev/ata/ata-disk.c:594: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_service': /usr/src/sys/dev/ata/ata-disk.c:748: undefined reference to `ata_dmastart' ata-disk.o: In function `ad_timeout': /usr/src/sys/dev/ata/ata-disk.c:838: undefined reference to `ata_dmadone' /usr/src/sys/dev/ata/ata-disk.c:841: undefined reference to `ata_dmainit' ata-disk.o: In function `ad_reinit': /usr/src/sys/dev/ata/ata-disk.c:875: undefined reference to `ata_dmainit' atapi-all.o: In function `atapi_attach': /usr/src/sys/dev/ata/atapi-all.c:84: undefined reference to `ata_dmainit' atapi-all.o: In function `atapi_detach': /usr/src/sys/dev/ata/atapi-all.c:157: undefined reference to `ata_dmafree' atapi-all.o: In function `atapi_queue_cmd': /usr/src/sys/dev/ata/atapi-all.c:189: undefined reference to `ata_dmaalloc' atapi-all.o: In function `atapi_transfer': /usr/src/sys/dev/ata/atapi-all.c:278: undefined reference to `ata_dmasetup' /usr/src/sys/dev/ata/atapi-all.c:297: undefined reference to `ata_dmastart' atapi-all.o: In function `atapi_interrupt': /usr/src/sys/dev/ata/atapi-all.c:355: undefined reference to `ata_dmadone' atapi-all.o: In function `atapi_reinit': /usr/src/sys/dev/ata/atapi-all.c:484: undefined reference to `ata_dmainit' atapi-all.o: In function `atapi_timeout': /usr/src/sys/dev/ata/atapi-all.c:611: undefined reference to `ata_dmadone' /usr/src/sys/dev/ata/atapi-all.c:613: undefined reference to `ata_dmainit' *** Error code 1 Stop in /usr/obj/usr/src/sys/AMY. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. >How-To-Repeat: make buildkernel KERNCONF=AMY with fresh src-all, ports-all, doc-all from cvsup last night. Use the following config file: # # AMY # # created 30 November 2002 # machine i386 cpu I486_CPU cpu I586_CPU ident AMY maxusers 0 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV #install a CDEV entry in /dev options NO_F00F_HACK #not needed except on original Pentium # Debugging for use in -current options DDB #Enable the kernel debugger options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INV ARIANTS options WITNESS #Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed device isa device eisa # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Floating point support - do not disable. device npx # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device device miibus # MII bus (required by ed driver) device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf # Berkeley packet filter >Fix: Add entries for ata-dma.c and ata-dma.o to /usr/obj/usr/src/dev/ata/Makefile >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212030019.gB30JJOB088827>