Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jan 2003 17:55:05 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        Hidetoshi Shimokawa <simokawa@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, freebsd-stable@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/fwcontrol fwcontrol.8 fwcontrol.c      fwcrom.c src/sys/dev/firewire firewire.c firewire.h         firewirebusreg.h firewirereg.h fwcrom.c fwdev.c fwohci.c         fwohci_pci.c fwohcireg.h fwohcivar.h sbp.c ...
Message-ID:  <22230000.1041810905@lerlaptop.lerctr.org>
In-Reply-To: <200301051350.h05Do5H2030165@repoman.freebsd.org>
References:   <200301051350.h05Do5H2030165@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Looks like someone forgot to add:
dev/firewire/fwcrom.c   optional firewire
to src/sys/conf/files

Without it, you can't link a kernel:

inking kernel.debug
sbp.o: In function `sbp_alloc_target':
/usr/src/sys/dev/firewire/sbp.c(.text+0x205): undefined reference to 
`crom_init_context'
/usr/src/sys/dev/firewire/sbp.c(.text+0x23e): undefined reference to 
`crom_next'
/usr/src/sys/dev/firewire/sbp.c(.text+0x24f): undefined reference to 
`crom_search_key'
/usr/src/sys/dev/firewire/sbp.c(.text+0x2d4): undefined reference to 
`crom_init_context'
/usr/src/sys/dev/firewire/sbp.c(.text+0x300): undefined reference to 
`crom_next'
/usr/src/sys/dev/firewire/sbp.c(.text+0x311): undefined reference to 
`crom_search_key'
*** Error code 1

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

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

Stop in /usr/src.
$

I added the above line, and the kernel now links.

LER



--On Sunday, January 05, 2003 05:50:05 -0800 Hidetoshi Shimokawa 
<simokawa@FreeBSD.org> wrote:

> simokawa    2003/01/05 05:50:05 PST
>
>   Modified files:        (Branch: RELENG_4)
>     usr.sbin/fwcontrol   fwcontrol.8 fwcontrol.c fwcrom.c
>     sys/dev/firewire     firewire.c firewire.h firewirereg.h
>                          fwdev.c fwohci.c fwohci_pci.c fwohcireg.h
>                          fwohcivar.h sbp.c
>     sys/modules/firewire/firewire Makefile
>   Added files:           (Branch: RELENG_4)
>     sys/dev/firewire     fwcrom.c
>   Removed files:         (Branch: RELENG_4)
>     sys/dev/firewire     firewirebusreg.h
>   Log:
>   MFC: Sync FireWire driver/utility with current.
>   - Implement primal Configuration ROM parser.
>   - Support multiple LUNs for SBP-II.
>   - Update PCI device IDs.
>   - Improve phy access.
>   - Free allocated memory when detaching.
>   - Detect contigmalloc failure.
>   - Support suspend/resume.
>   - Remove unused firewirebusreg.h.
>   - Skip mbuf whose length is zero.
>   - Remove speed_map API because speed_map is obsoleted by 1394a.
>
>   Revision  Changes    Path
>   1.3.2.5   +22 -20    src/sys/dev/firewire/firewire.c
>   1.2.2.3   +1 -1      src/sys/dev/firewire/firewire.h
>   1.1.2.2   +0 -38     src/sys/dev/firewire/firewirebusreg.h (dead)
>   1.1.2.3   +2 -0      src/sys/dev/firewire/firewirereg.h
>   1.2.2.1   +255 -0    src/sys/dev/firewire/fwcrom.c (new)
>   1.2.4.2   +0 -5      src/sys/dev/firewire/fwdev.c
>   1.1.2.6   +308 -182  src/sys/dev/firewire/fwohci.c
>   1.3.2.5   +82 -46    src/sys/dev/firewire/fwohci_pci.c
>   1.2.2.3   +19 -15    src/sys/dev/firewire/fwohcireg.h
>   1.1.2.3   +5 -1      src/sys/dev/firewire/fwohcivar.h
>   1.5.2.5   +41 -15    src/sys/dev/firewire/sbp.c
>   1.2.2.3   +2 -2      src/sys/modules/firewire/firewire/Makefile
>   1.1.2.2   +1 -3      src/usr.sbin/fwcontrol/fwcontrol.8
>   1.1.2.2   +17 -35    src/usr.sbin/fwcontrol/fwcontrol.c
>   1.1.2.2   +5 -4      src/usr.sbin/fwcontrol/fwcrom.c
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe cvs-all" in the body of the message
>
>



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22230000.1041810905>