Kris Kennaway <[EMAIL PROTECTED]> wrote: On Fri, Jan 26, 2007 at 04:40:13PM -0800, Grant Wagner wrote: > Hi, although have used various forms of unix for quite a while, I still > consider myself a rather novice user. I have reciently reconfigured my > machine to dual boot FreeBSD 6.2 and Windows (damn gaming addiction). > > I have installed a basic system (only base, games, man and src distros) and > modified my /etc/make.conf to look like the following... >
> > CFLAGS= -O3 -pipe -funroll-loops -ffast-math > > COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math Step 0) Note the warning about changing these settings in /usr/share/examples/etc/make.conf and in the make.conf manpage. Step 1) Revert those silly optimizations back to the default Step 2) Rebuild everything to undo the damage Kris Well, in short, that worked. I have now build the kernel. I'm a little confused though and could use a bit of an explination. I thought only the COPTFLAGS options where used during kernel compilation and I had attempted to build with those commented out completely before. I can only guess that the CFLAGS are still in effect too. Now I have a custom kernel which is failing to build. I've attached the config file for it, and it fails trying to build with references about ieee80211. The odd thing is I have no wireless in my box and have commented out all the wireless references. What else is dependant on them and should be commented out as well? The last bit of output is below. Thanks again, Grant MAKE=make sh /usr/src/sys/conf/newvers.sh STRIPPED cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -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 if_ural.o(.text+0x66): In function `ural_free_tx_list': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0x2d3): In function `ural_rxeof': : undefined reference to `ieee80211_find_rxnode' if_ural.o(.text+0x2eb): In function `ural_rxeof': : undefined reference to `ieee80211_input' if_ural.o(.text+0x2f1): In function `ural_rxeof': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0x893): In function `ural_start': : undefined reference to `ieee80211_find_txnode' if_ural.o(.text+0x8b9): In function `ural_start': : undefined reference to `ieee80211_encap' if_ural.o(.text+0xa0a): In function `ural_start': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xa3f): In function `ural_start': : undefined reference to `ieee80211_encap' if_ural.o(.text+0xa53): In function `ural_start': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xa65): In function `ural_start': : undefined reference to `ieee80211_crypto_encap' if_ural.o(.text+0xe47): In function `ural_txeof': : undefined reference to `ieee80211_free_node' if_ural.o(.text+0xeee): In function `ural_watchdog': : undefined reference to `ieee80211_watchdog' if_ural.o(.text+0x1188): In function `ural_detach': : undefined reference to `ieee80211_ifdetach' if_ural.o(.text+0x16f3): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x1719): In function `ural_attach': : undefined reference to `ieee80211_ifattach' if_ural.o(.text+0x1754): In function `ural_attach': : undefined reference to `ieee80211_media_status' if_ural.o(.text+0x175f): In function `ural_attach': : undefined reference to `ieee80211_media_init' if_ural.o(.text+0x182b): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x185f): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x1894): In function `ural_attach': : undefined reference to `ieee80211_ieee2mhz' if_ural.o(.text+0x18e6): In function `ural_attach': : undefined reference to `ieee80211_announce' if_ural.o(.text+0x1b8e): In function `ural_set_chan': : undefined reference to `ieee80211_chan2ieee' if_ural.o(.text+0x21c3): In function `ural_task': : undefined reference to `ieee80211_beacon_alloc' if_ural.o(.text+0x2be0): In function `ural_media_change': : undefined reference to `ieee80211_media_change' if_ural.o(.text+0x2c3e): In function `ural_media_change': : undefined reference to `ieee80211_media_change' if_ural.o(.text+0x2cf7): In function `ural_ioctl': : undefined reference to `ieee80211_ioctl' if_ural.o(.text+0xe5): In function `ural_next_scan': : undefined reference to `ieee80211_next_scan' *** Error code 1 Stop in /usr/obj/usr/src/sys/STRIPPED. *** Error code 1 Stop in /usr/src. *** Error code 1 --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
STRIPPED
Description: 587589913-STRIPPED
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"