trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: July 2012

k3b + k9copy -ftbfs ( new )

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 17 Jul 2012 00:31:07 -0500
Tim, Darrell, All,

  With this new run on the updated Arch with everything in /usr/lib (the distro
- not TDE), k3b failed to build with the following:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I./../../../libk3b/core
-I./../../../libk3b/plugin -I./../../../libk3bdevice -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -I/usr/include/tqt -DQT_THREAD_SUPPORT
-D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-I/usr/include/tqt -D__STDC_CONSTANT_MACROS -MT k3bffmpegwrapper.lo -MD -MP -MF
.deps/k3bffmpegwrapper.Tpo -c k3bffmpegwrapper.cpp  -fPIC -DPIC -o
.libs/k3bffmpegwrapper.o
k3bffmpegwrapper.cpp: In member function 'bool K3bFFMpegFile::open()':
k3bffmpegwrapper.cpp:82:84: error: 'av_open_input_file' was not declared in this
scope
k3bffmpegwrapper.cpp:89:3: warning: 'int av_find_stream_info(AVFormatContext*)'
is deprecated (declared at /usr/include/libavformat/avformat.h:1357)
[-Wdeprecated-declarations]
k3bffmpegwrapper.cpp:89:41: warning: 'int av_find_stream_info(AVFormatContext*)'
is deprecated (declared at /usr/include/libavformat/avformat.h:1357)
[-Wdeprecated-declarations]
k3bffmpegwrapper.cpp:117:7: warning: 'int avcodec_open(AVCodecContext*,
AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380)
[-Wdeprecated-declarations]
k3bffmpegwrapper.cpp:117:44: warning: 'int avcodec_open(AVCodecContext*,
AVCodec*)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380)
[-Wdeprecated-declarations]
k3bffmpegwrapper.cpp:131:63: error: 'dump_format' was not declared in this scope
k3bffmpegwrapper.cpp: In member function 'void K3bFFMpegFile::close()':
k3bffmpegwrapper.cpp:153:5: warning: 'void
av_close_input_file(AVFormatContext*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
k3bffmpegwrapper.cpp:153:43: warning: 'void
av_close_input_file(AVFormatContext*)' is deprecated (declared at
/usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
k3bffmpegwrapper.cpp: In member function 'int K3bFFMpegFile::fillOutputBuffer()':
k3bffmpegwrapper.cpp:318:11: warning: 'int
avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated
(declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]
k3bffmpegwrapper.cpp:320:14: warning: 'int
avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, AVPacket*)' is deprecated
(declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]

  From that the primary k3b error are:

k3bffmpegwrapper.cpp:82:84: error: 'av_open_input_file' was not declared in this
scope

k3bffmpegwrapper.cpp:131:63: error: 'dump_format' was not declared in this scope

  The errors from k9copy are:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../dvdread -I../k9devices
-I../k9vamps -I../libk9copy -I../src -I/opt/trinity/include -I/opt/tqt3/include
-I. -include tqt.h -I/usr/include/tqt -I. -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -I/usr/include/tqt -DQT_THREAD_SUPPORT
-D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-I/usr/include/tqt -fpermissive -MT k9avidecode.lo -MD -MP -MF
.deps/k9avidecode.Tpo -c k9avidecode.cpp  -fPIC -DPIC -o .libs/k9avidecode.o
In file included from k9avidecode.cpp:12:0:
k9avidecode.h:35:91: error: 'AVFormatParameters' has not been declared
k9avidecode.cpp: In member function 'bool k9AviDecode::open(const TQString&)':
k9avidecode.cpp:126:30: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
k9avidecode.cpp: In member function 'void k9AviDecode::seek(double)':
k9avidecode.cpp:186:9: warning: unused variable 'i' [-Wunused-variable]
k9avidecode.cpp:187:12: warning: unused variable 'pos' [-Wunused-variable]
k9avidecode.cpp: In member function 'void k9AviDecode::readFrame(double)':
k9avidecode.cpp:211:20: error: 'AVFormatContext' has no member named 'cur_st'
k9avidecode.cpp:212:29: error: 'AVFormatContext' has no member named 'cur_st'
k9avidecode.cpp:194:9: warning: unused variable 'res' [-Wunused-variable]

  The primary errors for k9copy are:

k9avidecode.h:35:91: error: 'AVFormatParameters' has not been declared

k9avidecode.cpp:211:20: error: 'AVFormatContext' has no member named 'cur_st'
k9avidecode.cpp:212:29: error: 'AVFormatContext' has no member named 'cur_st'


  These look like gcc 4.7 scope issues. Anybody else seeing them? I'll pick
through them tomorrow and  let you know if I find anything useful. You smart cpp
coders out there current on the gcc issues, let me know if you have an idea. Thanks.




-- 
David C. Rankin, J.D.,P.E.