[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

527.0. "FWD: build of gold on sterling fails??" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Wed Jan 26 1994 11:13

Date Of Receipt: 	20-JAN-1994 18:55:02.00
From: 	FLAMBE::"[email protected]"
To: 	flambe::buildhelp
CC: 	ode@DEC:.zko.flambe, saether@DEC:.zko.flambe
Subj: 	FWD: build of gold on sterling fails??

Do you have any suggestions why this is happening?
Thanks,
Tina


From:	OLEUM::saether "Christian Saether  20-Jan-1994 1535"   20-JAN-1994 
15:34:52.41
To:	[email protected]
CC:	
Subj:	build of gold on sterling fails?? 


there's something goofy about the include path here - it appears to be
trying to use stdio.h from my running system (sterling) instead of getting
from the gold backing tree.

mv config.X config
cp config ../../bin/config
[ /kernel/src/mktcdata ]
makepath mktcdata/. && cd mktcdata &&  exec make 'RELEASE_OPTIONS=-idfile 
`genloc /src/setup/osf1_idlist`'    MAKEFILE_PASS=BASIC dopass_all
mktcdata: created directory
env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc   -EL -c  -DBSD44 -DMSG  
-D__WCHAR_T_LEN=4 -Wf,-wchar32  -DMACH -DCMU -DOSF  -Dalpha -D__alpha__ 
-D__alpha  -Dunix -D__unix__      -O2 -Olimit 5000    -DCMU -D_NO_PROTO -Dconst= 
     `genpath -I.` `genpath  -I../../include -I/usr/include ` -I/usr/include  
/usr/sde/osf1/build/goldos.pre.bl8/src/kernel/src/mktcdata/mktcdata.c
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdio.h, line 240: Syntax Error
 _END_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdio.h, line 322: Syntax Error
 _BEGIN_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdio.h, line 330: Syntax Error
 _END_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdio.h, line 350: Syntax Error
 _BEGIN_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdio.h, line 357: Syntax Error
 _END_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/stdio.h, line 396: Syntax Error
 _END_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/ctype.h, line 76: Syntax Error
 _BEGIN_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/ctype.h, line 90: Syntax Error
 _END_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/ctype.h, line 99: Syntax Error
 _END_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: /usr/include/ctype.h, line 104: Syntax Error
 _END_CPLUSPLUS
 ^
/usr/lib/cmplrs/cc/cfe: Error: 
/usr/sde/osf1/build/goldos.pre.bl8/src/kernel/src/mktcdata/mktcdata.c, line 93: 
Syntax Error
 main(argc, argv, envp)
 ^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
% 


T.RTitleUserPersonal
Name
DateLines
527.1Re: FWD: build of gold on sterling fails??SMURF::FILTERAutomatic Posting Software - mail to flume::puckWed Jan 26 1994 11:1317
Date Of Receipt: 	20-JAN-1994 19:52:17.76
From: 	FLAMBE::"[email protected]"
To: 	anderson@dec:.zso.decwet (Tina Anderson)
CC: 	flambe::buildhelp, [email protected], [email protected],
	bstevens@DEC:.zko.alpha, brett@DEC:.zko.alpha
Subj: 	Re: FWD: build of gold on sterling fails??

Sounds like it is the intended behavior, as mktcdata must run on the host
system after it is built. Probably a bug that it doesn't build properly,
though. Here is Brett's change to the Makefile:

# Revision 1.1.13.3  1993/09/22  22:16:13  Brett_Sampson
# 	get include file from host /usr/include. This avoids a 2.0 compat problem
# 	[1993/09/22  22:04:21  Brett_Sampson]

Brian

527.2Re: FWD: build of gold on sterling fails??SMURF::FILTERAutomatic Posting Software - mail to flume::puckWed Jan 26 1994 11:1431
Date Of Receipt: 	20-JAN-1994 20:47:47.87
From: 	ALPHA::"[email protected]"
To: 	ALPHA::buildhelp
CC: 	ode@DEC:.zko.alpha
Subj: 	Re: FWD: build of gold on sterling fails??

We figured out what the problem is.  Thanks for the input.

In a kernel build here on a stearling machine, 
/usr/include/stdio.h (stearling)
includes the backing tree's standards.h (gold pre-bl8)
The 2 are incompatible. 

I am having Chris build again goldos.nightly which was
built on the 13th and has the changes in standards.h that
is needed.  Hope that works.

Till later,
Tina


<  * Revision 4.2.9.2  1994/01/07  18:33:15  Thomas_Peterson  <---- GOLDOS
<  *    Merged C++ header changes fwd from sterl bl9 to gold bl8
<  *    [1994/01/05  17:25:54  Thomas_Peterson]
<  *
15c11

diff -r4.2.9.2 -r4.2.7.2



527.3Re: FWD: build of gold on sterling fails??SMURF::FILTERAutomatic Posting Software - mail to flume::puckWed Jan 26 1994 11:1616
Date Of Receipt: 	20-JAN-1994 23:52:09.19
From: 	FLAMBE::"jmcg%[email protected]"
To: 	anderson@dec:.zso.decwet, buildhelp%[email protected]
CC: 	ode@dec:.zso.decwet, saether@dec:.zso.decwet
Subj: 	Re:  FWD: build of gold on sterling fails??

Our builds are "unclean" for several programs built to be executed on the
host during the build.  This particular problem is caused by version
skew between stdio.h and standards.h, the latter of which is included in
the kernel sources.  I don't have a suggested patch yet, but when
I ran across it I pushed the latest Sterling standards.h into the
kernel sources as a hack to allow the build to continue.  I would be
hesitant to do this if you find differences other than the section
defining the _CPLUSPLUS macros.
	-- jmcg