[mythtv-commits] Ticket #5906: Unable to compile SVN 19076 with Ubuntu 8.10
MythTV
mythtv at cvs.mythtv.org
Thu Nov 13 08:50:35 UTC 2008
#5906: Unable to compile SVN 19076 with Ubuntu 8.10
--------------------------------------+-------------------------------------
Reporter: david.berry at dbcde.gov.au | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.21-fixes
Severity: high | Resolution:
Mlocked: 0 |
--------------------------------------+-------------------------------------
Changes (by nigel):
* version: unknown => 0.21-fixes
Old description:
> Hi
>
> Clean download of SVN. Compiles fine on Ubuntu 8.04.
>
> Fails to compile on Ubuntu 8.10 - details are:
>
> Linux mythmaster01 2.6.27-7-server #1 SMP Tue Nov 4 20:16:57 UTC 2008
> x86_64 GNU/Linux
>
> >gcc --version
> gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2
>
> > sudo dpkg -l | grep qt3
> libqt3-headers 3:3.3.8- b-5ubuntu1
> Qt3 header files
>
> libqt3-mt 3:3.3.8-b-5ubuntu1
> Qt GUI Library (Threaded runtime version), V
>
> libqt3-mt-dev 3:3.3.8-b-5ubuntu1
> Qt development files (Threaded)
>
> libqt3-mt-mysql 3:3.3.8-b-5ubuntu1
> MySQL database driver for Qt3 (Threaded)
>
> libqt4-qt3support 4.4.3-0ubuntu1
> Qt 3 compatibility library for Qt 4
>
> qt3-dev-tools 3:3.3.8-b-5ubuntu1
> Qt3 development tools
>
> This would appear to be the latest version of the libqt3-headers.
>
> configure line is: ( for a backend server only )
> ./configure --prefix=/usr --disable-joystick-menu --disable-lirc
> --disable-ivtv --disable-firewire --disable-dbox2 --disable-hdhomerun
> --disable-audio-oss --disable-audio-alsa --disable-audio-arts --disable-
> audio-jack --disable-iptv --disable-v4l --disable-x11
>
> ccache g++ -c -pipe -g -march=k8 -fomit-frame-pointer -O3 -Wall -Wno-
> switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
> -D__STDC_CONSTANT_MACROS -I/usr/include/freetype2 -D_REENTRANT -DPIC
> -fPIC -DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -DUSING_H264TOOLS -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_DVB
> -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
> -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include
> -I/usr/include -I../.. -I.. -I. -I../libmyth -I../libavcodec
> -I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
> -I../libmythlivemedia/BasicUsageEnvironment/include
> -I../libmythlivemedia/groupsock/include
> -I../libmythlivemedia/liveMedia/include
> -I../libmythlivemedia/UsageEnvironment/include -I/usr/include/qt3 -o
> progfind.o progfind.cpp
> In file included from ../libmythui/mythuitype.h:6,
> from ../libmythui/mythmainwindow.h:13,
> from ../libmyth/mythdialogs.h:52,
> from vsync.cpp:36:
> /usr/include/qt3/qimage.h: In member function ‘bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
> /usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
> within ||
> vsync.cpp: In static member function ‘static VideoSync*
> VideoSync::BestMethod(VideoOutput*, uint, uint, bool)’:
> vsync.cpp:79: error: ‘getenv’ was not declared in this scope
> vsync.cpp: At global scope:
> vsync.cpp:266: warning: deprecated conversion from string constant to
> ‘char*’
> vsync.cpp:358: warning: deprecated conversion from string constant to
> ‘char*’
> vsync.cpp: In member function ‘virtual void
> RTCVideoSync::WaitForFrame(int)’:
> vsync.cpp:760: warning: ignoring return value of ‘ssize_t read(int,
> void*, size_t)’, declared with attribute warn_unused_result
> vsync.cpp: In member function ‘virtual void
> BusyWaitVideoSync::WaitForFrame(int)’:
> vsync.cpp:812: error: call of overloaded ‘abs(int)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> make[2]: *** [vsync.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> In file included from ../libmyth/mythwidgets.h:21,
> from ../libmyth/mythconfigdialogs.h:14,
> from ../libmyth/settings.h:5,
> from recordingprofile.h:5,
> from NuppelVideoPlayer.h:15,
> from videooutbase.cpp:7:
> /usr/include/qt3/qimage.h: In member function ‘bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
> /usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
> within ||
> videooutbase.cpp: In member function ‘virtual QRect
> VideoOutput::GetVisibleOSDBounds(float&, float&, float) const’:
> videooutbase.cpp:752: error: call of overloaded ‘abs(int)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> videooutbase.cpp:752: error: call of overloaded ‘abs(int)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> videooutbase.cpp: In member function ‘void
> VideoOutput::ApplyDBScaleAndMove()’:
> videooutbase.cpp:838: error: call of overloaded ‘abs(int&)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> videooutbase.cpp:870: error: call of overloaded ‘abs(int&)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> videooutbase.cpp:892: error: call of overloaded ‘abs(int&)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> videooutbase.cpp:917: error: call of overloaded ‘abs(int&)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> videooutbase.cpp: In member function ‘void
> VideoOutput::ApplySnapToVideoRect()’:
> videooutbase.cpp:1032: error: call of overloaded ‘abs(int)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> videooutbase.cpp:1048: error: call of overloaded ‘abs(int)’ is ambiguous
> /usr/include/c++/4.3/cmath:99: note: candidates are: double
> std::abs(double)
> /usr/include/c++/4.3/cmath:103: note: float
> std::abs(float)
> /usr/include/c++/4.3/cmath:107: note: long double
> std::abs(long double)
> make[2]: *** [videooutbase.o] Error 1
> In file included from ../libmyth/mythwidgets.h:21,
> from ../libmyth/uitypes.h:19,
> from progfind.h:18,
> from progfind.cpp:24:
> /usr/include/qt3/qimage.h: In member function ‘bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
> /usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
> within ||
> In file included from guidegrid.cpp:10:
> /usr/include/qt3/qimage.h: In member function ‘bool
> QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
> /usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
> within ||
> make[2]: Leaving directory
> `/mnt/storage01/srcCode/mythtv_SVN_2/release-0-21-fixes/mythtv/libs/libmythtv'
> make[1]: *** [sub-libmythtv] Error 2
> make[1]: Leaving directory
> `/mnt/storage01/srcCode/mythtv_SVN_2/release-0-21-fixes/mythtv/libs'
> make: *** [sub-libs] Error 2
New description:
Hi
Clean download of SVN. Compiles fine on Ubuntu 8.04.
Fails to compile on Ubuntu 8.10 - details are:
{{{
Linux mythmaster01 2.6.27-7-server #1 SMP Tue Nov 4 20:16:57 UTC 2008
x86_64 GNU/Linux
>gcc --version
gcc (Ubuntu 4.3.2-1ubuntu11) 4.3.2
> sudo dpkg -l | grep qt3
libqt3-headers 3:3.3.8- b-5ubuntu1
Qt3 header files
libqt3-mt 3:3.3.8-b-5ubuntu1
Qt GUI Library (Threaded runtime version), V
libqt3-mt-dev 3:3.3.8-b-5ubuntu1
Qt development files (Threaded)
libqt3-mt-mysql 3:3.3.8-b-5ubuntu1
MySQL database driver for Qt3 (Threaded)
libqt4-qt3support 4.4.3-0ubuntu1
Qt 3 compatibility library for Qt 4
qt3-dev-tools 3:3.3.8-b-5ubuntu1
Qt3 development tools
This would appear to be the latest version of the libqt3-headers.
configure line is: ( for a backend server only )
./configure --prefix=/usr --disable-joystick-menu --disable-lirc
--disable-ivtv --disable-firewire --disable-dbox2 --disable-hdhomerun
--disable-audio-oss --disable-audio-alsa --disable-audio-arts --disable-
audio-jack --disable-iptv --disable-v4l --disable-x11
ccache g++ -c -pipe -g -march=k8 -fomit-frame-pointer -O3 -Wall -Wno-
switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
-D__STDC_CONSTANT_MACROS -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC
-DMMX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-DUSING_H264TOOLS -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_DVB
-DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include
-I/usr/include -I../.. -I.. -I. -I../libmyth -I../libavcodec
-I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg -Iiptv
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include -I/usr/include/qt3 -o
progfind.o progfind.cpp
In file included from ../libmythui/mythuitype.h:6,
from ../libmythui/mythmainwindow.h:13,
from ../libmyth/mythdialogs.h:52,
from vsync.cpp:36:
/usr/include/qt3/qimage.h: In member function ‘bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
within ||
vsync.cpp: In static member function ‘static VideoSync*
VideoSync::BestMethod(VideoOutput*, uint, uint, bool)’:
vsync.cpp:79: error: ‘getenv’ was not declared in this scope
vsync.cpp: At global scope:
vsync.cpp:266: warning: deprecated conversion from string constant to
‘char*’
vsync.cpp:358: warning: deprecated conversion from string constant to
‘char*’
vsync.cpp: In member function ‘virtual void
RTCVideoSync::WaitForFrame(int)’:
vsync.cpp:760: warning: ignoring return value of ‘ssize_t read(int, void*,
size_t)’, declared with attribute warn_unused_result
vsync.cpp: In member function ‘virtual void
BusyWaitVideoSync::WaitForFrame(int)’:
vsync.cpp:812: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
make[2]: *** [vsync.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../libmyth/mythwidgets.h:21,
from ../libmyth/mythconfigdialogs.h:14,
from ../libmyth/settings.h:5,
from recordingprofile.h:5,
from NuppelVideoPlayer.h:15,
from videooutbase.cpp:7:
/usr/include/qt3/qimage.h: In member function ‘bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
within ||
videooutbase.cpp: In member function ‘virtual QRect
VideoOutput::GetVisibleOSDBounds(float&, float&, float) const’:
videooutbase.cpp:752: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
videooutbase.cpp:752: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
videooutbase.cpp: In member function ‘void
VideoOutput::ApplyDBScaleAndMove()’:
videooutbase.cpp:838: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
videooutbase.cpp:870: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
videooutbase.cpp:892: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
videooutbase.cpp:917: error: call of overloaded ‘abs(int&)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
videooutbase.cpp: In member function ‘void
VideoOutput::ApplySnapToVideoRect()’:
videooutbase.cpp:1032: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
videooutbase.cpp:1048: error: call of overloaded ‘abs(int)’ is ambiguous
/usr/include/c++/4.3/cmath:99: note: candidates are: double
std::abs(double)
/usr/include/c++/4.3/cmath:103: note: float
std::abs(float)
/usr/include/c++/4.3/cmath:107: note: long double
std::abs(long double)
make[2]: *** [videooutbase.o] Error 1
In file included from ../libmyth/mythwidgets.h:21,
from ../libmyth/uitypes.h:19,
from progfind.h:18,
from progfind.cpp:24:
/usr/include/qt3/qimage.h: In member function ‘bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
within ||
In file included from guidegrid.cpp:10:
/usr/include/qt3/qimage.h: In member function ‘bool
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’:
/usr/include/qt3/qimage.h:61: warning: suggest parentheses around &&
within ||
make[2]: Leaving directory
`/mnt/storage01/srcCode/mythtv_SVN_2/release-0-21-fixes/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory
`/mnt/storage01/srcCode/mythtv_SVN_2/release-0-21-fixes/mythtv/libs'
make: *** [sub-libs] Error 2
}}}
--
Comment:
David, can you clarify the version of the source code? (''e.g.'' svn info
mnt/storage01/srcCode/mythtv_SVN_2/release-0-21-fixes/mythtv)
[[BR]]
I only ask, because 19706 is an SVN trunk revision number, which would be
Qt4 only.
[[BR]]
I don't have a Ubuntu 8 build machine handy, so would remote access to
your compile machine, or the output of a few 'g++ -E' commands, be
possible?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5906#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list