From owner-freebsd-current@FreeBSD.ORG Fri Sep 22 21:42:14 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 5E11A16A407 for ; Fri, 22 Sep 2006 21:42:14 +0000 (UTC) (envelope-from Wolfram.Fenske@Student.Uni-Magdeburg.DE) Received: from mail.uni-magdeburg.de (mail.uni-magdeburg.de [141.44.1.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93CDB43D45 for ; Fri, 22 Sep 2006 21:42:12 +0000 (GMT) (envelope-from Wolfram.Fenske@Student.Uni-Magdeburg.DE) Received: from sunny.urz.uni-magdeburg.de ([141.44.8.7]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.62) for id 1GQsma-0002Kj-AS; Fri, 22 Sep 2006 23:42:12 +0200 Received: from hondo. (pD9514383.dip0.t-ipconnect.de [217.81.67.131]) (authenticated bits=0) by sunny.urz.uni-magdeburg.de (8.12.10/8.12.10) with ESMTP id k8MLg2SX007363 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 22 Sep 2006 23:42:03 +0200 To: freebsd-current@freebsd.org References: <20060922195951.EAAAC45058@ptavv.es.net> From: Wolfram Fenske Mail-Followup-To: freebsd-current@freebsd.org Date: Fri, 22 Sep 2006 23:38:54 +0200 In-Reply-To: <20060922195951.EAAAC45058@ptavv.es.net> (Kevin Oberman's message of "Fri, 22 Sep 2006 12:59:51 -0700") Message-ID: <86wt7vshsh.fsf@student.uni-magdeburg.de> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.5 (--) X-Spam-Report: ---- Start SpamAssassin results -2.5 points, 5.0 required; -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.1 AWL AWL: From: address is in the auto white-list ---- End of SpamAssassin results X-Scan-Signature: a6e28ca6865e16541bae30d025f0ff32 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 21:42:14 -0000 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.=20 > > 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=3D= 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 =BBerror: explicit qualification in declaration=AB. [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. Footnotes:=20 [1] =20=20=20=20=20= =20=20=20 --=20 Wolfram Fenske A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon?