From owner-freebsd-current@FreeBSD.ORG Fri Sep 22 22:46:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA3F016A415 for ; Fri, 22 Sep 2006 22:46:24 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44F8E43D55 for ; Fri, 22 Sep 2006 22:46:24 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id AFP75155; Fri, 22 Sep 2006 15:45:55 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 6CE6045058; Fri, 22 Sep 2006 15:45:55 -0700 (PDT) To: Wolfram Fenske In-Reply-To: Your message of "Fri, 22 Sep 2006 23:38:54 +0200." <86wt7vshsh.fsf@student.uni-magdeburg.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1158965155_33273P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 22 Sep 2006 15:45:55 -0700 From: "Kevin Oberman" Message-Id: <20060922224555.6CE6045058@ptavv.es.net> Cc: freebsd-current@freebsd.org Subject: Re: avifile will not compile on -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 22:46:24 -0000 --==_Exmh_1158965155_33273P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: Wolfram Fenske > Date: Fri, 22 Sep 2006 23:38:54 +0200 > Sender: owner-freebsd-current@freebsd.org > > Hello! > > "Kevin Oberman" writes: > > > Not sure if this was best to current or ports, but I suspect current is > > the best starting point. It is beyond my VERY limited C++ skills to > > decipher. > > > > When I try building avifile on either of my current systems, I get the > > error: > > c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -I./../../ffmp> eg/libavformat -I./../../ffmpeg/libavcodec -I/usr/local/include -I/usr/loca> l/include -I/usr/X11R6/include -D_GETOPT_H -Wall -Wno-unused -I../../includ> e -O2 -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=> 64 -pipe -c ReadFile.cpp -fPIC -DPIC -o .libs/ReadFile.o > > ReadFile.cpp:129: error: explicit qualification in declaration of `avm::I> ReadFile* avm::CreateReadFile(const char*, unsigned int)' > > gmake[2]: *** [ReadFile.lo] Error 1 > > gmake[2]: Leaving directory `/usr/ports/multimedia/avifile/work/avifile-0> .7-0.7.43/lib/aviread' > > > > This compiles fine on a 6.2-PRERELEASE system. > > > > Any idea what might be causing this? I don't see any other reports of > > problem, so it may be a problem on my system, but I don't see what it > > I don't know what the problem really is, but I found some bug reports > with the message »error: explicit qualification in declaration«. [1] > Apparently, they can be fixed by removing the namespace qualifier. So > replacing line 129 with one of > > --8<---------------cut here---------------start------------->8--- > avm::IReadFile* CreateReadFile(const char*, unsigned int) > IReadFile* avm::CreateReadFile(const char*, unsigned int) > IReadFile* CreateReadFile(const char*, unsigned int) > --8<---------------cut here---------------end--------------->8--- > > might work. Does work! Thanks. Now I just need to decide whether to submit a patch for the current version or try to complete a port of the latest version to FreeBSD. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1158965155_33273P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFFFGejkn3rs5h7N1ERAlUxAJ97qqFyOdTaJdce9Gx2fvbUqt0f2gCeLgBY O4W0qXCjDVOJFiLtJiqmJwk= =ESH+ -----END PGP SIGNATURE----- --==_Exmh_1158965155_33273P--