From nobody@FreeBSD.org  Sat Nov  5 08:09:00 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ADB0316A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Nov 2005 08:09:00 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 70AD643D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  5 Nov 2005 08:09:00 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jA5890i7090620
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 5 Nov 2005 08:09:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jA5890Z4090619;
	Sat, 5 Nov 2005 08:09:00 GMT
	(envelope-from nobody)
Message-Id: <200511050809.jA5890Z4090619@www.freebsd.org>
Date: Sat, 5 Nov 2005 08:09:00 GMT
From: Elmer Rivera <elmer.rivera@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kernel build error
X-Send-Pr-Version: www-2.3

>Number:         88517
>Category:       misc
>Synopsis:       kernel build error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 05 08:10:17 GMT 2005
>Closed-Date:    Sat Nov 05 11:22:51 GMT 2005
>Last-Modified:  Sat Nov  5 20:40:16 GMT 2005
>Originator:     Elmer Rivera
>Release:        FreeBSD 6.0-RELEASE
>Organization:
HCG
>Environment:
GENERIC     
>Description:
linking kernel.debug
umass.o(.text+0x15af): In function `umass_cam_attach_sim':
/usr/src/sys/dev/usb/umass.c:2193: undefined reference to `cam_simq_alloc'
umass.o(.text+0x15e1):/usr/src/sys/dev/usb/umass.c:2197: undefined reference to
`cam_sim_alloc'
umass.o(.text+0x15f1):/usr/src/sys/dev/usb/umass.c:2205: undefined reference to
`cam_simq_free'
umass.o(.text+0x160a):/usr/src/sys/dev/usb/umass.c:2209: undefined reference to
`xpt_bus_register'
umass.o(.text+0x162f): In function `umass_cam_rescan_callback':
/usr/src/sys/dev/usb/umass.c:2230: undefined reference to `xpt_free_path'
umass.o(.text+0x1677): In function `umass_cam_rescan':
/usr/src/sys/cam/cam_sim.h:106: undefined reference to `xpt_periph'
umass.o(.text+0x1680):/usr/src/sys/cam/cam_sim.h:106: undefined reference to `xp
t_create_path'
umass.o(.text+0x16a3): In function `umass_cam_rescan':
/usr/src/sys/dev/usb/umass.c:2256: undefined reference to `xpt_setup_ccb'
umass.o(.text+0x16be):/usr/src/sys/dev/usb/umass.c:2260: undefined reference to
`xpt_action'
umass.o(.text+0x1760): In function `umass_cam_detach_sim':
/usr/src/sys/cam/cam_sim.h:106: undefined reference to `xpt_bus_deregister'
umass.o(.text+0x1776): In function `umass_cam_detach_sim':
/usr/src/sys/dev/usb/umass.c:2300: undefined reference to `cam_sim_free'
umass.o(.text+0x17b5): In function `umass_cam_action':
/usr/src/sys/dev/usb/umass.c:2329: undefined reference to `xpt_done'
umass.o(.text+0x1815):/usr/src/sys/dev/usb/umass.c:2355: undefined reference to
`xpt_done'
umass.o(.text+0x1833):/usr/src/sys/dev/usb/umass.c:2373: undefined reference to
`xpt_done'
umass.o(.text+0x18b8):/usr/src/sys/dev/usb/umass.c:2418: undefined reference to
`xpt_done'
umass.o(.text+0x1975):/usr/src/sys/dev/usb/umass.c:2471: undefined reference to
`xpt_done'
umass.o(.text+0x19ad):/usr/src/sys/dev/usb/umass.c:2482: more undefined referenc
es to `xpt_done' follow
umass.o(.text+0x1b56): In function `umass_cam_action':
/usr/src/sys/dev/usb/umass.c:2582: undefined reference to `cam_calc_geometry'
umass.o(.text+0x1b5c):/usr/src/sys/dev/usb/umass.c:2583: undefined reference to
`xpt_done'
umass.o(.text+0x1b6e):/usr/src/sys/dev/usb/umass.c:2594: undefined reference to
`xpt_done'
umass.o(.text+0x1b81):/usr/src/sys/dev/usb/umass.c:2606: undefined reference to
`xpt_done'
umass.o(.text+0x1bbb): In function `umass_cam_cb':
/usr/src/sys/dev/usb/umass.c:2642: undefined reference to `xpt_done'
umass.o(.text+0x1bf7):/usr/src/sys/dev/usb/umass.c:2651: undefined reference to
`xpt_done'
umass.o(.text+0x1ca9):/usr/src/sys/dev/usb/umass.c:2691: more undefined referenc
es to `xpt_done' follow
*** Error code 1

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

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

Stop in /usr/src.


>How-To-Repeat:
install new FreeBSD 6 Release
copied GENERIC ELMERPH
do a config
make depend
make buildkernel KERNCONF=ELMERPH && make installkernel KERNCONF=ELMERPH

>Fix:
              
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: matteo 
State-Changed-When: Sat Nov 5 11:22:10 GMT 2005 
State-Changed-Why:  
please consider using the mailing list freebsd-current@freebsd.org or hackers@freebsd.org for this kind of problems 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88517 

From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
To: Elmer Rivera <elmer.rivera@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/88517: kernel build error
Date: Sat, 5 Nov 2005 21:35:26 +0100

 --sm4nu43k4a2Rpi4c
 Content-Type: text/plain; charset=iso-8859-2
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Nov 05, 2005 at 08:09:00AM +0000, Elmer Rivera wrote:
 [...]
 
 That's a bug on your side.
 You should read umass(4) manual page, it will tell you which options has
 to be added to the kernel config.
 
 --=20
 Pawel Jakub Dawidek                       http://www.wheel.pl
 pjd@FreeBSD.org                           http://www.FreeBSD.org
 FreeBSD committer                         Am I Evil? Yes, I Am!
 
 --sm4nu43k4a2Rpi4c
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQFDbReOForvXbEpPzQRAi64AJ9IkC6MsEO2SyCZ69mNMw0DbSZhIgCgr/Ti
 dkoEt9JY7VoX7seEZjRdLrY=
 =HXcZ
 -----END PGP SIGNATURE-----
 
 --sm4nu43k4a2Rpi4c--
>Unformatted:
