[comp.unix.ultrix] after upgrading to 3.1 can't compile kernel

rusty@GARNET.BERKELEY.EDU (08/02/89)

I was unable to use setld because it complained that there wasn't
enough disk space so I just used mt fsf to skip to the ultbase031 and
ultbin031 subsets and extracted and installed them (with no disk space
problems).

Then I copied /genvmunix to /vmunix and rebooted.

Then I removed the previous system configuration file in /usr/sys/conf
(and its corresponding directory in /usr/sys) and ran the command
doconfig.  When compiling the kernel it bombs on the file
data/mscp_data.c.  The error messages are at the end of this message.

Does anybody know what is wrong?  Did I not do something that needed
to be done or screw something up when I did my manual minimal upgrade?


/bin/cc -I. -c -S -DSIGH -DMVAX -DUWS -DUFS -DBSC -DDLI -DRPC -DNFS -DEMULFLT -DINET -DQUOTA -DLAT -DKERNEL -DUPGRADE=0 -DTIMEZONE=480 -DDST=1 -DMAXUSERS=16 -DMAXUPRC=50 -DPHYSMEM=5 -DNCPU=1 -DDMMIN=32 -DDMMAX=1024 -DBUFCACHE=10  ../data/mscp_data.c
"../data/mscp_data.c", line 442: warning: undeclared initializer name DEV_TQL70
"../data/mscp_data.c", line 442: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 442: illegal initialization
"../data/mscp_data.c", line 442: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 442: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 442: illegal initialization
"../data/mscp_data.c", line 444: warning: undeclared initializer name DEV_HSC40
"../data/mscp_data.c", line 444: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 444: illegal initialization
"../data/mscp_data.c", line 444: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 444: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 444: illegal initialization
"../data/mscp_data.c", line 448: warning: undeclared initializer name DEV_TBL70
"../data/mscp_data.c", line 448: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 448: illegal initialization
"../data/mscp_data.c", line 448: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 448: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 448: illegal initialization
"../data/mscp_data.c", line 451: warning: undeclared initializer name DEV_TF85
"../data/mscp_data.c", line 451: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 451: illegal initialization
"../data/mscp_data.c", line 451: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 451: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 451: illegal initialization
"../data/mscp_data.c", line 455: warning: undeclared initializer name DEV_HSX50
"../data/mscp_data.c", line 455: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 455: illegal initialization
"../data/mscp_data.c", line 455: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 455: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 455: illegal initialization
"../data/mscp_data.c", line 521: warning: illegal combination of pointer and integer, op =
"../data/mscp_data.c", line 521: illegal initialization
"../data/mscp_data.c", line 521: warning: illegal combination of pointer and integer, op =
*** Error code 1

Stop.

grr@cbmvax.UUCP (George Robbins) (08/02/89)

In article <8908020638.AA09028@garnet.berkeley.edu> rusty@GARNET.BERKELEY.EDU writes:
> I was unable to use setld because it complained that there wasn't
> enough disk space so I just used mt fsf to skip to the ultbase031 and
> ultbin031 subsets and extracted and installed them (with no disk space
> problems).
...
> Does anybody know what is wrong?  Did I not do something that needed
> to be done or screw something up when I did my manual minimal upgrade?

Somehow your manual installation of ULTBASE031 didn't hit the target.  It
includes an update to devio.h the presumably adds the definition of the
DEV_TQL70 that mscp_data.c is referencing.  The new version of mscp_data.c
is in ULTBIN031, so perhaps you didn't restore any of the ULTBASE031 stuff?

Unless you can identify that the no ULTBAS030 stuff got installed, you
have a mess on your hands.  You did make a root, /usr backup I hope...

Use of the script utility and/or a hardcopy console are generally useful
tools when I comes to analyzing "what really happened" problems, though
since the 3.1 upgrade replaces script with a new version, you don't want
to be running the "real" script when you do it - copy it to /tmp and
then run /tmp/script...

> "../data/mscp_data.c", line 442: warning: undeclared initializer name DEV_TQL70
> "../data/mscp_data.c", line 442: warning: illegal combination of pointer and integer, op =
> *** Error code 1
> 
> Stop.


-- 
George Robbins - now working for,	uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr@uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)

rusty@garnet.berkeley.edu (08/03/89)

Well ..., it turned out that when I installed ultbase031 I installed
it in /usr/usr.  Not too useful, eh?
--

--------------------------------------
	rusty c. wright
	rusty@violet.berkeley.edu ucbvax!violet!rusty