From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 13:07:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BC10106566C for ; Mon, 11 Jul 2011 13:07:41 +0000 (UTC) (envelope-from lenzi.sergio@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3728A8FC1C for ; Mon, 11 Jul 2011 13:07:40 +0000 (UTC) Received: by ywf7 with SMTP id 7so1833546ywf.13 for ; Mon, 11 Jul 2011 06:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references :disposition-notification-to:content-type:date:message-id :mime-version:x-mailer; bh=dfe9JYC8nKI80TjRNAWK0Yxjhop+SGLCS5X0VpaAWhg=; b=g0O4h766wLIwtMsV9a2RJUSIwwnEZfdumH2LtE8bAUSI4wmjLaKgLTjB0pmWx4OLt4 1M5nBkAhpHlYTerHxR7ZTjQCUlK/vTyoNL1+rLkeDn2Z0NE7f/dXeBCzNzAAc0dfifQY JXqXuPC/6dl5/lIZS3BW4sEsjj02D/p7S03h8= Received: by 10.101.26.30 with SMTP id d30mr3728844anj.125.1310389660350; Mon, 11 Jul 2011 06:07:40 -0700 (PDT) Received: from [192.168.6.230] ([201.21.174.123]) by mx.google.com with ESMTPS id y15sm12376226ann.44.2011.07.11.06.07.36 (version=SSLv3 cipher=OTHER); Mon, 11 Jul 2011 06:07:37 -0700 (PDT) From: Sergio de Almeida Lenzi To: hasanhasanli Hasan In-Reply-To: References: Date: Mon, 11 Jul 2011 10:07:32 -0300 Message-ID: <1310389652.89169.9.camel@z6000.lenzicasa> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: buildworld from FreeBSD 8.1 to FreeBSD 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2011 13:07:41 -0000 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@oldmachine:/usr/src rsync -avz --delete /usr/obj/ root@oldmachine:/usr/obj 4) in the oldmachine..... cd /usr/src set KERNCONF make installworld installkernel 5) reboot.. FOR ME, it works... Sergio