Re: [solved] buildworld error

From: Munehiro Matsuda <haro_at_kgt.co.jp>
Date: Wed, 11 Jun 2003 14:31:32 +0900 (JST)
Hi all,

From: Garance A Drosihn <drosih_at_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_at_kgt.co.jp
Received on Tue Jun 10 2003 - 20:31:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC