[Pkg-octave-devel] video pkg fails to compile

Thomas Weber thomas.weber.mail at gmail.com
Thu Nov 6 13:02:52 UTC 2008


Note to list members: Saso isn't subscribed, so keep him (her?) in CC.

Hi Saso, 

Am Donnerstag, den 06.11.2008, 00:29 +0100 schrieb Saso Musevic:
> Hello!
>  
> I have a similar problem:

Similar to what? Your message doesn't have any context.

If you mean this one:
http://lists.alioth.debian.org/pipermail/pkg-octave-devel/2008-May/004233.html
then no, I'm not aware of any fix.


> octave:31> pkg install video-1.0.1.tar.gz 
> AVHandler.cc: In destructor 'AVHandler::~AVHandler()':
> AVHandler.cc:53: error: base operand of '->' has non-pointer type
> 'ByteIOContext'
> AVHandler.cc:56: error: cannot convert 'ByteIOContext' to
> 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'
> AVHandler.cc: In member function 'int AVHandler::write_frame()':
> AVHandler.cc:229: warning: 'img_convert' is deprecated (declared
> at /usr/include/ffmpeg/avcodec.h:2575)
> AVHandler.cc:231: warning: 'img_convert' is deprecated (declared
> at /usr/include/ffmpeg/avcodec.h:2575)
> AVHandler.cc: In member function 'int AVHandler::read_frame(unsigned
> int)':
> AVHandler.cc:317: error: cannot convert 'ByteIOContext' to
> 'ByteIOContext*' for argument '1' to 'int url_feof(ByteIOContext*)'
> AVHandler.cc:337: warning: 'img_convert' is deprecated (declared
> at /usr/include/ffmpeg/avcodec.h:2575)
> AVHandler.cc:339: warning: 'img_convert' is deprecated (declared
> at /usr/include/ffmpeg/avcodec.h:2575)
> make: *** [AVHandler.o] Error 1
> error: 'make' returned the following error: make: Entering directory
> `/tmp/oct-0CQzFd/video-1.0.1/src'
> mkoctfile -v -c -DHAVE_FFMPEG_AVFORMAT_H -DHAVE_FFMPEG_AVCODEC_H
> -I/usr/include/ffmpeg   AVHandler.cc -o AVHandler.o
> g++ -c -fPIC -I/usr/include/octave-3.0.0
> -I/usr/include/octave-3.0.0/octave -mieee-fp -O2 -I/usr/include/ffmpeg
> -DHAVE_FFMPEG_AVFORMAT_H -DHAVE_FFMPEG_AVCODEC_H AVHandler.cc -o
> AVHandler.o
> make: Leaving directory `/tmp/oct-0CQzFd/video-1.0.1/src'
> error: called from `pkg:configure_make' in
> file /usr/share/octave/3.0.0/m/pkg/pkg.m near line 1058, column 2
> octave:31> 
> 
> Have you solved yours? It might help me...

You are better off asking this on octave-forge's list, at
octave-dev at lists.sf.net

	Thomas




More information about the Pkg-octave-devel mailing list