From owner-freebsd-current Thu Jul 22 21:10:26 1999 Delivered-To: freebsd-current@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 1EAA114C28 for ; Thu, 22 Jul 1999 21:10:23 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.2/8.8.7) with ESMTP id AAA32179; Fri, 23 Jul 1999 00:10:10 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Fri, 23 Jul 1999 00:10:10 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Thomas Schuerger Cc: freebsd-current@FreeBSD.org Subject: Re: Still kernel compilation failures In-Reply-To: <199907222225.AAA02759@wjpserver.cs.uni-sb.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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