Subject: Re: -current make in src/sbin/raidctl
To: Greg Oster <oster@cs.usask.ca>
From: Michael L. Hitch <mhitch@lightning.oscs.montana.edu>
List: current-users
Date: 03/24/1999 09:00:32
On Wed, 24 Mar 1999, Greg Oster wrote:

> Andreas Wrede writes:
> > make build in current, sup'ed yesterday, failes in src/sbin/raidctl:
> > 
> > cc -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wpointer-arith -Werror -Wno-error 
> > -I/usr/src/sbin/raidctl/../../sys/dev/raidframe -c rf_configure.c
...
> Umm.....  There are supposed to be some more COPT's in that compile line. 
> Specifically: 
>   
>    -DCSRG_BASED -DNARROWPROTO -DRF_UTILITY=1 -DSIMULATE=1
...
> with COPTS has changed recently with 'make'.  Nuke the 'COPTS+=...' line
> in /usr/src/sbin/raidctl/Makefile, and replace the line 'CPPFLAGS+=...'
> with:
> 
> CPPFLAGS+= -DCSRG_BASED -DNARROWPROTO -DRF_UTILITY=1 -DSIMULATE=1 -I${LOOKHERE}
> 
> I'll dig into this further in a bit..)

  Actually, I'll bet there's a 'COPTS=-pipe' in /etc/mk.conf - replacing
that with 'COPTS+=-pipe' will probably cure the problem.  [Any guesses who
just ran into this a couple of days ago?]

Michael
---
Michael L. Hitch			mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA