Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 20:41:11 +0200 (SAT)
From:      John Hay <jhay@icomtek.csir.co.za>
To:        current@freebsd.org
Cc:        ru@freebsd.org
Subject:   makefiles broken with make -j?
Message-ID:  <200205131841.g4DIfBY51020@zibbi.icomtek.csir.co.za>

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

It looks like the makefiles are a bit broken if make -j13 is used. What
I see here is that osreldate.h in obj/usr/src/i386/usr/include/ looks
like this:

############################
...
#ifdef _KERNEL
#ifdef _KERNEL
#error "/usr/include/osreldate.h cannot be used in the kernel, use sys/param.h"
#error "/usr/include/osreldate.h cannot be used in the kernel, use sys/param.h"
#else
#else
#undef __FreeBSD_version
#undef __FreeBSD_version
#define __FreeBSD_version 500035
#define __FreeBSD_version 500035
#endif
#endif
############################

When looking at the output of "make -j13 world", it looks like some parts
are being run more than once:

############################
--------------------------------------------------------------
>>> stage 4: populating /usr/obj/usr/src/i386/usr/include
--------------------------------------------------------------
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  OBJFORM
AT_PATH=/usr/obj/usr/src/i386/usr/libexec  PERL5LIB=/usr/obj/usr/src/i386/usr/li
bdata/perl/5.6.1  GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin  GROFF_FONT_PATH=
/usr/obj/usr/src/i386/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/usr/src/i38
6/usr/share/tmac  DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools/inst
all.sh"  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/
obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 S
HARED=symlinks includes incsinstall
===> share/info
===> share/info
===> include
===> include
Setting up symlinks to kernel source tree...
############################

John
-- 
John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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