From patchwork Thu Oct 3 02:13:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 280205 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0EF1D2C00BB for ; Thu, 3 Oct 2013 12:13:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3C3318D44C; Thu, 3 Oct 2013 02:13:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0YcacMjDLOxX; Thu, 3 Oct 2013 02:13:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 7CF328D451; Thu, 3 Oct 2013 02:13:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B3B321BFA6E for ; Thu, 3 Oct 2013 02:13:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B124D8D37F for ; Thu, 3 Oct 2013 02:13:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OmAN+4oovnl2 for ; Thu, 3 Oct 2013 02:13:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by whitealder.osuosl.org (Postfix) with ESMTPS id 336B38D47B for ; Thu, 3 Oct 2013 02:13:37 +0000 (UTC) Received: by mail-pb0-f41.google.com with SMTP id rp2so1759583pbb.28 for ; Wed, 02 Oct 2013 19:13:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=oqwBQ8ZJ1enIMkWboiQCDCscr+iQcvkOy5zTrak7Fhs=; b=KzxQIiEuBfws1lEEfdB44uGNNq8BSk3gtidF7FTtrYf+TYTg6YV8W0oJTkSj11q83s TqAn2GhHM5750uaRp6l97QVnDQmYYZHq3beue/O1FZUcv4xKTbBrPyhCDCoPVSY1k6AL z9v+HuHbp/tn8DSak5KxlFuZMdt6vbuBV8VB4HDtycLnzxiH406kGZ9sn5hs0niKPVcp 3fEwa0/zXR/cEKoB35LwybgYWAhFeKvn9Iqq7qtt6bw0x6zTImaDdM4z6pVVtfjIqsCj YaUljii9t1yVZ5atH4w1YWZz/nw+uAv+7pQZDaDiqklVueDCDrHt0hNp+WTNyHNAtw5d 9R0Q== X-Gm-Message-State: ALoCoQns6v+nRLVp75ngHp7YAr1d3AuQ5tJqWQ4/8SgfIG1Gy7AHxImQWVM+0NSxs2+i+nXDllfe X-Received: by 10.68.231.71 with SMTP id te7mr4070pbc.203.1380766416903; Wed, 02 Oct 2013 19:13:36 -0700 (PDT) Received: from [192.168.0.102] (36-239-227-126.dynamic-ip.hinet.net. [36.239.227.126]) by mx.google.com with ESMTPSA id dk3sm4798994pbc.32.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Oct 2013 19:13:36 -0700 (PDT) Message-ID: <1380766412.29754.0.camel@phoenix> From: Axel Lin To: Peter Korsgaard Date: Thu, 03 Oct 2013 10:13:32 +0800 X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Cc: buildroot@busybox.net Subject: [Buildroot] [PATCH] nano: needs mmu X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Fix below build error if !BR2_USE_MMU: text.o: In function `execute_command': text.c:(.text+0x7f8): undefined reference to `fork' text.o: In function `do_int_speller': text.c:(.text+0x3480): undefined reference to `fork' text.c:(.text+0x34f4): undefined reference to `fork' text.c:(.text+0x3568): undefined reference to `fork' text.o: In function `do_alt_speller': text.c:(.text+0x3914): undefined reference to `fork' collect2: ld returned 1 exit status make[3]: *** [nano] Error 1 Signed-off-by: Axel Lin --- package/nano/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/nano/Config.in b/package/nano/Config.in index ef7f69d..036313f 100644 --- a/package/nano/Config.in +++ b/package/nano/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_NANO bool "nano" + depends on BR2_USE_MMU # fork() select BR2_PACKAGE_NCURSES help A nice ncurses-based editor. Started out as a clone of pico.