I am following the instructions from /usr/src/UPGRADING

       To upgrade in-place from 5.x-stable or higher to 6.x-stable
       -----------------------------------------------------------
       <make sure you have good level 0 dumps>
       make buildworld                                 [9]
       make kernel KERNCONF=YOUR_KERNEL_HERE           [8]
                                                       [1]
       <reboot in single user>                         [3]
       mergemaster -p                                  [5]
       make installworld
       mergemaster -i                                  [4]
       <reboot>

I am still getting the same error/failure when building the Kernel. (I also tried "make buildkernel...")

Subhro wrote:

On 5/9/06, Ben Hacker Jr <[EMAIL PROTECTED]> wrote:

Is there a way to clean out my /usr/src directory and start from scratch (cvsup)
in case it is corrupted some how??


rm -rf /usr/src/*

<snip>


    $ su root -c "make kernel KERNCONF=HACK06"


The correct command is make buildkernel KERNCONF=HACK06
and not make kernel

You need to read the handbook :-)

<snip>


Thanks and Best Regards
Subhro

--
Subhro Kar
Security Engineer
iViZ Techno Solutions Pvt. Ltd.
eRevMax House, 1st Floor
Plot XI-16, Sector V
Salt Lake City
700091
India

[EMAIL PROTECTED] uname -a
FreeBSD hackserver.family.hom 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Sep 12 08:18:05 EDT 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/HACK05 i386

[EMAIL PROTECTED] su root -c "make buildkernel KERNCONF=HACK06"
...
MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh HACK06
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c
linking kernel.debug
if_ural.o(.text+0x3bb): In function `ural_attach':
/usr/src/sys/dev/usb/if_ural.c:458: undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x3ef):/usr/src/sys/dev/usb/if_ural.c:463: undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x427):/usr/src/sys/dev/usb/if_ural.c:468: undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x4bb):/usr/src/sys/dev/usb/if_ural.c:480: undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x4e2):/usr/src/sys/dev/usb/if_ural.c:487: undefined reference to `ieee80211_ifattach' if_ural.o(.text+0x513):/usr/src/sys/dev/usb/if_ural.c:493: undefined reference to `ieee80211_media_status' if_ural.o(.text+0x51e):/usr/src/sys/dev/usb/if_ural.c:493: undefined reference to `ieee80211_media_init' if_ural.o(.text+0x580):/usr/src/sys/dev/usb/if_ural.c:507: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x628): In function `ural_detach':
/usr/src/sys/dev/usb/if_ural.c:535: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x73a): In function `ural_free_tx_list':
/usr/src/sys/dev/usb/if_ural.c:595: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x8f6): In function `ural_media_change':
/usr/src/sys/dev/usb/if_ural.c:673: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x9ac): In function `ural_next_scan':
/usr/src/sys/dev/usb/if_ural.c:699: undefined reference to `ieee80211_next_scan'
if_ural.o(.text+0xb17): In function `ural_task':
/usr/src/sys/dev/usb/if_ural.c:756: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0xc77): In function `ural_txeof':
/usr/src/sys/dev/usb/if_ural.c:826: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xd9d): In function `ural_rxeof':
/usr/src/sys/dev/usb/if_ural.c:890: undefined reference to `ieee80211_find_rxnode' if_ural.o(.text+0xdb3):/usr/src/sys/dev/usb/if_ural.c:893: undefined reference to `ieee80211_input' if_ural.o(.text+0xdbb):/usr/src/sys/dev/usb/if_ural.c:896: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x1364): In function `ural_tx_data':
/usr/src/sys/dev/usb/if_ural.c:1218: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0x185c): In function `ural_start':
/usr/src/sys/dev/usb/if_ural.c:1321: undefined reference to `ieee80211_find_txnode' if_ural.o(.text+0x1894):/usr/src/sys/dev/usb/if_ural.c:1328: undefined reference to `ieee80211_encap' if_ural.o(.text+0x18a3):/usr/src/sys/dev/usb/if_ural.c:1330: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x18db):/usr/src/sys/dev/usb/if_ural.c:1338: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x19c8): In function `ural_watchdog':
/usr/src/sys/dev/usb/if_ural.c:1370: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1ad6): In function `ural_ioctl':
/usr/src/sys/dev/usb/if_ural.c:1417: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0x1f5c): In function `ural_set_chan':
/usr/src/sys/dev/usb/if_ural.c:1606: undefined reference to `ieee80211_chan2ieee'
*** Error code 1

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

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

Stop in /usr/src.
[EMAIL PROTECTED]

--
Ben Hacker, Jr.
Network Security Analyst
 strbenjr {at} yahoo.com
-- -- --


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

Reply via email to