[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
529.0. "more on: kernel build fails if data directory involved" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Wed Jan 26 1994 11:38
Date Of Receipt: 21-JAN-1994 14:47:56.10
From: WASTED::jmf "Joshua M. Friedman ULTRIX SDE 21-Jan-1994 1448"
To: buildhelp@wasted:zko.dec
CC: eagle@wasted:zko.dec
Subj: more on: kernel build fails if data directory involved
any ideas anyone?
------- Forwarded Message
Return-Path: eagle
Delivery-Date: Fri, 21 Jan 94 13:45:34 -0500
Return-Path: eagle
Received: from wasted.zk3.dec.com by flambe.zk3.dec.com;
(5.65/1.1.8.2/20Jan94-0322PM)
id AA03890; Fri, 21 Jan 1994 13:45:31 -0500
Received: by wasted.zk3.dec.com; id AA17187; Fri, 21 Jan 1994 13:45:30 -0500
Message-Id: <[email protected]>
To: "Joshua Friedman, OSF/UNIX SDE 381-1548" <jmf>
Subject: build fails if data directory involved
Date: Fri, 21 Jan 94 13:45:29 -0500
From: eagle
X-Mts: smtp
I am on my local system.
I am in a workon.
I am in the kernel directory.
Here is a transcript of the session:
$ workon
cd'ing to sandbox source directory: /mnt/sb/gold/src.
starting new shell: /bin/sh.
$ cd kernel
$ build BINARY_ MAKE_ARGS=vga.o
relative path: ./kernel.
cd ../../obj/alpha/kernel
cd BINARY && make -cF vga.o
KCC=/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/cc
LD=/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/ld
CPP=cpp AWK=awk
AR=/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/ar
RANLIB='/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/ar
ts' SHELL=sh SED=sed SORT=sort ECHO=echo KSH=ksh EGREP=egrep
GREP=grep LINT=lint CONFIG=BINARY
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/cc -c -O0
- -g -DLANGUAGE_C -g -G 4 -I -I. -I.. -I../include -DIDENT=BINARY
- -DDEC2000_300 -DDEC3000_300 -DDEC3000_500 -DDEC7000 -DDEC4000 -DALPHAADU
- -DSWAPTYPE=1 -DRELEASE='"'9.0'"' -DVERSION='"'0'"' -DMACH -DOSF
- -DCOMPAT_43 -DUFS -DTRN -DKERNEL -D_KERNEL -D_BSD -signed -no_excpt
- -Wb,-static -Wco,-nofloat -Olimit 1000 -D__alpha -Umips -UMIPS -DBINARY
../../../../src/kernel/io/dec/ws/vga.c
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/
cfe: Error: ../../../../src/kernel/io/dec/ws/vga.c: 82: Cannot open file
data/ws_data.c for #include
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/
cfe: Error: ../../../../src/kernel/io/dec/ws/vga.c: 83: Cannot open file
data/vga_data.c for #include
*** Exit 1
Stop.
*** Exit 1
Stop.
$
Here is io/dec/ws/vga.c from my sandbox:
(It is long, and there is more of this message after the end of
the source code listing.)
(jmf: I took out everything but the #include's)
/*
* @DEC_COPYRIGHT@
*/
....
#ifndef lint
static char *rcsid = "@(#)$RCSfile: vga.c,v $ $Revision: 1.1.4.8 $ (DEC) $Date:
1993/11/23 21:25:59 $";
#endif
#include <data/ws_data.c>
#include <data/vga_data.c>
...
While still in that same workon session, here is the output
from a 'mount' command:
$ mount
/dev/rz3a on / type ufs (rw)
/proc on /proc type procfs (rw)
/dev/rz3g on /usr type ufs (rw)
/dev/rz3h on /mnt type ufs (rw)
/usr/sde@firstout on /usr/sde type nfs (ro, hard, intr)
/tools@tools on /tools type nfs (ro, hard, intr)
/contrib/alpha.OSF1@utne on /usr/local type nfs (ro, hard, intr)
bigbld:/share/bigbld/build/goldos.dsk1 on
/share/bigbld/build/goldos.dsk1 type nfs (ro, hard, intr)
bigbld:/share/bigbld/build/goldos.dsk5 on
/share/bigbld/build/goldos.dsk5 type nfs (ro, hard, intr)
$
Finally, you wanted to see the relevant Makefile lines. I
must admit I am still a little shaky about how your makefiles
are set up. You could undoubtedly tell me better than I
could tell you. I have not bco'd any Makefiles into my
local sandbox, so they should all be coming from goldos.nightly.
------- End of Forwarded Message
T.R | Title | User | Personal Name | Date | Lines |
---|
529.1 | Re: build fails if data directory involved | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Wed Jan 26 1994 11:52 | 14 |
| Date Of Receipt: 22-JAN-1994 00:27:04.36
From: ALPHA::"[email protected]" "Jim McGinness"
To: [email protected]
CC: [email protected]
Subj: Re: build fails if data directory involved
I took a look at your sandbox eagle: /mnt/sb/gold (thanks for exporting
it) and noticed that your obj/alpha tree does not have a kernel/data
directory. This explains why you get the error message you see. I
suspect you're missing a setup step in building your sandbox. Try
doing "build BINARY_setup" before trying to replace an object module.
-- jmcg
|