error with kernel building

2006-01-04 Thread Nguyen Danh Hieu
Could someone tell me what's wrong with my configuration plz
here are erros with command  make

linking kernel.debug
if_ural.o(.text+0x3bb): In function `ural_attach':
../../../dev/usb/if_ural.c:458: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x3ef):../../../dev/usb/if_ural.c:463: undefined
reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x427):../../../dev/usb/if_ural.c:468: undefined
reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x4bb):../../../dev/usb/if_ural.c:480: undefined
reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x4e2):../../../dev/usb/if_ural.c:487: undefined
reference to `ieee80211_ifattach'
if_ural.o(.text+0x513):../../../dev/usb/if_ural.c:493: undefined
reference to `ieee80211_media_status'
if_ural.o(.text+0x51e):../../../dev/usb/if_ural.c:493: undefined
reference to `ieee80211_media_init'
if_ural.o(.text+0x580):../../../dev/usb/if_ural.c:507: undefined
reference to `ieee80211_announce'
if_ural.o(.text+0x628): In function `ural_detach':
../../../dev/usb/if_ural.c:535: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x73a): In function `ural_free_tx_list':
../../../dev/usb/if_ural.c:595: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x8f2): In function `ural_media_change':
../../../dev/usb/if_ural.c:673: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x9a8): In function `ural_next_scan':
../../../dev/usb/if_ural.c:699: undefined reference to `ieee80211_next_scan'
if_ural.o(.text+0xb13): In function `ural_task':
../../../dev/usb/if_ural.c:756: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0xc73): In function `ural_txeof':
../../../dev/usb/if_ural.c:826: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xd99): In function `ural_rxeof':
../../../dev/usb/if_ural.c:890: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0xdaf):../../../dev/usb/if_ural.c:893: undefined
reference to `ieee80211_input'
if_ural.o(.text+0xdb7):../../../dev/usb/if_ural.c:896: undefined
reference to `ieee80211_free_node'
if_ural.o(.text+0x1360): In function `ural_tx_data':
../../../dev/usb/if_ural.c:1218: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0x1858): In function `ural_start':
../../../dev/usb/if_ural.c:1321: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x1890):../../../dev/usb/if_ural.c:1328: undefined
reference to `ieee80211_encap'
if_ural.o(.text+0x189f):../../../dev/usb/if_ural.c:1330: undefined
reference to `ieee80211_free_node'
if_ural.o(.text+0x18d7):../../../dev/usb/if_ural.c:1338: undefined
reference to `ieee80211_free_node'
if_ural.o(.text+0x19c4): In function `ural_watchdog':
../../../dev/usb/if_ural.c:1370: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1ad2): In function `ural_ioctl':
../../../dev/usb/if_ural.c:1417: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0x1f58): In function `ural_set_chan':
../../../dev/usb/if_ural.c:1606: undefined reference to `ieee80211_chan2ieee'
*** Error code 1

Stop in /usr/src/sys/i386/compile/mykernel

and here is my configuration

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.3.2.1 2005/10/28
19:22:41 jhb Exp $

machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   mykernel

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols

#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
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
#optionsNFSCLIENT   # Network 

Re: error with kernel building

2006-01-04 Thread Glenn Dawson

At 02:11 PM 1/4/2006, Nguyen Danh Hieu wrote:
Could someone tell me what's wrong with my configuration plz here 
are erros with command  make


You have the wlan device commented out but the ural devices requires it.

You also have the da device commented out, but there are other 
devices that require it that are still included.


-Glenn

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]