From owner-freebsd-questions@FreeBSD.ORG Fri May 15 16:24:57 2009 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 16DC81065676 for ; Fri, 15 May 2009 16:24:57 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id A858E8FC20 for ; Fri, 15 May 2009 16:24:55 +0000 (UTC) (envelope-from robin@reportlab.com) Received: by ewy3 with SMTP id 3so2441594ewy.43 for ; Fri, 15 May 2009 09:24:55 -0700 (PDT) Received: by 10.210.126.18 with SMTP id y18mr1125160ebc.12.1242403334864; Fri, 15 May 2009 09:02:14 -0700 (PDT) Received: from ?192.168.0.3? (host-82-44-127-245.static.telewest.net [82.44.127.245]) by mx.google.com with ESMTPS id 5sm1893481eyf.8.2009.05.15.09.02.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 May 2009 09:02:14 -0700 (PDT) Message-ID: <4A0D9208.3050903@chamonix.reportlab.co.uk> Date: Fri, 15 May 2009 17:02:16 +0100 From: Robin Becker User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Problem building htop 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: Fri, 15 May 2009 16:24:57 -0000 I'm trying to build htop-0.8.1 from ports on a FreeBSD 6.1 system. It seems htop requires ncurses and I see this error > In file included from RichString.h:14, > from Object.h:12, > from Process.h:14, > from ProcessList.h:17, > from Settings.h:13, > from AvailableMetersPanel.h:6, > from AvailableMetersPanel.c:2: > /usr/include/curses.h:289: error: conflicting types for 'wchar_t' > /usr/include/stdlib.h:58: error: previous declaration of 'wchar_t' was here > *** Error code 1 do I need a more modern system or should I update the ports tree and try again? I guess that stdlib comes with the OS and maybe ncurses is modernized. -- Robin Becker