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 |
Delivery-Date: Tue, 27 Apr 93 09:55:04 -0400 Return-Path: [email protected] Received: by flume.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91); id AA15063; Tue, 27 Apr 1993 09:54:47 -0400 Received: by abyss.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91); id AA09698; Tue, 27 Apr 1993 09:53:57 -0400 Received: by mountain.zk3.dec.com; id AA07694; Tue, 27 Apr 1993 09:54:08 -0400 Date: Tue, 27 Apr 1993 09:54:08 -0400 From: John T Kohl <[email protected]> Message-Id: <[email protected]> To: [email protected] Subject: can't build kernel from sterling bl1 tree. X-Us-Snail: DEC, 110 Spit Brook Road, M/S ZKO3-3/U14, Nashua, NH 03062 I just built a fresh sandbox backed by agosminor.bl1. I cannot build the binary .o files for the kernel. I did a "build setup" from src/kernel (which built the include tree, the boot code, etc), then a "build BINARY_" and "build BINARY_depend", both of which die like this: mountain<ALPHA/newsterling>:/private/sandboxes/newsterling/src/kernel% build BINARY_ relative path: ./kernel. cd ../../obj/alpha/kernel cd BINARY && make -cF KCC=/usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cc LD=/usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/ld CPP=cpp AWK=awk AR=/usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/ar RANLIB='/usr/sde/osf1/build/agosminor.bl1/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 rm -rf ./mach mkdir ./mach cd ./mach && make -cF VPATH=../../mach && touch ../migfiles mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -DKERNEL_SERVER -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha -server mach_server.c -header mach_interface.h /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach/mach.defs egrep 'Routine ' < mach_interface.h | sed -e 's/.*Routine \([a-z_]*\).*/#define \1 \1_EXTERNAL/' > mach_user_internal.h mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -DKERNEL_USER -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha -header memory_object_user.h -user memory_object_user.c -server memory_object_server.c /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach/memory_object.defs mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -DKERNEL_USER -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha -user memory_object_default_user.c -server memory_object_default_server.c /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach/memory_object_default.defs mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha -user exc_user.c -server exc_server.c /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach/exc.defs mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -DKERNEL_SERVER -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha -server mach_host_server.c /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach/mach_host.defs mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha -user device_user.c -server device_server.c /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach/device.defs mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -DKERNEL_SERVER -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha -server monitor_server.c /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach/monitor.defs rm -rf ./mach_debug mkdir ./mach_debug cd ./mach_debug && make -cF VPATH=../../mach_debug && touch ../migdebugfiles mig -cpp /usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cpp -DKERNEL -I `genpath -I.` `genpath -I.. -I../.. ` -I/private/sandboxes/newsterling/export/alpha/usr/include -I/usr/sde/osf1/build/agosminor.bl1/export/alpha/usr/include -I/usr/sde/osf1/build/agosmaint.bl1/export/alpha/usr/include -I/usr/sde/alpha/build/alpha.bl012/export/alpha/usr/include -D__alpha /usr/sde/osf1/build/agosminor.bl1/src/kernel/mach_debug/mach_debug.defs -user mach_debug_user.c -server mach_debug_server.c env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /bin/cc -std0 -EL -I -I. -I.. -I../include -DIDENT=BINARY -DDEC3000_500 -DDEC7000 -DDEC4000 -DALPHAADU -DSWAPTYPE=1 -DRELEASE='"'9.0'"' -DVERSION='"'0'"' -DMACH -DOSF -DCOMPAT_43 -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD "-Dvolatile= " -no_excpt -c ../arch/alpha/genassym.c /usr/lib/cmplrs/cc/cfe: Error: ../include/sys/audit.h: 101: Cannot open file sys/syscall.h for #include *** Exit 1 Stop. *** Exit 1 Stop. Exit 1 mountain<ALPHA/newsterling>:/private/sandboxes/newsterling/src/kernel% build BINARY_depend relative path: ./kernel. cd ../../obj/alpha/kernel cd BINARY && make -cF KCC=/usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/cc LD=/usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/ld CPP=cpp AWK=awk AR=/usr/sde/osf1/build/agosminor.bl1/tools/alpha_OSF1/alpha/acc/ar RANLIB='/usr/sde/osf1/build/agosminor.bl1/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 depend env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /bin/cc -std0 -EL -I -I. -I.. -I../include -DIDENT=BINARY -DDEC3000_500 -DDEC7000 -DDEC4000 -DALPHAADU -DSWAPTYPE=1 -DRELEASE='"'9.0'"' -DVERSION='"'0'"' -DMACH -DOSF -DCOMPAT_43 -DUFS -DRT -DKERNEL -D_KERNEL -D_BSD "-Dvolatile= " -no_excpt -c ../arch/alpha/genassym.c /usr/lib/cmplrs/cc/cfe: Error: ../include/sys/audit.h: 101: Cannot open file sys/syscall.h for #include *** Exit 1 Stop. *** Exit 1 Stop. Exit 1
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
7.1 | AOSG::TAPPAN | Wed Apr 28 1993 11:09 | 18 | ||
To: John T Kohl <[email protected]> Cc: [email protected], [email protected] Subject: Re: can't build kernel from sterling bl1 tree. In-Reply-To: Your message of "Tue, 27 Apr 93 09:54:08 EDT." <[email protected]> Date: Tue, 27 Apr 93 10:08:03 -0400 From: good manners and bad breath will get you nowhere <[email protected]> X-Mts: smtp you didn't do sufficient build setup. you missed configing BINARY, and building the syscalls. after the 'build setup', just do 'build BINARY' (with no _). brian | |||||
7.2 | AOSG::TAPPAN | Wed Apr 28 1993 11:10 | 23 | ||
To: John T Kohl <[email protected]> Cc: [email protected] Subject: Re: can't build kernel from sterling bl1 tree. In-Reply-To: Your message of "Tue, 27 Apr 93 09:54:08 EDT." <[email protected]> Date: Tue, 27 Apr 93 10:16:27 -0400 From: "Gary Dupuis, UNIX(R) Software Group" <[email protected]> X-Mts: smtp John, Brian's response is correct. My question is, if you were in a new and clean sandbox why didn't you just do a 'build all'? 'build all' will do all the necessary setup and config prior to building anything. It also guarantees that each step is done in the proper order. I understand once you have done a 'build all' in a clean sandbox you may want to do various partial builds. However, to do the initial build 'build all' is the safest and surest way to go. Gary | |||||
7.3 | AOSG::TAPPAN | Wed Apr 28 1993 11:10 | 25 | ||
Delivery-Date: Tue, 27 Apr 93 10:20:46 -0400 Return-Path: [email protected] Received: by flume.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91); id AA16110; Tue, 27 Apr 1993 10:20:30 -0400 Received: by abyss.zk3.dec.com (5.65/DEC-USSG-ZK3-ULTRIX-09/27/91); id AA11096; Tue, 27 Apr 1993 10:19:59 -0400 Received: by mountain.zk3.dec.com; id AA07840; Tue, 27 Apr 1993 10:20:11 -0400 Date: Tue, 27 Apr 1993 10:20:11 -0400 From: John T Kohl <[email protected]> Message-Id: <[email protected]> To: "Gary Dupuis, UNIX Software Group" <[email protected]> Cc: John T Kohl <[email protected]>, [email protected] In-Reply-To: Gary Dupuis, UNIX(R) Software Group's message of Tue, 27 Apr 93 10:16:27 -0400, <[email protected]> Subject: Re: can't build kernel from sterling bl1 tree. X-Us-Snail: DEC, 110 Spit Brook Road, M/S ZKO3-3/U14, Nashua, NH 03062 I didn't want to do a build all because I wanted to link all the BINARY .o files to the backing tree (to save time and space in building them). Thanks for the tips. John | |||||
7.4 | AOSG::TAPPAN | Wed Apr 28 1993 11:11 | 20 | ||
To: John T Kohl <[email protected]> Cc: "Gary Dupuis, UNIX Software Group" <[email protected]>, [email protected], [email protected] Subject: Re: can't build kernel from sterling bl1 tree. In-Reply-To: Your message of "Tue, 27 Apr 93 10:20:11 EDT." <[email protected]> Date: Tue, 27 Apr 93 10:30:37 -0400 From: "Gary Dupuis, UNIX(R) Software Group" <[email protected]> X-Mts: smtp John, Why not link the entire ../obj/alpha/kernel tree then selectivly replace modules you change. Unless you are modifying large portions of the config space this is mostly straightforward. Gary |