Re: dumb xnu-792 build question
Re: dumb xnu-792 build question
- Subject: Re: dumb xnu-792 build question
- From: Peter Lovell <email@hidden>
- Date: Mon, 8 May 2006 07:27:21 -0400
On May 7, 2006, at 4:09 PM, email@hidden wrote:
Ok, I feel dumb asking this, but I can't seem to find it, so...
I've added a bunch of dirs to xnu-792 and the make finds them and
builds
them ok. (added to bsd/conf/files) However, as soon as I get a warning
on any of them, the build stops. I can see that other parts of the
system
build with warnings and keep going.
So, what's the trick to get the build environment to not stop on
warnings?
(I'm building on Darwin8.0.1 for i386, if that makes any difference.)
I have succeeded in getting rid of the warnings, but had to add
crud like
the following to avoid the warnings, which isn't exactly pretty:-)
/* XXX really dumb, but the compiler complains since the last arg
* of vnode_waitforwrites() isn't "const char *".
*/
bcopy("nfsflush", stupid, 9);
while ((error = vnode_waitforwrites(vp, 0, slpflag,
slptimeo, stupid))) {
Thanks in advance for any help, rick
Hi Rick,
have a look at xnu/bsd/conf/Makefile.i386 for the list of files for
OBJS_NO_WERROR
If you add your files to the list then the build will warn but not stop.
I know it looks weird but this file with "i386" suffix is used for
ppc builds.
Regards.....Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden