[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 |
628.0. "gold suddenly won t build for me...." by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Mon Mar 07 1994 17:00
Date Of Receipt: 7-MAR-1994 11:53:32.56
From: WASTED::grava "Bill Grava USG 07-Mar-1994 1147"
To: buildhelp@wasted:zko.dec
CC: grava@wasted:zko.dec, cori@wasted:zko.dec
Subj: gold suddenly won't build for me....
I'm guessing that my workon environment is broken, causing my problem.
Let me explain. Until Wednesday or so, I was able to build a gold
kernel with no problem. Friday, however, the build broke on
./src/kernel/bsd/uipc_socket2.c, complaining about mismatched parameters
and declarations coming from ../include/sys/socketvar.h. The problem
is that there is no ./kernel/include/sys/socketvar.h. There is a
./src/kernel/sys/socketvar.h (the only one I could find in the pool).
It is correct (i.e. it is NOT the cause of the breakage), and it was
just changed Thursday. I suspect that the -I parameters in the workon
environment are wrong, sending the compiler off to some default linked
directory to get a previous version of socketvar.h that is a mismatch
with the changes coordinated between socketvar.h and uipc_socket2.c.
Included below is output from 'build BINARY_ MAKE_ARGS="uipc_socket2.o".
Is there a clean and easy way out of this?
thanks,
-bill
relative path: ./kernel.
cd ../../obj/alpha/kernel
cd BINARY && make -cF uipc_socket2.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 -O2 -g3 -DLANGUAGE_C -g3 -G 4 -I -I. -I.. -I../include -DIDENT=BINARY -DALPHAAVANTI -DLCAMUSTANG -DALPHASABLE -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 1500 -D__alpha -Umips -UMIPS -DBINARY ../../../../src/kernel/bsd/uipc_socket2.c
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/cfe: Error: ../../../../src/kernel/bsd/uipc_socket2.c, line 222: redeclaration of 'sb_max'; previous declaration at line 416 in file '../include/sys/socketvar.h'
u_int sb_max = (128*1024) ;
----- ^
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/cfe: Warning: ../../../../src/kernel/bsd/uipc_socket2.c, line 800: prototype declaration and non-prototype definition found for soreserve, the type of this parameter is not compatible with the type after applying default argument promotion
u_int sndcc, rcvcc;
------^
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/cfe: Warning: ../../../../src/kernel/bsd/uipc_socket2.c, line 800: prototype declaration and non-prototype definition found for soreserve, the type of this parameter is not compatible with the type after applying default argument promotion
u_int sndcc, rcvcc;
-------------^
/usr/sde/osf1/build/goldos.nightly/tools/alpha_OSF1/alpha/acc/usr/lib/cmplrs/cc/cfe: Warning: ../../../../src/kernel/bsd/uipc_socket2.c, line 835: prototype declaration and non-prototype definition found for sbreserve, the type of this parameter is not compatible with the type after applying default argument promotion
u_int cc;
------^
*** Exit 1
Stop.
*** Exit 1
Stop.
T.R | Title | User | Personal Name | Date | Lines |
---|
628.1 | Re: gold suddenly won t build for me.... | SMURF::FILTER | Automatic Posting Software - mail to flume::puck | Mon Mar 07 1994 17:01 | 21 |
| Date Of Receipt: 7-MAR-1994 12:11:24.30
From: ABYSS::"[email protected]" "Shashi Mangalat USG"
To: [email protected]
CC: [email protected]
Subj: Re: gold suddenly won't build for me....
>Friday, however, the build broke on
>./src/kernel/bsd/uipc_socket2.c, complaining about mismatched parameters
>and declarations coming from ../include/sys/socketvar.h. The problem
>is that there is no ./kernel/include/sys/socketvar.h. There is a
>./src/kernel/sys/socketvar.h (the only one I could find in the pool).
The ../include/sys/socketvar.h is relative to the object tree. It
seems to me that somehow your obj/alpha/kernel/include/sys/socketvar.h
is out of sync with the backing tree (kernel/sys/socketvar.h). The
easiest thing in such a case is to copy the backing tree verson over to
the object tree. But I would rather do a 'build setup BINARY
FLAMINGO...' to make sure that nothing else is out of sync.
--shashi
|