On Fri, Jan 26, 2007 at 07:33:44PM -0800, Grant Wagner wrote:
> 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.

CFLAGS are used for module builds.

>  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.

Go back to GENERIC (you stripped out too much) or check the comments
more carefully...or note the error message and check whether you have
anything related still in your 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'


P.S. Please wrap your lines at 70 characters so that your emails may
be easily read.

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to