[pups] V6 kernel compile help
helbig at Lehre.BA-Stuttgart.DE
Sun Jul 23 17:57:53 AEST 2006
Hi Bent Lee,
you asked for help
>I need help with the V6 kernel compilation. I read the Unix setup guide
>file /usr/sys/run. I've seen one problem so far with the /usr/sys/run
>file. That is
>that the two lib files (lib1 & lib2) did not contain any symbols.
>When I ran:
># ar r ../lib1
># ar r ../lib2
>I got a string of error messages from ld.
which error messages?
>But after I did this:
># ar r ../lib1 *.o
># ar r ../lib2 *.o
This might have corrupted your lib files. These two lines are only meant as
templates to replace some files in your archives, that is lib, if necessary.
But replacing an object file is necessary only if you changed the corresponding
source file and recompiled it.
Here are the files supposed to be in lib1:
# ar t lib1
>I have these missing symbols
># ld -x l.o m40.o c.o ../lib1 ../lib2
>_end (defined by ld if successful)
>_iinit (from alloc.c)
>_iget (from iget.c)
replace lib1 and lib2 with the original files and it should work!
You might want to consult
for help installing V6.
"Dijkstra is right, but you don't say such things!"
(A less courageous programmer)
More information about the TUHS