Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111335 - media-video/avifile-0.7.43.20050224-r1: cannot compile FFReadHandler.cpp
Summary: media-video/avifile-0.7.43.20050224-r1: cannot compile FFReadHandler.cpp
Status: RESOLVED DUPLICATE of bug 105597
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 02:54 UTC by Martin Mokrejš
Modified: 2005-11-03 03:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2005-11-03 02:54:21 UTC
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.
-I. -I../../include    -I./../common -Wall -Wno-unused -I../../include  -O2
-mcpu=i686 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL
-D_GNU_SOURCE -pipe -c FFReadHandler.cpp
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common
-Wall -Wno-unused -I../../include -O2 -mcpu=i686 -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe
-Wp,-MD,.deps/FFReadHandler.pp -c FFReadHandler.cpp  -fPIC -DPIC -o
.libs/FFReadHandler.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
FFReadHandler.cpp: In member function `int avm::FFReadHandler::Init(const char*)':
FFReadHandler.cpp:69: error: cannot convert `AVCodecContext**' to
`AVCodecContext*' in initialization
FFReadHandler.cpp:72: error: 'struct AVCodecContext' has no member named
'frame_rate'
FFReadHandler.cpp: In member function `virtual avm::IMediaReadStream*
avm::FFReadHandler::GetStream(uint_t, avm::IStream::StreamType)':
FFReadHandler.cpp:109: error: request for member `codec_type' in
`((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec',
which is of non-class type `AVCodecContext*'
FFReadHandler.cpp: In member function `virtual uint_t
avm::FFReadHandler::GetStreamCount(avm::IStream::StreamType)':
FFReadHandler.cpp:133: error: request for member `codec_type' in
`((avm::FFReadHandler*)this)->avm::FFReadHandler::m_pContext->AVFormatContext::streams[i]->AVStream::codec',
which is of non-class type `AVCodecContext*'
FFReadHandler.cpp: In member function `int avm::FFReadHandler::readPacket()':
FFReadHandler.cpp:206: error: request for member `codec_type' in
`st->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp:209: error: request for member `bit_rate' in
`st->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadHandler.cpp:211: error: request for member `bit_rate' in
`st->AVStream::codec', which is of non-class type `AVCodecContext*'
make[2]: *** [FFReadHandler.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/avifile-0.7.43.20050224-r1/work/avifile-0.7-0.7.43/lib/aviread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/avifile-0.7.43.20050224-r1/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1

!!! ERROR: media-video/avifile-0.7.43.20050224-r1 failed.
!!! Function src_compile, Line 142, Exitcode 2

# emerge info
Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14
i686)
=================================================================
System uname: 2.6.14 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d aalib acpi alsa apache2 apm arts ati avi bidi
bitmap-fonts bonobo caca cdparanoia cdr crypt cscope cups curl dba dga directfb
divx divx4 divx4linux divx5 divx5linux dvb dvd dvdr dvdread eds emacs emacs-w3
emboss encode esd ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flac flash
foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2
gtkhtml i8x0 icc ifc imagemagick imlib imlib2 innodb ipv6 ithreads java jpeg
junit lcms leim libg++ libwww live lzo mad mcal mesa mikmod mmx mmx2 motif
mozilla mp3 mpeg mule mysql ncurses network nls nptl ogg oggvorbis opengl oss
pam pda pdflib perl plotutils plugin png ppds pthread pthreads python qt qtx
quicktime readline rtc samba scanner sdl slang slp spell sse sse2 ssl svga tcltk
tcpd tetex theora thread threads tiff truetype truetype-fonts type1-fonts udev
unicode usb v4l v4l2 vorbis win32 winvidix wmf xine xml xml2 xmms xosd xv xvid
xvmc zeo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-03 03:14:14 UTC

*** This bug has been marked as a duplicate of 105597 ***