[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

1474.0. "PT BL6 kernel build problems" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Thu May 18 1995 16:31

Date Of Receipt: 	18-MAY-1995 14:30:41.54
From: 	SMURF::ALPHA::schloss "Mike Schloss usg  18-May-1995 1428"
To: 	buildhelp@DEC:.zko.alpha
CC: 	
Subj: 	PT BL6 kernel build problems

I just rehosted a sandbox from PT BL5 to PT BL6 and am having some
problems.  Actually, I did a "mksb -undo" followed by a "mksb" so
things should be pristine.

The user space stuff appears to build just fine.
The kernel however...

In the directory $SB/src/kernel I do a build and I get the following :
$ build
relative path: ./kernel.
Make: No such directory: ../obj.  Stop.

Just for giggles I do a mkdir of the offending directory (in the
wrong place, should be ../../obj which does exist) and I get :
$ mkdir ../obj
$ build
relative path: ./kernel.
Make: No such directory: ../obj/alpha.  Stop.

Again I create the offending directory and try again.  This time :
$ mkdir ../obj/alpha
$ build
relative path: ./kernel.
cd ../obj/alpha
Make: Cannot open /usr/lib/makefiles/standard.mk.  Stop.

Any ideas?

T.RTitleUserPersonal
Name
DateLines
1474.1PT BL6 kernel build problemsAOSG::FILTERAutomatic Posting Software - mail to flume::puckThu May 18 1995 16:3234
Date Of Receipt: 	18-MAY-1995 14:37:48.75
From: 	SMURF::ALPHA::schloss "Mike Schloss usg  18-May-1995 1428"
To: 	buildhelp@DEC:.zko.alpha
CC: 	
Subj: 	PT BL6 kernel build problems

I just rehosted a sandbox from PT BL5 to PT BL6 and am having some
problems.  Actually, I did a "mksb -undo" followed by a "mksb" so
things should be pristine.

The user space stuff appears to build just fine.
The kernel however...

In the directory $SB/src/kernel I do a build and I get the following :
$ build
relative path: ./kernel.
Make: No such directory: ../obj.  Stop.

Just for giggles I do a mkdir of the offending directory (in the
wrong place, should be ../../obj which does exist) and I get :
$ mkdir ../obj
$ build
relative path: ./kernel.
Make: No such directory: ../obj/alpha.  Stop.

Again I create the offending directory and try again.  This time :
$ mkdir ../obj/alpha
$ build
relative path: ./kernel.
cd ../obj/alpha
Make: Cannot open /usr/lib/makefiles/standard.mk.  Stop.

Any ideas?

1474.2Re: PT BL6 kernel build problemsAOSG::FILTERAutomatic Posting Software - mail to flume::puckThu May 18 1995 17:4025
Date Of Receipt: 	18-MAY-1995 15:49:46.25
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	buildhelp schloss
CC: 	
Subj: 	Re:  PT BL6 kernel build problems

Did you follow the mksb with a workon -sb <sbname>  ? sounds like
maybe your environment's not setup that is usually provided by the
sandbox's rc_files.

try   echo $WORKON     this should be "1"

Do you have a Makeconf in the src directory of your sandbox which links
to a file you can read (i.e. can you 'more Makeconf') ?  Makeconf is
the file make uses to find the top of the tree when you type 'build'.
Since it looked for /usr/lib/makefiles/standard.mk and not
/pathtosandbox/src/usr/lib/makefiles/standard.mk either you're not in
a workon or a backing tree's not mounted and Makeconf isn't found.

Please be sure you've done the odemount of the new backing tree.  Of
course mksb wouldn't have succeeded if it weren't mounted, but maybe
you lost the mount...?

-josh