From owner-freebsd-questions@FreeBSD.ORG Mon Jun 27 12:51:38 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 2F4F716A41C for ; Mon, 27 Jun 2005 12:51:38 +0000 (GMT) (envelope-from elifarley@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD5FB43D4C for ; Mon, 27 Jun 2005 12:51:37 +0000 (GMT) (envelope-from elifarley@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so858408rne for ; Mon, 27 Jun 2005 05:51:37 -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=jy03J2ECul8PAJgsmd4Y1t5nl4BtMr9qUD9CS7fWhAmtWscH9SyWfETQIDLh4jFEUJO4AC9B793IY6j382CQLqYEJGFUqlZIqpV5AK9B66JDy93tViduikgo20uc0gxLvst5g9eV6XQn9uxqV/bgtADnGBgM4pk0OTKhluuEyR8= Received: by 10.38.66.4 with SMTP id o4mr900146rna; Mon, 27 Jun 2005 05:51:37 -0700 (PDT) Received: by 10.38.88.56 with HTTP; Mon, 27 Jun 2005 05:51:37 -0700 (PDT) Message-ID: <6a219efc0506270551736fbf89@mail.gmail.com> Date: Mon, 27 Jun 2005 09:51:37 -0300 From: Elifarley Callado Coelho Cruz 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: [sysutils/dar] compilation error - filesystem.cpp:80:27: linux/ext2_fs.h: No such file or directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Elifarley Callado Coelho Cruz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 12:51:38 -0000 I'm trying to install sysutils/dar, but compilation fails. What's wrong here ? Error log follows: if /bin/sh /usr/local/bin/libtool15 --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_DECL_GETOPT=3D0 -I/usr/local/include -pipe -funroll-loops -O2 -march=3Dpentiumpro -MT filesystem.lo -MD -MP -MF ".deps/filesystem.Tpo" -c -o filesystem.lo filesystem.cpp; then mv -f ".deps/filesystem.Tpo" ".deps/filesystem.Plo"; else rm -f ".deps/filesystem.Tpo"; exit 1; fi c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_DECL_GETOPT=3D0 -I/usr/local/include -pipe -funroll-loops -O2 -march=3Dpentiumpro -MT filesystem.lo -MD -MP -MF .deps/filesystem.Tpo -c filesystem.cpp=20 -fPIC -DPIC -o .libs/filesystem.o filesystem.cpp:80:27: linux/ext2_fs.h: No such file or directory filesystem.cpp: In function `bool libdar::is_nodump_flag_set(libdar::user_interaction&, const libdar::path&, const std::string&)': filesystem.cpp:1554: error: `EXT2_IOC_GETFLAGS' undeclared (first use this function) filesystem.cpp:1554: error: (Each undeclared identifier is reported only once for each function it appears in.) filesystem.cpp:1575: error: `EXT2_NODUMP_FL' undeclared (first use this function) *** Error code 1 Stop in /var/usr-ports-work/volumes/smallFiles/usr-ports/sysutils/dar/work/= dar-2.2.2/src/libdar. *** Error code 1 After some examination, I found this: filesystem.cpp: #if LIBDAR_NODUMP_FEATURE =3D=3D linux #include #else #if LIBDAR_NODUMP_FEATURE =3D=3D ext2fs #include How do I make the test 'LIBDAR_NODUMP_FEATURE =3D=3D linux' return true ? Where should I change it ? --=20 There are 10 types of people in the world: Those who understand binary and those who don't