From owner-freebsd-questions Thu Oct 17 12:13:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5ABB37B401 for ; Thu, 17 Oct 2002 12:13:16 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D752B43E3B for ; Thu, 17 Oct 2002 12:13:15 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.6/8.12.6) with ESMTP id g9HJDAUA090492; Fri, 18 Oct 2002 08:13:10 +1300 (NZDT) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.6/8.12.6/Submit) id g9HJDA8l090491; Fri, 18 Oct 2002 08:13:10 +1300 (NZDT) Date: Fri, 18 Oct 2002 08:13:10 +1300 From: Jonathan Chen To: Nick Jennings Cc: freebsd-questions@FreeBSD.ORG Subject: Re: wierd errors when building ports Message-ID: <20021017191310.GA90361@grimoire.chen.org.nz> References: <20021017122716.F19014@namodn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021017122716.F19014@namodn.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 17, 2002 at 12:27:16PM -0700, Nick Jennings wrote: [...] > else is wrong here and these errors are not normal. Is my make.conf too > strict or something? I copied it from the examples, > (/usr/share/examples/etc/defaults/make.conf) and did *very* little in > customization... My CFLAGS looks like this: > > CFLAGS= -O -pipe -Wall -ansi > > What could be the problem here? Or is the compiler I'm using just not > like '//' used as comments? The -ansi is causing your problems. There shouldn't be any need to set the CFLAGS at all. The default flags for most ports includes -O and -pipe. -- Jonathan Chen ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message