buildworld from FreeBSD 8.1 to FreeBSD 8.2

Sergio de Almeida Lenzi lenzi.sergio at gmail.com
Mon Jul 11 13:07:41 UTC 2011


Em Seg, 2011-07-11 às 11:48 +0400, hasanhasanli Hasan escreveu:

> 
> I had problem with upgrating FreeBSD 8.1 to FreeBSD 8.2
> after that I typed 
> make buildworld
> It gives error.
> /usr/lib/libthr.a(thr_syscalls.o)(.text+0x87a): In function `___pselect':
> : undefined reference to `__pselect'
> *** Error code 1 

I use the following procedure:
1) build freebsd in a CLEAN machine (supose new bsd is 8.2)...:
    make buildworld buildkernel
    Please save the environment variables KERNCONF

2) copy /usr/src /usr/obj to the old (8.1, or even 7.x) bsd... in the
same directory(/usr/srcj /usr/obj) rsync works fine...
3) in the new (the one you generate freebsd) machine....
    rsync -avz --delete /usr/src/  root at oldmachine:/usr/src
    rsync -avz --delete /usr/obj/  root at oldmachine:/usr/obj
4) in the oldmachine.....
    cd /usr/src
    set KERNCONF
    make installworld installkernel
5) reboot..

FOR ME, it works...

Sergio


More information about the freebsd-questions mailing list