Date: Fri, 23 Jul 1999 00:10:10 -0400 (EDT) From: "Brian F. Feldman" <green@FreeBSD.org> To: Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE> Cc: freebsd-current@FreeBSD.org Subject: Re: Still kernel compilation failures Message-ID: <Pine.BSF.4.10.9907230007400.31457-100000@janus.syracuse.net> In-Reply-To: <199907222225.AAA02759@wjpserver.cs.uni-sb.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 _ __ ___ ____ ___ ___ ___
green@FreeBSD.org _ __ ___ | _ ) __| \
FreeBSD: The Power to Serve! _ __ | _ \._ \ |) |
http://www.FreeBSD.org/ _ |___/___/___/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907230007400.31457-100000>
