From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 12:00:01 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF2F816A41C for ; Mon, 4 Jul 2005 12:00:00 +0000 (GMT) (envelope-from vrkid0@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90C7A43D48 for ; Mon, 4 Jul 2005 12:00:00 +0000 (GMT) (envelope-from vrkid0@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so714416wra for ; Mon, 04 Jul 2005 05:00:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=b3HGjpEVLwLTehM9qrDyGuSpk+U2CD6KjvykIh0ALXPo1URnJUo9k8nYFTzbJsLFCIiyLae5MwRPgl5ELXD7w6UNoIC8BMEQBuNkWsURjfE6yI/TlJmirHEX8xmj08Vd5jMr7obISJ5K+NAw+VoOiW3U7xLRA7RDPkh2iuijy5I= Received: by 10.54.27.45 with SMTP id a45mr3508238wra; Mon, 04 Jul 2005 04:59:59 -0700 (PDT) Received: by 10.54.125.16 with HTTP; Mon, 4 Jul 2005 04:59:59 -0700 (PDT) Message-ID: Date: Mon, 4 Jul 2005 14:59:59 +0300 From: Paolo Supino To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: file-4.09 compilation error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paolo Supino List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 12:00:01 -0000 Hi=20 If this is the wrong place to ask the following question please direct me in the right direction... I'm trying to compile and install 'file-4.09' on FreeBSD 4.10 (someone else needs it) and the compilation fails with the following error: gcc -g -O2 -o .libs/file file.o ./.libs/libmagic.so -lz -Wl,--rpath -Wl,/finjan//lib file.o: In function `file_mbswidth': /home/paolo/src/file-4.09/src/file.c:465: undefined reference to `mbrtowc' /home/paolo/src/file-4.09/src/file.c:479: undefined reference to `wcwidth' gmake[1]: *** [file] Error 1 gmake[1]: Leaving directory `/home/paolo/src/file-4.09/src' gmake: *** [install-recursive] Error 1 The ports tree has version 4.07 (too old) and compiline version 4.12 completes successfully. I cannot force a version change so installing 4.12 out of the question. Any help in causing file version 4.09 to compile successfully will be greatly appriciated. Paolo