Re: avifile will not compile on -current

From: Wolfram Fenske <Wolfram.Fenske_at_Student.Uni-Magdeburg.DE>
Date: Sat, 23 Sep 2006 02:17:21 +0200
"Kevin Oberman" <oberman_at_es.net> writes:

>> From: Wolfram Fenske <Wolfram.Fenske_at_Student.Uni-Magdeburg.DE>
>> Date: Fri, 22 Sep 2006 23:38:54 +0200
>> Sender: owner-freebsd-current_at_freebsd.org
>> 
>> Hello!
>> 
>> "Kevin Oberman" <oberman_at_es.net> 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'
>> >

[...]

>> 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.

Glad to hear it!

> 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.

Hm.  Maybe the guys at ports_at_freebsd.org can help you.  They're listed
as the maintainers of this port.

-- 
Wolfram Fenske

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?
Received on Fri Sep 22 2006 - 22:20:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC