[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

674.0. "gold kernel .h build error" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Fri Apr 01 1994 01:51

Date Of Receipt: 	 1-APR-1994 00:14:34.73
From: 	ABYSS::"[email protected]"
To: 	[email protected], [email protected]
CC: 	[email protected], [email protected]
Subj: 	gold kernel .h build error

forwarding to 'buildhelp'...


------- Forwarded Message

Return-Path: gbelch 
Delivery-Date: Thu, 31 Mar 94 15:01:25 -0500
Return-Path: gbelch
Received: from alpha.zk3.dec.com by flambe.zk3.dec.com; (5.65/1.1.8.2/30Mar94-0502PM)
	id AA02326; Thu, 31 Mar 1994 15:01:23 -0500
Received: by alpha.zk3.dec.com; id AA16652; Thu, 31 Mar 1994 15:00:56 -0500
Date: Thu, 31 Mar 1994 15:00:56 -0500
From: Gene Belch USG <gbelch>
Message-Id: <[email protected]>
To: [email protected]
Cc: gbelch
Subject: [gbelch: at least it's a different error]

Date: Wed, 30 Mar 1994 18:27:14 -0500
From: Gene Belch USG <gbelch>
To: dc
Cc: gbelch
Subject: at least it's a different error

Still some problem with the build.
 
mv sigstack_exer.X sigstack_exer
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/cc   -std0 -EL -c  -DBSD44 -DMSG -DNLS -D__WCHAR_T_LEN=4 -Wf,-wchar32  -DMACH -DCMU -DOSF  -Dalpha -D__alpha__ -D__alpha  -Dunix -D__unix__    -D_SHARED_LIBRARIES  -O2 -Olimit 5000        -I  `genpath -I.` `genpath  -I. -I../../threadRace `  -I/u1/belch/sbox/exersb_bld/export/alpha/usr/include -I/usr/sde/osf1/build/goldos.nightly/export/alpha/usr/include  ../../../../../src/smp/exer/kern/msg_block_exer.c
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/cfe: Error: ../../../../../src/smp/exer/kern/msg_block_exer.c: 87: Cannot open file msg_exer.h for #include
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

Gene


------- End of Forwarded Message


T.RTitleUserPersonal
Name
DateLines
674.1Re: gold kernel .h build errorSMURF::FILTERAutomatic Posting Software - mail to flume::puckFri Apr 01 1994 02:5331
Date Of Receipt: 	 1-APR-1994 01:31:17.98
From: 	FLUME::jmcg "Jim McGinness"
To: 	flume::jmf
CC: 	flume::buildhelp, flume::gbelch
Subj: 	Re:  gold kernel .h build error

It's not a kernel build bug, it's a problem building a kernel exerciser.

Either this sandbox has moved or it's out on some workstation where I
can't find it.  In gbelch's production system home directory there's
a sandbox that might be the one.  It's backed by a tree named

	/usr/qcsde/build/src/qaqc

(which has been problematic for "bsh" because it includes /src/ as
part of its name.  I don't think that's the problem now.)

I can't find the /usr/qcsde tree to investigate this one very well.  At
first blush I'd say the Makefile is in error because it doesn't
document the dependency of msg_block_exer.c on msg_exer.h (putting
something in a DEPEND_LIST clause doesn't do this all by itself, unless
there's some new makefile rules I've not heard of).  From the command
line shown, though, that isn't a problem: there's a genpath -I.
that ought to be doing the right thing.

Gene: the best thing you could do for us to help you is to do a
workon, cd ../obj/alpha/smp/exer/kern and tell us what result you
see from doing "genpath -I. -I../../threadRace".

	-- jmcg

674.2gold kernel .h build errorSMURF::FILTERAutomatic Posting Software - mail to flume::puckMon Apr 04 1994 16:4322
Date Of Receipt: 	 1-APR-1994 12:43:17.58
From: 	ALPHA::gbelch "Gene Belch USG"
To: 	[email protected]
CC: 	gbelch@DEC:.zko.alpha, dc@DEC:.zko.alpha, [email protected]
Subj: 	gold kernel .h build error
The problem is very simple: 	mklinks is broken.

When the build croaks looking for a (existing)
.h file, you just resb qaqc and do 

mklinks -copy smp 

3 or 4 times. Then resb goldos.nightly,
cd smp and build. Shazzam! it finds the .h file.
You just iterate that every time build croaks
and it will complete without errors. FYI, the
Makefiles giving the error have been building 
without errors for months when they were on itg.

regards,
Gene

674.3Re: gold kernel .h build errorSMURF::FILTERAutomatic Posting Software - mail to flume::puckMon Apr 04 1994 16:4318
Date Of Receipt: 	 1-APR-1994 13:11:17.98
From: 	FLUME::jmcg "Jim McGinness"
To: 	flume::gbelch
CC: 	flume::buildhelp
Subj: 	Re:  gold kernel .h build error

I wasn't blaming the Makefile for this problem.  I don't think it's
"correct", but the flaw would probably not cause a problem very often.

I don't have access to an environment where I can resb to qaqc and
"itg" doesn't appear in our hosts list.  Where are you?

You should not have to iterate "mklinks -copy" to get a complete
copy.  Any information can put together to document this bug should be
reported back to Seattle via the gen-ptt command.

	-- jmcg