Date: Thu, 13 May 2010 14:55:17 +0400 From: Antonio Kless <antoniok.spb@gmail.com> To: Jiansong Liu <jiansong.liu@effective-world.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: 7.3-RELEASE: unable to compile custom kernel Message-ID: <AANLkTikWy29zkrsWFVHHrhaUrT96ncuDNhTjTS1OJq31@mail.gmail.com> In-Reply-To: <AANLkTin8IzfUDo3x2auvJqk6gmgQL7tQJ76QabC54kV-@mail.gmail.com> References: <AANLkTinul9p4Q5Hnfugv7_N-5lYiZXkBgetSzpAQgycs@mail.gmail.com> <AANLkTin8IzfUDo3x2auvJqk6gmgQL7tQJ76QabC54kV-@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
# make buildkernel KERNCONF=ALTERKERN <...snip...> MAKE=make sh /usr/src/sys/conf/newvers.sh ALTERKERN cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror vers.c linking kernel.debug if_ural.o(.text+0x74d): In function `ural_free_tx_list': /usr/src/sys/dev/usb/if_ural.c:627: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x8fc): In function `ural_detach': /usr/src/sys/dev/usb/if_ural.c:567: undefined reference to `ieee80211_ifdetach' if_ural.o(.text+0xd8c): In function `ural_attach': /usr/src/sys/dev/usb/if_ural.c:499: undefined reference to `ieee80211_init_channels' if_ural.o(.text+0xd94):/usr/src/sys/dev/usb/if_ural.c:501: undefined reference to `ieee80211_ifattach' if_ural.o(.text+0xdac):/usr/src/sys/dev/usb/if_ural.c:513: undefined reference to `ieee80211_media_status' if_ural.o(.text+0xe04):/usr/src/sys/dev/usb/if_ural.c:513: undefined reference to `ieee80211_media_init' if_ural.o(.text+0xe1d):/usr/src/sys/dev/usb/if_ural.c:515: undefined reference to `ieee80211_amrr_init' if_ural.o(.text+0xe88):/usr/src/sys/dev/usb/if_ural.c:531: undefined reference to `ieee80211_announce' if_ural.o(.text+0x112c): In function `ural_raw_xmit': /usr/src/sys/dev/usb/if_ural.c:2402: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x1178):/usr/src/sys/dev/usb/if_ural.c:2408: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x1306):/usr/src/sys/dev/usb/if_ural.c:2438: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x156d): In function `ural_set_chan': /usr/src/sys/dev/usb/if_ural.c:1823: undefined reference to `ieee80211_chan2ieee' if_ural.o(.text+0x1d25): In function `ural_start': /usr/src/sys/dev/usb/if_ural.c:1486: undefined reference to `ieee80211_find_txnode' if_ural.o(.text+0x1d59):/usr/src/sys/dev/usb/if_ural.c:1493: undefined reference to `ieee80211_encap' if_ural.o(.text+0x1f29):/usr/src/sys/dev/usb/if_ural.c:1503: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x1f58):/usr/src/sys/dev/usb/if_ural.c:1479: undefined reference to `ieee80211_cancel_scan' if_ural.o(.text+0x1f7a):/usr/src/sys/dev/usb/if_ural.c:1366: undefined reference to `ieee80211_crypto_encap' if_ural.o(.text+0x21c6):/usr/src/sys/dev/usb/if_ural.c:1495: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x22bd): In function `ural_txeof': /usr/src/sys/dev/usb/if_ural.c:882: undefined reference to `ieee80211_process_callback' if_ural.o(.text+0x233d):/usr/src/sys/dev/usb/if_ural.c:901: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x2c14): In function `ural_amrr_update': /usr/src/sys/dev/usb/if_ural.c:2508: undefined reference to `ieee80211_amrr_choose' if_ural.o(.text+0x2cd3): In function `ural_media_change': /usr/src/sys/dev/usb/if_ural.c:705: undefined reference to `ieee80211_media_change' if_ural.o(.text+0x2e03): In function `ural_ioctl': /usr/src/sys/dev/usb/if_ural.c:1578: undefined reference to `ieee80211_ioctl' if_ural.o(.text+0x3111): In function `ural_task': /usr/src/sys/dev/usb/if_ural.c:755: undefined reference to `ieee80211_beacon_alloc' if_ural.o(.text+0x3289):/usr/src/sys/dev/usb/if_ural.c:2450: undefined reference to `ieee80211_amrr_node_init' if_ural.o(.text+0x3883): In function `ural_rxeof': /usr/src/sys/dev/usb/if_ural.c:990: undefined reference to `ieee80211_find_rxnode' if_ural.o(.text+0x38b2):/usr/src/sys/dev/usb/if_ural.c:993: undefined reference to `ieee80211_input' if_ural.o(.text+0x38ba):/usr/src/sys/dev/usb/if_ural.c:996: undefined reference to `ieee80211_free_node' if_ural.o(.text+0x21af): In function `ural_start': /usr/src/sys/dev/usb/if_ural.c:1461: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x8ad): In function `rum_free_tx_list': /usr/src/sys/dev/usb/if_rum.c:668: undefined reference to `ieee80211_free_node' if_rum.o(.text+0xa7f): In function `rum_detach': /usr/src/sys/dev/usb/if_rum.c:607: undefined reference to `ieee80211_ifdetach' if_rum.o(.text+0x12d5): In function `rum_attach': /usr/src/sys/dev/usb/if_rum.c:508: undefined reference to `ieee80211_init_channels' if_rum.o(.text+0x12f4):/usr/src/sys/dev/usb/if_rum.c:540: undefined reference to `ieee80211_ifattach' if_rum.o(.text+0x130c):/usr/src/sys/dev/usb/if_rum.c:552: undefined reference to `ieee80211_media_status' if_rum.o(.text+0x1359):/usr/src/sys/dev/usb/if_rum.c:552: undefined reference to `ieee80211_media_init' if_rum.o(.text+0x1372):/usr/src/sys/dev/usb/if_rum.c:554: undefined reference to `ieee80211_amrr_init' if_rum.o(.text+0x13dd):/usr/src/sys/dev/usb/if_rum.c:571: undefined reference to `ieee80211_announce' if_rum.o(.text+0x1409):/usr/src/sys/dev/usb/if_rum.c:516: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x1453):/usr/src/sys/dev/usb/if_rum.c:522: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x149d):/usr/src/sys/dev/usb/if_rum.c:528: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x14e9):/usr/src/sys/dev/usb/if_rum.c:534: undefined reference to `ieee80211_ieee2mhz' if_rum.o(.text+0x1b05): In function `rum_start': /usr/src/sys/dev/usb/if_rum.c:1423: undefined reference to `ieee80211_find_txnode' if_rum.o(.text+0x1b39):/usr/src/sys/dev/usb/if_rum.c:1430: undefined reference to `ieee80211_encap' if_rum.o(.text+0x1cec):/usr/src/sys/dev/usb/if_rum.c:1440: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x1d1b):/usr/src/sys/dev/usb/if_rum.c:1416: undefined reference to `ieee80211_cancel_scan' if_rum.o(.text+0x1d3d):/usr/src/sys/dev/usb/if_rum.c:1304: undefined reference to `ieee80211_crypto_encap' if_rum.o(.text+0x1f8b):/usr/src/sys/dev/usb/if_rum.c:1432: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x207d): In function `rum_txeof': /usr/src/sys/dev/usb/if_rum.c:846: undefined reference to `ieee80211_process_callback' if_rum.o(.text+0x20fd):/usr/src/sys/dev/usb/if_rum.c:865: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x2183): In function `rum_set_chan': /usr/src/sys/dev/usb/if_rum.c:1794: undefined reference to `ieee80211_chan2ieee' if_rum.o(.text+0x2b77): In function `rum_rxeof': /usr/src/sys/dev/usb/if_rum.c:939: undefined reference to `ieee80211_find_rxnode' if_rum.o(.text+0x2c40):/usr/src/sys/dev/usb/if_rum.c:959: undefined reference to `ieee80211_input' if_rum.o(.text+0x2c4a):/usr/src/sys/dev/usb/if_rum.c:962: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x2c9f):/usr/src/sys/dev/usb/if_rum.c:939: undefined reference to `ieee80211_find_rxnode' if_rum.o(.text+0x2e52): In function `rum_amrr_update': /usr/src/sys/dev/usb/if_rum.c:2423: undefined reference to `ieee80211_amrr_choose' if_rum.o(.text+0x30c4): In function `rum_task': /usr/src/sys/dev/usb/if_rum.c:2284: undefined reference to `ieee80211_beacon_alloc' if_rum.o(.text+0x319a):/usr/src/sys/dev/usb/if_rum.c:2366: undefined reference to `ieee80211_amrr_node_init' if_rum.o(.text+0x3493): In function `rum_ioctl': /usr/src/sys/dev/usb/if_rum.c:1495: undefined reference to `ieee80211_ioctl' if_rum.o(.text+0x3603): In function `rum_media_change': /usr/src/sys/dev/usb/if_rum.c:744: undefined reference to `ieee80211_media_change' if_rum.o(.text+0x381c): In function `rum_raw_xmit': /usr/src/sys/dev/usb/if_rum.c:2318: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x3a0b):/usr/src/sys/dev/usb/if_rum.c:2354: undefined reference to `ieee80211_free_node' if_rum.o(.text+0x1f74): In function `rum_start': /usr/src/sys/dev/usb/if_rum.c:1398: undefined reference to `ieee80211_free_node' *** Error code 1 Stop in /usr/obj/usr/src/sys/ALTERKERN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 2010/5/13 Jiansong Liu <jiansong.liu@effective-world.com> > Try to compile it again without the -j option, will help to figure out > where is going wrong exactly. > > Cheers, > Jiansong > > -- Best regards, Antonio Kless, http://kless.spb.ru/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikWy29zkrsWFVHHrhaUrT96ncuDNhTjTS1OJq31>