| Date Of Receipt: 20-SEP-1996 14:22:29.38
From: FLUME::"[email protected]" "20-Sep-1996 1420"
To: Bill Freeman <[email protected]>
CC: [email protected], [email protected], [email protected],
[email protected]
Subj: Re: ODE/ptos-steelos non-nightly build problem
From switch2pal.o.d in the steel build, you can clearly see where time.h is
coming from:
switch2pal.o: /usr/sde/osf1/build/steelos.bld/export/alpha/usr/inclu
de/time.h
There are, unfortuately some user space header files which are required to
build the kernel (it didn't used to be the case). For this reason the
usr/include space is always built before the kernel in the nightly build which
populates export.
Part2: You mention that it workks against the nightly tree, but not the submit
tree. This is by design. Because of network load submit trees are configured
to be just that, submit trees, not backingtrees for build work, so there are
no exports in them - on purpose.
If you must build against steelos, then you have two options. Either build
usr/include (or some portion of it) in your sandbox, or odemount
steelos.nightly and in export/alpha of your sandbox do;
mklinks -link_from {path to nightly export/alpha) -link_to .
-Grant
| I sent to jmf:
| > Kernel builds in sandboxes backed to steelos (and if I
| > remember correctly all the varients I've tried, ptos) fail near the
| > end of the setup phase when trying to build dec/sas/alpha/switch2pal.c
| > which includes sys/time.h, which in turn includes, and can't find,
| > time.h. Indeed there is no time.h in src/kernel/include (or in
| > obj/alpha/kernel/include). Steelos.nightly works because it finds
| > time.h under export (in usr/include), but export isn't populated under
| > steelos.
|
| Josh replies:
| > Bill, please send mail to buildhelp, and you could include
| > actual build log output from your sandbox, that would be
| > very useful.
|
| Following is the salient portion of my log. The full text is
| in "/home/waf/steelos.build.failure". This problem is compeletely
| repeatable. Said log is from after I did a full install of 4.0 on my
| workstation and reinstalled ODE, but is identical to the failures that
| I got before on steelos and ptos.
|
| The suspicions about steelos.nightly finding <time.h> in the
| export tree come frome Andrew Duane looking at the pre-processor
| output in his steelos.nightly sandbox. I can build just fine in
| steelos.nightly.
|
| Bill
| -----------------------------------------------------------------------
| .../kernel/ 21 % build OTHERS=""
| relative path: ./kernel.
| string passed to /usr/sde/osf1/build/steelos/tools/alpha_OSF1/alpha/hostbin/m
ake:
| make -cF OTHERS= build_all
| mkdir ../../obj/alpha/kernel
| cd ../../obj/alpha/kernel
|
| ...
|
| /usr/sde/osf1/build/steelos/tools/alpha_OSF1/alpha/acc/cc -std0 -c -DBSD4
4 -DMSG -DNLS -DMACH -DCMU -DOSF -DOSF -Dalpha -D__alpha__ -D__alpha -Dunix
-D__unix__ -O2 -O1 -no_excpt -Wco,-nofloat -Wb,-static -D__digital__
-D__alpha -I `genpath -I.` `genpath -I.. -I../../../../kernel/include -I.
./../../..//usr/sbin ` -I/u2/users/waf/sb/steel/export/alpha/usr/include -I/us
r/sde/osf1/build/steelos/export/alpha/usr/include /usr/sde/osf1/build/steelos/
src/kernel/dec/sas/alpha/switch2pal.c
| cc: Severe: ../../../../kernel/include/sys/time.h, line 257: Cannot find file
<time.h> specified in #include directive.
| #include <time.h>
| -^
| cc: Error: ../../../../kernel/include/sys/time.h, line 257: Object file delet
ed.
| #include <time.h>
| -^
| *** Exit 1
| Stop.
| *** Exit 1
| Stop.
| .../kernel/ 22 %
|