On Fri, 23 Jul 1999, Thomas Schuerger wrote:
> > > ...
> > > vfs_init.o: In function `vfs_register':
> > > vfs_init.o(.text+0x8a1): undefined reference to `sysctl(void, float, short)'
> > > *** Error code 1
> > > 1 error
> > > Exit 2
> > >
> > >
> > > What am I doing wrong? Any help is greatly appreciated.
> > >
> >
> > Put -O back in the COPTFLAGS.
>
> It works now. Is there any explaination why -O is required? :)
Noone compiles without -O, so(/and) it's not supported. My take is
that EGCS says "Hey, I am in optimization level foobar! I can optimize
for unused code. Hmm... that's unused, so...". Either that or its
debugging support is really uNFed up.
>
>
> Ciao,
> Thomas.
>
>
Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___
[EMAIL PROTECTED] _ __ ___ | _ ) __| \
FreeBSD: The Power to Serve! _ __ | _ \._ \ |) |
http://www.FreeBSD.org/ _ |___/___/___/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message