| View previous topic :: View next topic |
| Author |
Message |
spankmeister7 Tux's lil' helper

Joined: 10 Apr 2005 Posts: 76
|
Posted: Sat Oct 01, 2005 4:16 pm Post subject: even MORE avifile compilation problems... |
|
|
I'm having a similar problems to that which other users have expressed problems with. When I try to emerge -uD world or update KDE I get a failure notice with avifile. I've read through the forums and tried different tricks:
* tried commenting my CFLAGS entry in /etc/make.conf
* tried downgrading ffmpeg to a previous version
* tried using different optimizations in make.conf
* pulling my hair out
I have a dual-Athlon 2900 system and my make.conf file looks like this:
CFLAGS="-O3 -march=athlon-mp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="a52 aac aalib alsa arts audiofile avi bmp bzip2 cdb cdparanoia cdr cpdfl
ib crypto cups dba dga directfb divx4linux dv dvb dvd dvdr dvdread esd ethere
al exif fbcon ffmpeg fftw flac foomaticdb freetype freetype2 ftp gd gd-extern
al gif gmp gphoto2 gnustep gnutils gpm gstreamer gtk gtk2 gtkhtml hal ieee139
4 imagemagick imlib java javascript jpeg kde kdeenablefinal ldap lesstif lm_s
ensors mad matrox mmx mng motif mozilla mp3 mpeg ncurses ogg oggvorbis openal
opengl oss perl php png python qt quicktime sasl scanner sdl sockets sse ssl
svg svga theora threads tiff truetype usb v4l vcd videos vorbis win32codecs
wxwindows xft xine xinerama xml xml2 xmms xpm xml-rpc xv xvid zlib"
FEATURES="ccache"
CONFIG_PROTECT="-*"
ACCEPT_KEYWORDS="~x86"
The error message I get is as follows (sorry about the length):
/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O3 -march=athlon-mp -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -c FFReadStream.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O3 -march=athlon-mp -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp -fPIC -DPIC -o .libs/Cache.o
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O3 -march=athlon-mp -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/Cache.pp -c Cache.cpp -o Cache.o >/dev/null 2>&1
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I./../common -Wall -Wno-unused -I../../include -O3 -march=athlon-mp -fomit-frame-pointer -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFPM_INTEL -D_GNU_SOURCE -pipe -Wp,-MD,.deps/FFReadStream.pp -c FFReadStream.cpp -fPIC -DPIC -o .libs/FFReadStream.o
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(unsigned int, avm::IStream::StreamType)':
FFReadHandler.cpp:109: error: request for member `codec_type' in `
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 `
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]: *** Waiting for unfinished jobs....
make[2]: *** Waiting for unfinished jobs....
FFReadStream.cpp: In constructor `
avm::FFReadStream::FFReadStream(avm::FFReadHandler*, unsigned int,
AVStream*)':
FFReadStream.cpp:54: error: request for member `codec_id' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:60: error: request for member `codec_id' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp: In member function `virtual avm::StreamInfo*
avm::FFReadStream::GetStreamInfo() const':
FFReadStream.cpp:149: error: request for member `codec_type' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:152: error: request for member `channels' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:153: error: request for member `sample_rate' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:154: error: request for member `frame_bits' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:156: error: request for member `codec_tag' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:158: error: request for member `codec_tag' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:158: error: request for member `codec_tag' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:161: error: request for member `width' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:161: error: request for member `height' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:162: error: request for member `sample_aspect_ratio' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:163: error: request for member `sample_aspect_ratio' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:165: error: request for member `codec_tag' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:171: error: request for member `codec_id' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp: In member function `virtual avm::IStream::StreamType
avm::FFReadStream::GetType() const':
FFReadStream.cpp:192: error: request for member `codec_type' in `
this->avm::FFReadStream::m_pHandler->avm::FFReadHandler::m_pContext->AVFormatContext::streams[this->avm::FFReadStream::m_uiSId]->AVStream::codec
', which is of non-class type `AVCodecContext*'
FFReadStream.cpp: In member function `virtual uint_t
avm::FFReadStream::GetFormat(void*, unsigned int) const':
FFReadStream.cpp:203: error: request for member `codec_type' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:209: error: request for member `codec_tag' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:211: error: request for member `codec_id' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:214: error: request for member `channels' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:215: error: request for member `sample_rate' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:216: error: request for member `bit_rate' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:217: error: request for member `block_align' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:218: error: request for member `bits_per_sample' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:219: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:220: error: request for member `extradata' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:222: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:223: error: request for member `extradata' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:223: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:230: error: request for member `extradata' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:230: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:238: error: request for member `width' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:239: error: request for member `height' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:241: error: request for member `codec_tag' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:242: error: request for member `bits_per_sample' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:246: error: request for member `codec_id' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:247: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:248: error: request for member `extradata' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:250: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:251: error: request for member `extradata' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:251: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:258: error: request for member `extradata' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp:258: error: request for member `extradata_size' in `
avs->AVStream::codec', which is of non-class type `AVCodecContext*'
FFReadStream.cpp: In member function `virtual int
avm::FFReadStream::SeekTime(double)':
FFReadStream.cpp:313: error: request for member `codec_type' in `
this->avm::FFReadStream::m_pAvStream->AVStream::codec', which is of
non-class type `AVCodecContext*'
make[2]: *** [FFReadStream.lo] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.43.20050224-r2/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1
!!! ERROR: media-video/avifile-0.7.43.20050224-r2 failed.
!!! Function src_compile, Line 145, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
|
| Back to top |
|
 |
eclipse99 n00b


Joined: 03 Oct 2004 Posts: 22
|
Posted: Sat Oct 01, 2005 7:03 pm Post subject: |
|
|
There's a bug report here.
The problem is only against ffmpeg-0.4.9_p20050226-r5.
The work around is:
| Code: | emerge =media-video/ffmpeg-0.4.9_p20050226-r5 =media-video/avifile-0.7.43.20050224-r2
emerge =media-video/ffmpeg-0.4.9_p20050906 |
That's worked for me. |
|
| Back to top |
|
 |
spankmeister7 Tux's lil' helper

Joined: 10 Apr 2005 Posts: 76
|
Posted: Sat Oct 01, 2005 7:39 pm Post subject: sweet |
|
|
I could have swore I tried that before.. but whatever the case, it worked this time.
Thanks for the clarification! |
|
| Back to top |
|
 |
druggo Apprentice


Joined: 24 Sep 2003 Posts: 217 Location: Hangzhou, China
|
Posted: Fri Oct 14, 2005 5:11 pm Post subject: |
|
|
encount the same problem with AMD64...
well, I don't wanna downgrade ffmpeg, so looking for a new release of avifile or other great patch. |
|
| Back to top |
|
 |
chatmoa n00b


Joined: 04 Nov 2005 Posts: 10 Location: La bergerie, Savoie, France
|
Posted: Tue Nov 08, 2005 10:23 pm Post subject: |
|
|
| eclipse99 wrote: | There's a bug report here.
The problem is only against ffmpeg-0.4.9_p20050226-r5.
The work around is:
| Code: | emerge =media-video/ffmpeg-0.4.9_p20050226-r5 =media-video/avifile-0.7.43.20050224-r2
emerge =media-video/ffmpeg-0.4.9_p20050906 |
That's worked for me. |
That's worked for me too, so great !!!
Thanks a lot |
|
| Back to top |
|
 |
Felixlein n00b

Joined: 26 Oct 2005 Posts: 28
|
Posted: Sun Nov 13, 2005 6:44 am Post subject: |
|
|
Worked for me too!!
Have this problem only on my athlonXP Box;on my athlon64 everything compiles fine... |
|
| Back to top |
|
 |
n-tiq n00b

Joined: 25 Nov 2005 Posts: 7 Location: Canada
|
Posted: Sun Nov 27, 2005 5:23 am Post subject: |
|
|
Had a same problem on my centrino laptop , thanks for solution  |
|
| Back to top |
|
 |
richmastaplus Tux's lil' helper

Joined: 29 Nov 2005 Posts: 127 Location: Canada
|
Posted: Fri Dec 09, 2005 12:30 am Post subject: |
|
|
I've got the same problem but your solution doesn't work for me
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(unsigned int, avm::IStream::StreamType)':
FFReadHandler.cpp:109: error: request for member `codec_type' in `
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 `
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-r2/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-r2/work/avifile-0.7-0.7.43/lib'
make: *** [all-recursive] Error 1 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|