Recompiling the kernel
3531
uucigj at swbatl.swbt.com
Fri Feb 23 08:32:11 AEST 1990
I would like to get some information about a problem I had when I wanted
to recompile the kernel on my sparcstation. For starters I have a sparc
running 4.0.3c with two diskless 3/80's as clients. The sparc has a 327
meg hard drive and a separate partition for the sun 3 stuff. I want to
get slip up and running on one of my serial ports and fetched the package
slip-4.0. I have followed the instructions in the readme as far as making
the modifications to the source code. Now I was ready to run
/usr/etc/config SYSTEM_NAME (following the directions in the Sun manual).
This bombed out (in the make depends) with several messages about not
being able to find 5 files:
../../sun/conf.c: 370: Can't find include file ropc.h
../../sun/conf.c: 399: Can't find include file cgone.h
../../sun/conf.c: 457: Can't find include file sky.h
../../sun/conf.c: 475: Can't find include file bwone.h
../../sun4c/swapgeneric.c: 78: Can't find include file sm.h
I did some investigation and found each of these files in the sun3x/OBJ
directory. I made a link from them to the sun4c directory and reran the
config (which then did the make depends). This time all appeared ok. I
then went to the ../SYSTEM_NAME directory and ran make. This bombed out
at ioconf with:
cc -sparc -c -O -Dsun4c -DGENERIC -DSUN4C_60 -DVDDRV -DCRYPT -DTCPDEBUG -DIPCSHM
EM -DIPCSEMAPHORE -DIPCMESSAGE -DSYSAUDIT -DSYSACCT -DLOFS -DNFSSERVER -DNFSCLIE
NT -DUFS -DQUOTA -DINET -DKERNEL -I. -I.. -I../.. ioconf.c
"../../sundev/mbvar.h", line 288: redeclaration of dev_info
*** Error code 1
make: Fatal error: Command failed for target `ioconf.o'
And it is at this point that I have stopped. The changes that I made for
slip did not seem to have any bearing on the above errors but they
happened. I was wondering what I was doing wrong? Do I need to change the
SYSTEM_NAME file in some other way, or the Makefile.src file? The
SYSTEM_NAME file was identical to the GENERIC file before I added the slip
stuff (one line only in psuedo device), do I need something else in/out of
that file? Any help would be appreciated.
More information about the Comp.sys.sun
mailing list