[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

2658.0. "Re: help with building kernel" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Nov 12 1996 16:30

Date Of Receipt: 	 7-NOV-1996 17:16:22.63
From: 	FLUME::"[email protected]" "Susan Schueller USG  07-Nov-1996 1712"
To: 	[email protected]
CC: 	[email protected], [email protected]
Subj: 	Re: help with building kernel

Hi Dirce,
  You may have old source files in your sandbox, such as "alpha_init.c", 
"prom.h", or "pmap.h".  The changes that show up in the errors were
introduced into those files during the merge of Steel BL6 with PTB BL3.

Sue Schueller
Steel Release Engineering Project Leader

> Hi,
> 
> I am trying to build a kernel in my sandbox, backed
> against steelos.nightly. I even deleted all files
> from BINARY, but there seens to be a new problem:
> 
> /usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/cc  -c -O2   -DLANGUAGE_C -g1  -I -I. -I.. -I../include -DIDENT=BINARY -DMACH -DOSF -DCOMPAT_43 -DESS -DESS_STUB -DKERNEL -D_KERNEL -D_BSD -DBINARY -MD -w2 -compress  -no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -D__arch64__  /usr/sde/osf1/build/steelos.nightly/src/kernel/kern/ipc_globals.c
> /usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/cc  -c -O2   -DLANGUAGE_C -g1  -I -I. -I.. -I../include -DIDENT=BINARY -DMACH -DOSF -DCOMPAT_43 -DESS -DESS_STUB -DKERNEL -D_KERNEL -D_BSD -DBINARY -MD -w2 -compress  -no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -D__arch64__ -g3 /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c
> cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 907: In this statement, "PROM_NOVERIFY" is not declared.
>         if (prom_getenv("booted_osflags", ev_val, PROM_NOVERIFY) == GET_ENV_SUCCESS) {
> --------------------------------------------------^
> cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 907: In this statement, "GET_ENV_SUCCESS" is not declared.
>         if (prom_getenv("booted_osflags", ev_val, PROM_NOVERIFY) == GET_ENV_SUCCESS) {
> --------------------------------------------------------------------^
> cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 1020: In this statement, "PMEM_KDEBUG" is not declared.
>         pmap_add_use(tmp, ffpfn, PMEM_KDEBUG);
> ---------------------------------^
> cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 1288: In this statement, "PROM_NOVERIFY" is not declared.
>         prom_getenv("booted_osflags", pvfix, PROM_NOVERIFY);
> ---------------------------------------------^
> objZ: No such file or directory - alpha_init.o
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> 
> 
> Any clues?
> 
> Thanks,
> 
> 	Dirce

-- 
------------------------------------------------------------
Susan Schueller              Digital Equipment Corporation
USG Release Engineering      MS ZKO3-3/W20
(603) 881-6348               110 Spit Brook Road
[email protected]         Nashua, NH 03062-2698
------------------------------------------------------------



T.RTitleUserPersonal
Name
DateLines
2658.1fwd: help with building kernelAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 12 1996 16:3058
Date Of Receipt: 	 7-NOV-1996 17:18:54.55
From: 	FLUME::jmf "Joshua M. Friedman Digital UNIX  07-Nov-1996 1715"
To: 	buildhelp@DEC:.zko.flume
CC: 	reng@DEC:.zko.flume, dirce@DEC:.zko.flume
Subj: 	fwd: help with building kernel

Can anyone please help Dirce here?   Thanks...		-josh

(Dirce, there is a mail alias 'buildhelp' which is more
appropriate for questions of this nature.)



------- Forwarded Message

To: [email protected]
Cc: dirce
Subject: help with building kernel
Date: Thu, 07 Nov 96 16:25:46 -0500
From: dirce
X-Mts: smtp

Hi,

I am trying to build a kernel in my sandbox, backed
against steelos.nightly. I even deleted all files
from BINARY, but there seens to be a new problem:

/usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/cc  -c -O2   -DLANGUAGE_C -g1  -I -I. -I.. -I../include -DIDENT=BINARY -DMACH -DOSF -DCOMPAT_43 -DESS -DESS_STUB -DKERNEL -D_KERNEL -D_BSD -DBINARY -MD -w2 -compress  -no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -D__arch64__  /usr/sde/osf1/build/steelos.nightly/src/kernel/kern/ipc_globals.c
/usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/cc  -c -O2   -DLANGUAGE_C -g1  -I -I. -I.. -I../include -DIDENT=BINARY -DMACH -DOSF -DCOMPAT_43 -DESS -DESS_STUB -DKERNEL -D_KERNEL -D_BSD -DBINARY -MD -w2 -compress  -no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -D__arch64__ -g3 /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c
cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 907: In this statement, "PROM_NOVERIFY" is not declared.
        if (prom_getenv("booted_osflags", ev_val, PROM_NOVERIFY) == GET_ENV_SUCCESS) {
- --------------------------------------------------^
cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 907: In this statement, "GET_ENV_SUCCESS" is not declared.
        if (prom_getenv("booted_osflags", ev_val, PROM_NOVERIFY) == GET_ENV_SUCCESS) {
- --------------------------------------------------------------------^
cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 1020: In this statement, "PMEM_KDEBUG" is not declared.
        pmap_add_use(tmp, ffpfn, PMEM_KDEBUG);
- ---------------------------------^
cc: Error: /usr/sde/osf1/build/steelos.nightly/src/kernel/arch/alpha/alpha_init.c, line 1288: In this statement, "PROM_NOVERIFY" is not declared.
        prom_getenv("booted_osflags", pvfix, PROM_NOVERIFY);
- ---------------------------------------------^
objZ: No such file or directory - alpha_init.o
*** Exit 1
Stop.
*** Exit 1
Stop.


Any clues?

Thanks,

	Dirce

------- End of Forwarded Message


2658.2help with building kernelAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 12 1996 16:4560
Date Of Receipt: 	 8-NOV-1996 15:40:19.33
From: 	ALPHA::dirce "Dirce Richards bos  08-Nov-1996 1536"
To: 	buildhelp@DEC:.zko.alpha
CC: 	
Subj: 	help with building kernel

Hi,

I deleted obj//alpha/kernel/* and started a full build again.
Now I got the error below. Can you please help? Thanks,

	Dirce
--------------

mig -cpp /usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/cpp  -DKERNEL -D__digital__ -D__arch64__ -DKERNEL_SERVER  -I `genpath -I.` `genpath  -I.. -I../.. ` -I/usr/sb/pps/export/alpha/usr/include -I/usr/sde/osf1/build/steelos.nightly/export/alpha/usr/include -D__alpha -server monitor_server.c /usr/sde/osf1/build/steelos.nightly/src/kernel/mach/monitor.defs
rm -f -rf ./mach_debug
mkdir ./mach_debug
cd ./mach_debug &&  make -cF VPATH=../../mach_debug && touch ../migdebugfiles
mig -cpp /usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/cpp  -DKERNEL  -I  `genpath -I.` `genpath  -I.. -I../.. `  -I/usr/sb/pps/export/alpha/usr/include -I/usr/sde/osf1/build/steelos.nightly/export/alpha/usr/include -D__alpha /usr/sde/osf1/build/steelos.nightly/src/kernel/mach_debug/mach_debug.defs  -user mach_debug_user.c  -server mach_debug_server.c
/usr/sde/osf1/build/steelos.nightly/tools/alpha_OSF1/alpha/acc/cc  -c -O2   -DLANGUAGE_C -warnprotos -g1  -I -I. -I.. -I../include -DIDENT=BINARY -DMACH -DOSF -DCOMPAT_43 -DESS -DESS_STUB -DKERNEL -D_KERNEL -D_BSD -DBINARY -MD -w2 -compress  -no_excpt -Wg,-unroll,1 -Wb,-static -Wco,-nofloat -Umips -UMIPS -U__intel__ -D__alpha -D__digital__ -D__arch64__  /usr/sde/osf1/build/steelos.nightly/src/kernel/vm/vm_init.c
cc: Warning: /usr/sde/osf1/build/steelos.nightly/src/kernel/vm/vm_init.c, line 203: In this statement, there is no prototype for "zone_bootstrap".
        zone_bootstrap();
--------^
cc: Warning: /usr/sde/osf1/build/steelos.nightly/src/kernel/vm/vm_init.c, line 216: In this statement, there is no prototype for "subsys_conf".
        (void)subsys_conf("rmvm");
--------------^
objZ: No such file or directory - vm_init.o
*** Exit 1
Stop.
*** Exit 1
Stop.

------- Forwarded Message

Return-Path: plong
Received: from soak1.zk3.dec.com by alpha.zk3.dec.com; (5.65v3.2/1.1.8.2/20May95-1022AM)
	id AA18641; Fri, 8 Nov 1996 03:47:03 -0500
Received: from localhost by soak1.zk3.dec.com (5.65v3.2/1.1.10.5/10Sep96-0913AM)
	id AA31406; Fri, 8 Nov 1996 03:46:59 -0500
Message-Id: <[email protected]>
To: "Joshua M. Friedman, Digital UNIX, 381-1548" <jmf>
Cc: buildhelp, reng, dirce, plong
Subject: Re: fwd: help with building kernel 
In-Reply-To: Your message of "Thu, 07 Nov 96 17:15:21 EST."
             <[email protected]> 
Date: Fri, 08 Nov 96 03:46:59 -0500
From: "Paula Long, Digital Equipment Corporation" <plong>
X-Mts: smtp

Hi,

Dirce, did you just delete BINARY, or did you delete obj/kernel/alpha/*
The symbols aren't defined anymore, and you likely have a stale
header file perhaps in obj/kernel/alpha/include .

Paula 

------- End of Forwarded Message


2658.3Re: help with building kernelAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 12 1996 16:4837
Date Of Receipt: 	 8-NOV-1996 16:18:35.35
From: 	FLUME::johnf "John Flanagan USG Test Johnf Tools Group  08-Nov-1996 1615"
To: 	dirce@DEC:.zko.flume
CC: 	buildhelp@DEC:.zko.flume
Subj: 	Re: help with building kernel

Check to see if your files file is uptodate.  It should have Jon Fraser's
work in it.  Specifically, regarding vm_init.c, you should see the following
in ./kernel/conf/files:

vm/vm_init.c                    standard ordered Binary flags -no_warnprotos


Note the -no_warnprotos.  Judging by the error your getting, its using the
older files file that does not have this -no_warnprotos file in it.


Copy /usr/sde/osf1/build/steelos.nightly/src/kernel/conf/files  to 
obj/alpha/kernel/conf in your sandbox and try the build again.


John
-- 


 ______________________________________________________________________

 John Flanagan	 		enet:    [email protected]	
 MS: ZKO3-3/W20			decnet:  flume::johnf
 USG Release Management			 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________




2658.4Re: help with building kernelAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 12 1996 16:4914
Date Of Receipt: 	 8-NOV-1996 16:29:10.93
From: 	ALPHA::dirce "Dirce Richards bos  08-Nov-1996 1625"
To: 	John Flanagan - UNIX Systems Group <johnf@DEC:.zko.alpha>
CC: 	dirce@DEC:.zko.alpha, buildhelp@DEC:.zko.alpha
Subj: 	Re: help with building kernel

John,

Thanks for your quick response. Yes, my 'files' was a couple
days old, since I am adding a new subsystem. I will bmerge and
try again.

	Dirce