[solved] buildworld error

Munehiro Matsuda haro at kgt.co.jp
Tue Jun 10 22:31:41 PDT 2003


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


More information about the freebsd-current mailing list