Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2003 14:31:32 +0900 (JST)
From:      Munehiro Matsuda <haro@kgt.co.jp>
To:        drosih@rpi.edu
Cc:        gordon@bsd-network.org
Subject:   Re: [solved] buildworld error
Message-ID:  <20030611.143132.74757193.haro@kgt.co.jp>
In-Reply-To: <p05210610bb0c1e58316f@[128.113.24.47]>
References:  <20030609210914.GA15553@nemesis.bsd-network.org> <20030610194208.GA55855@nemesis.bsd-network.org> <p05210610bb0c1e58316f@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all,

From: Garance A Drosihn <drosih@rpi.edu>
Date: Tue, 10 Jun 2003 19:50:08 -0400
::At 9:42 PM +0200 6/10/03, Gordon Bergling wrote:
::>Hi all,
::>
::>Since I disable BDECFLAGS in /etc/make.conf this problem goes
::>away. I don't know if this effects the build process in any
::>other way. I had enable them around 4.5-RELEASE or so. ;)
::
::I'm not sure what you mean by that.  Did you remove a line
::which had
::BDECFLAGS=...etc...
::
::or did you remove a line which said something like
::CFLAGS="$BDECFLAGS"
::?
::
::If you mean the first one, that probably means some makefile
::has a reference to BDECFLAGS and it (probably) should not.

I was having the same compile error, until I commeted out the 
BDECFLAGS definition from /etc/make.conf.

Looking into the problematic Makefiles, I've found that following
Makefiles do references BDECFLAGS, which matches errors I was getting:

  usr.sbin/config/Makefile : CFLAGS+= ${BDECFLAGS}
  usr.sbin/lpr/Makefile.inc: CWARNFLAGS=	${BDECFLAGS}
  usr.sbin/kgzip/Makefile  : CFLAGS+= ${BDECFLAGS}

I think these references must be removed.

Thanks,
  Haro
=------------------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Internet Solution Dept., Kubota Graphics Technologies Inc.
 /|\ |_|  |_|_|   2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan
                  Tel: +81-3-3225-0767  Fax: +81-3-3225-0740
                  Email: haro@kgt.co.jp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030611.143132.74757193.haro>