From nobody@FreeBSD.org  Tue Nov 14 06:25:35 2006
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 0AC5916A403
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Nov 2006 06:25:35 +0000 (UTC)
	(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 CC65043D5E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Nov 2006 06:25:34 +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 kAE6PYA4055241
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Nov 2006 06:25:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kAE6PYmY055240;
	Tue, 14 Nov 2006 06:25:34 GMT
	(envelope-from nobody)
Message-Id: <200611140625.kAE6PYmY055240@www.freebsd.org>
Date: Tue, 14 Nov 2006 06:25:34 GMT
From: Daniel Brezovsky<dadans@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ural] ural device problem when make buildkernel
X-Send-Pr-Version: www-3.0

>Number:         105507
>Category:       kern
>Synopsis:       [ural] ural device problem when make buildkernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 14 06:30:01 GMT 2006
>Closed-Date:    Thu Nov 16 08:32:53 GMT 2006
>Last-Modified:  Thu Nov 16 08:32:53 GMT 2006
>Originator:     Daniel Brezovsky
>Release:        6.1-RELEASE
>Organization:
>Environment:
FreeBSD mars.files.sk 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2: Sun Nov 12
22:12:22 CET 2006     dadan@mars.files.sk:/usr/obj/usr/src/sys/MARS  i386

>Description:
Hello,
I want to update FreeBSD 6.1,
I download src on saturday 11.11.2006.
When I start make buildkernel it finished with following error:
(make buildworld withuout any errors)
here is my dmesg http://www.files.sk/work/dmesg.txt

linking kernel.debug
if_ural.o(.text+0x3cb): In function `ural_attach':
/usr/src/sys/dev/usb/if_ural.c:474: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x3ff):/usr/src/sys/dev/usb/if_ural.c:479: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x437):/usr/src/sys/dev/usb/if_ural.c:484: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x4cb):/usr/src/sys/dev/usb/if_ural.c:496: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x4f2):/usr/src/sys/dev/usb/if_ural.c:503: undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x52d):/usr/src/sys/dev/usb/if_ural.c:511: undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x538):/usr/src/sys/dev/usb/if_ural.c:511: undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x59a):/usr/src/sys/dev/usb/if_ural.c:525: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x67c): In function `ural_detach':
/usr/src/sys/dev/usb/if_ural.c:560: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x78e): In function `ural_free_tx_list':
/usr/src/sys/dev/usb/if_ural.c:620: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x946): In function `ural_media_change':
/usr/src/sys/dev/usb/if_ural.c:698: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x9fc): In function `ural_next_scan':
/usr/src/sys/dev/usb/if_ural.c:724: undefined reference to `ieee80211_next_scan'
if_ural.o(.text+0xb26): In function `ural_task':
/usr/src/sys/dev/usb/if_ural.c:776: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0xd33): In function `ural_txeof':
/usr/src/sys/dev/usb/if_ural.c:887: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xed5): In function `ural_rxeof':
/usr/src/sys/dev/usb/if_ural.c:974: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0xeed):/usr/src/sys/dev/usb/if_ural.c:977: undefined reference to `ieee80211_input'
if_ural.o(.text+0xef3):/usr/src/sys/dev/usb/if_ural.c:980: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x142e): In function `ural_tx_data':
/usr/src/sys/dev/usb/if_ural.c:1272: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0x192c): In function `ural_start':
/usr/src/sys/dev/usb/if_ural.c:1382: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x1964):/usr/src/sys/dev/usb/if_ural.c:1389: undefined reference to `ieee80211_encap'
if_ural.o(.text+0x1973):/usr/src/sys/dev/usb/if_ural.c:1391: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x19ab):/usr/src/sys/dev/usb/if_ural.c:1399: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x1a98): In function `ural_watchdog':
/usr/src/sys/dev/usb/if_ural.c:1431: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1ba6): In function `ural_ioctl':
/usr/src/sys/dev/usb/if_ural.c:1478: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0x209c): In function `ural_set_chan':
/usr/src/sys/dev/usb/if_ural.c:1684: undefined reference to `ieee80211_chan2ieee'
*** Error code 1

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

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

Stop in /usr/src.

When I comment device ural in KERNCONF=MARS, make buildkerenel finished without errors.
>How-To-Repeat:
I don't try to repeate this problem but I think when you want update system from
6.1-RELEASE #0 to 6.1-p10 #2 with the same source you will get this error 

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Tue Nov 14 15:47:23 UTC 2006 
State-Changed-Why:  
In general you should report kernel build problems to the appropriate mailing 
list (-stable or -current), as they tend to get addressed and fixed much 
more quickly than other bugs. 

Are you still seeing this problem with the latest sources? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105507 
Responsible-Changed-From-To: freebsd-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Nov 14 15:48:28 UTC 2006 
Responsible-Changed-Why:  
track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105507 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Nov 16 08:32:37 UTC 2006 
State-Changed-Why:  
Submitter reports problem is solved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105507 
>Unformatted:
