badly munged system

2009-07-17 Thread Eitan Adler
I tried to do a make buildworld, make buildkernel, make installkernel,
reboot, make installworld from an old version of 7.2-STABLE to revision
195666. I was in single user mode the entire time.
The first three steps worked perfectly. The final step resulted in an
error which I forgot to log. I then proceeded to do a make clean and try
to rebuild the world.
This results in the following error:
cc -O2 -fno-strict-aliasing -pipe
-I/usr/obj/home/src/stable7/tmp/legacy/usr/in

clude -c /home/src/stable7/usr.bin/makewhatis/makewhatis.c
/home/src/stable7/usr.bin/makewhatis/makewhatis.c:146: warning: 'struct
dirent'

declared inside parameter list

/home/src/stable7/usr.bin/makewhatis/makewhatis.c:929: error:
dereferencing poin

ter to incomplete type
*** Error code 1

Stop in /home/src/stable7/usr.bin/makewhatis.
*** Error code 1
...

Along with this error I am now missing quite a number of system files:
among them include /usr/share/mk/bsd.port.mk
/libexec/ld-elf.so.1: sort: Shared object has no run-time symbol table
and man.

How could I get out of this state without losing data?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: badly munged system

2009-07-17 Thread Chuck Swiger

On Jul 17, 2009, at 1:55 PM, Eitan Adler wrote:

How could I get out of this state without losing data?


Start by making a backup of the existing system.  Do a clean  
reinstall, preferably on other disk or system, and then restore your  
data files onto this other disk/system and test before making any  
further changes to the problematic disk.


Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: badly munged system

2009-07-17 Thread Daniel Marsh
Eltan,

The actual problem is the fact you installed the kernel, booted the
new kernel and are using the old world.

You can boot the old kernel and do a make installworld and it will work.

The world and the kernel will have problems, especially if there are
major version differences between the new and old builds!

Keep the kernel the same version of the world by installing world and
kernel at the same time.

Regards

Daniel

On 7/18/09, Eitan Adler eitanadlerl...@gmail.com wrote:
 I tried to do a make buildworld, make buildkernel, make installkernel,
 reboot, make installworld from an old version of 7.2-STABLE to revision
 195666. I was in single user mode the entire time.
 The first three steps worked perfectly. The final step resulted in an
 error which I forgot to log. I then proceeded to do a make clean and try
 to rebuild the world.
 This results in the following error:
 cc -O2 -fno-strict-aliasing -pipe
 -I/usr/obj/home/src/stable7/tmp/legacy/usr/in

 clude -c /home/src/stable7/usr.bin/makewhatis/makewhatis.c
 /home/src/stable7/usr.bin/makewhatis/makewhatis.c:146: warning: 'struct
 dirent'

 declared inside parameter list
 
 /home/src/stable7/usr.bin/makewhatis/makewhatis.c:929: error:
 dereferencing poin

 ter to incomplete type
 *** Error code 1

 Stop in /home/src/stable7/usr.bin/makewhatis.
 *** Error code 1
 ...

 Along with this error I am now missing quite a number of system files:
 among them include /usr/share/mk/bsd.port.mk
 /libexec/ld-elf.so.1: sort: Shared object has no run-time symbol table
 and man.

 How could I get out of this state without losing data?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


-- 
Sent from my mobile device


http://buymeahouse.stiw.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org