Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


ijr at case

Jun 29, 2008, 5:52 PM

Post #1 of 8 (598 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr

On Sunday 29 June 2008 8:25:19 pm mythtv[at]cvs.mythtv.org wrote:
> Author: ijr
> Date: 2008-06-30 00:25:18 +0000 (Mon, 30 Jun 2008)
> New Revision: 17650
> Changeset: http://cvs.mythtv.org/trac/changeset/17650
>
> Added:
<snip>
>
> Log:
>
> Get rid of the circular dependencies between libraries.

This hopefully shouldn't have broken anything on linux. It all appears to be
happy and working on my end, but you never know. Lemme know if anything's
funky after updating.

This has quite possibly broken OSX + Win32 compiles, but I wouldn't expect it
to take much effort to fix things.

I would recommend a make distclean. Also, please note that the mediamonitor
is partially disabled - I'll get this fixed shortly.

Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


nigel at ind

Jun 29, 2008, 7:37 PM

Post #2 of 8 (572 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr [In reply to]

> Get rid of the circular dependencies between libraries.

Wow. Thanks for all that work.
I had sort of dropped the ball on #4264



> This hopefully shouldn't have broken anything on linux. It all
> appears to be
> happy and working on my end, but you never know. Lemme know if
> anything's
> funky after updating.

I haven't got a free Linux machine yet,
but OS X indicates a few build errors:

gcc -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -I/Volumes/
MythBuild/.osx-packager/build/include -no-cpp-precomp -pipe -
force_cpusubtype_ALL -Wno-sign-compare -Wall -Wno-switch -Wdisabled-
optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -w -
DPIC -fPIC -DMMX -Di386 -DUSING_APPLEREMOTE -D_GNU_SOURCE -
D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/
Volumes/MythBuild/.osx-packager/build/mkspecs/macx-g++ -I. -I/Volumes/
MythBuild/.osx-packager/build/include -I/Volumes/MythBuild/.osx-
packager/build/include -I.. -I../.. -I../libavcodec -I../libavutil -
I../libmythtv -I. -o mpegts.o mpegts.c
mpegts.c:24:28: error: libmyth/compat.h: No such file or directory


...


cd libmythdvdnav/ && /usr/bin/make -f Makefile
gcc -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -I/Volumes/
MythBuild/.osx-packager/build/include -no-cpp-precomp -pipe -
force_cpusubtype_ALL -Wno-sign-compare -Wall -Wno-switch -Wdisabled-
optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -
fPIC -DPIC -fno-common -w -fPIC -DMMX -Di386 -DUSING_APPLEREMOTE -
D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -
D_LARGEFILE_SOURCE -DDVDNAV_COMPILE -I/Volumes/MythBuild/.osx-
packager/build/mkspecs/macx-g++ -I. -I/Volumes/MythBuild/.osx-
packager/build/include -I/Volumes/MythBuild/.osx-packager/build/
include -I.. -I../.. -I../libmyth -I. -o vm.o vm.c
In file included from vm.c:42:
dvdnav_internal.h:35:20: error: compat.h: No such file or directory
make[3]: *** [vm.o] Error 1
make[2]: *** [sub-libmythdvdnav-make_default-ordered] Error 2

I will fix those when I can confirm it isn't something strange.

--
Nigel Pearson, nigel[at]ind.tansu.com.au|"Look at this!
Telstra Net. Eng., Sydney, Australia | Do you think I put this in
Office: 9202 3900 Fax: 9261 3912 | to get better reception?"
Mobile: 0408 664435 Home: 9792 6998 | Batty - Fern Gully

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


davidbuzz at gmail

Jun 29, 2008, 7:50 PM

Post #3 of 8 (574 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr [In reply to]

Ditto from me to Isaac.

Here's a quick output from Win32 to confirm the same problem as OSX:

cd libavformat/ && make -f Makefile
make[2]: Entering directory `/C/mythtv/mythtv/libs/libavformat'
gcc -c -march=k8 -g -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -w -
DQT_LARGEFILE_SUPPORT -DUSING_MINGW -DUSING_WINAUDIO -DUSING_D3D
-DUSING_DIRECTX -DMMX -Di386 -DUSIN
G_DIRECTX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H
-D_LARGEFILE_SOURCE -I'/C/mythtv/b
uild//include' -I'..' -I'../..' -I'../libavcodec' -I'../libavutil'
-I'../libmythtv' -I'.' -I'../../.
./../MSys/1.0/qt-win-opensource-src-4.3.4/mkspecs/win32-g++' -o
mpegts.o mpegts.c
mpegts.c:24:28: libmyth/compat.h: No such file or directory
mpegts.c:83: error: syntax error before "uint"
mpegts.c:742: error: syntax error before "uint"
mpegts.c: In function `is_pat_same':
mpegts.c:745: error: `mpegts_ctx' undeclared (first use in this function)
mpegts.c:745: error: (Each undeclared identifier is reported only once
mpegts.c:745: error: for each function it appears in.)
mpegts.c:745: error: `pmt_count' undeclared (first use in this function)
mpegts.c:750: error: `pmt_pnums' undeclared (first use in this function)
mpegts.c:751: error: `pmt_pids' undeclared (first use in this function)
mpegts.c: In function `pat_cb':
mpegts.c:1106: error: `uint' undeclared (first use in this function)
mpegts.c:1106: error: syntax error before "pmt_count"
mpegts.c:1138: error: `pmt_count' undeclared (first use in this function)
make[2]: *** [mpegts.o] Error 1
make[2]: Leaving directory `/C/mythtv/mythtv/libs/libavformat'
make[1]: *** [sub-libavformat-make_default-ordered] Error 2
make[1]: Leaving directory `/C/mythtv/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2


On Mon, Jun 30, 2008 at 12:37 PM, Nigel Pearson <nigel[at]ind.tansu.com.au> wrote:
>> Get rid of the circular dependencies between libraries.
>
> Wow. Thanks for all that work.
> I had sort of dropped the ball on #4264
>
>
>
>> This hopefully shouldn't have broken anything on linux. It all
>> appears to be
>> happy and working on my end, but you never know. Lemme know if
>> anything's
>> funky after updating.
>
> I haven't got a free Linux machine yet,
> but OS X indicates a few build errors:
>
> gcc -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -I/Volumes/
> MythBuild/.osx-packager/build/include -no-cpp-precomp -pipe -
> force_cpusubtype_ALL -Wno-sign-compare -Wall -Wno-switch -Wdisabled-
> optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -w -
> DPIC -fPIC -DMMX -Di386 -DUSING_APPLEREMOTE -D_GNU_SOURCE -
> D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/
> Volumes/MythBuild/.osx-packager/build/mkspecs/macx-g++ -I. -I/Volumes/
> MythBuild/.osx-packager/build/include -I/Volumes/MythBuild/.osx-
> packager/build/include -I.. -I../.. -I../libavcodec -I../libavutil -
> I../libmythtv -I. -o mpegts.o mpegts.c
> mpegts.c:24:28: error: libmyth/compat.h: No such file or directory
>
>
> ...
>
>
> cd libmythdvdnav/ && /usr/bin/make -f Makefile
> gcc -c -pipe -march=pentium4 -fomit-frame-pointer -O3 -I/Volumes/
> MythBuild/.osx-packager/build/include -no-cpp-precomp -pipe -
> force_cpusubtype_ALL -Wno-sign-compare -Wall -Wno-switch -Wdisabled-
> optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -
> fPIC -DPIC -fno-common -w -fPIC -DMMX -Di386 -DUSING_APPLEREMOTE -
> D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -
> D_LARGEFILE_SOURCE -DDVDNAV_COMPILE -I/Volumes/MythBuild/.osx-
> packager/build/mkspecs/macx-g++ -I. -I/Volumes/MythBuild/.osx-
> packager/build/include -I/Volumes/MythBuild/.osx-packager/build/
> include -I.. -I../.. -I../libmyth -I. -o vm.o vm.c
> In file included from vm.c:42:
> dvdnav_internal.h:35:20: error: compat.h: No such file or directory
> make[3]: *** [vm.o] Error 1
> make[2]: *** [sub-libmythdvdnav-make_default-ordered] Error 2
>
> I will fix those when I can confirm it isn't something strange.
>
> --
> Nigel Pearson, nigel[at]ind.tansu.com.au|"Look at this!
> Telstra Net. Eng., Sydney, Australia | Do you think I put this in
> Office: 9202 3900 Fax: 9261 3912 | to get better reception?"
> Mobile: 0408 664435 Home: 9792 6998 | Batty - Fern Gully
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


ijr at case

Jun 29, 2008, 7:58 PM

Post #4 of 8 (572 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr [In reply to]

On Sunday 29 June 2008 10:37:40 pm Nigel Pearson wrote:
> > Get rid of the circular dependencies between libraries.
>
> Wow. Thanks for all that work.
> I had sort of dropped the ball on #4264
>
> > This hopefully shouldn't have broken anything on linux. It all
> > appears to be
> > happy and working on my end, but you never know. Lemme know if
> > anything's
> > funky after updating.
>
> I haven't got a free Linux machine yet,
> but OS X indicates a few build errors:

Should be fixed as of r17653 - was broken on linux, too. Broken dependency
tracking, never got recompiled here.

Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


davidbuzz at gmail

Jun 29, 2008, 10:08 PM

Post #5 of 8 (564 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr [In reply to]

Win32 now says 'sleep' and 'usleep' are a problem:

cd libmythdb/ && make -f Makefile
make[2]: Entering directory `/C/mythtv/mythtv/libs/libmythdb'
g++ -c -march=k8 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non
DC_CONSTANT_MACROS -frtti -fexceptions -mthreads -DQT_LARGEFILE_SUPPORT -DUSING_
IO -DUSING_D3D -DUSING_DIRECTX -DMMX -Di386 -DUSING_DIRECTX -D_GNU_SOURCE -D_FIL
UNPREFIX=\"..\" -DQT_THREAD_SUPPORT -DQT_DLL -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -
_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I'../../../../msys/1.0/qt-win-opensource-sr
re' -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/include/QtCore' -I'../..
in-opensource-src-4.3.4/include/QtNetwork' -I'../../../../msys/1.0/qt-win-openso
de/QtNetwork' -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/include/QtGui'
/1.0/qt-win-opensource-src-4.3.4/include/QtGui' -I'../../../../msys/1.0/qt-win-o
include/QtSql' -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/include/QtSql
s/1.0/qt-win-opensource-src-4.3.4/include/Qt3Support' -I'../../../../msys/1.0/qt
4.3.4/include/Qt3Support' -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/in
build//include' -I'c:/msys/1.0/qt-win-opensource-src-4.3.4/include/ActiveQt' -I'
/../MSys/1.0/qt-win-opensource-src-4.3.4/mkspecs/win32-g++' -o mythdbcon.o mythd
mythdbcon.cpp: In member function `bool MSqlDatabase::OpenDatabase()':
mythdbcon.cpp:97: error: `sleep' was not declared in this scope
mythdbcon.cpp:97: warning: unused variable 'sleep'
mythdbcon.cpp: In member function `bool MSqlDatabase::KickDatabase()':
mythdbcon.cpp:150: error: `usleep' was not declared in this scope
mythdbcon.cpp:150: warning: unused variable 'usleep'
make[2]: *** [mythdbcon.o] Error 1
make[2]: Leaving directory `/C/mythtv/mythtv/libs/libmythdb'
make[1]: *** [sub-libmythdb-make_default-ordered] Error 2
make[1]: Leaving directory `/C/mythtv/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2
_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


andrei at tanas

Jun 30, 2008, 7:55 AM

Post #6 of 8 (538 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr [In reply to]

> This has quite possibly broken OSX + Win32 compiles, but I wouldn't
> expect it
> to take much effort to fix things.

Please see ticket 5490 for Win32 patch.

http://svn.mythtv.org/trac/ticket/5490

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mark.buechler at gmail

Jun 30, 2008, 9:59 AM

Post #7 of 8 (532 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr [In reply to]

Hi

On Mon, Jun 30, 2008 at 1:08 AM, buzz <davidbuzz[at]gmail.com> wrote:

> Win32 now says 'sleep' and 'usleep' are a problem:
>
> cd libmythdb/ && make -f Makefile
> make[2]: Entering directory `/C/mythtv/mythtv/libs/libmythdb'
> g++ -c -march=k8 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
> -Wno-non
> DC_CONSTANT_MACROS -frtti -fexceptions -mthreads -DQT_LARGEFILE_SUPPORT
> -DUSING_
> IO -DUSING_D3D -DUSING_DIRECTX -DMMX -Di386 -DUSING_DIRECTX -D_GNU_SOURCE
> -D_FIL
> UNPREFIX=\"..\" -DQT_THREAD_SUPPORT -DQT_DLL -DQT_QT3SUPPORT_LIB
> -DQT3_SUPPORT -
> _LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -I'../../../../msys/1.0/qt-win-opensource-sr
> re' -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/include/QtCore'
> -I'../..
> in-opensource-src-4.3.4/include/QtNetwork'
> -I'../../../../msys/1.0/qt-win-openso
> de/QtNetwork'
> -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/include/QtGui'
> /1.0/qt-win-opensource-src-4.3.4/include/QtGui'
> -I'../../../../msys/1.0/qt-win-o
> include/QtSql'
> -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/include/QtSql
> s/1.0/qt-win-opensource-src-4.3.4/include/Qt3Support'
> -I'../../../../msys/1.0/qt
> 4.3.4/include/Qt3Support'
> -I'../../../../msys/1.0/qt-win-opensource-src-4.3.4/in
> build//include'
> -I'c:/msys/1.0/qt-win-opensource-src-4.3.4/include/ActiveQt' -I'
> /../MSys/1.0/qt-win-opensource-src-4.3.4/mkspecs/win32-g++' -o mythdbcon.o
> mythd
> mythdbcon.cpp: In member function `bool MSqlDatabase::OpenDatabase()':
> mythdbcon.cpp:97: error: `sleep' was not declared in this scope
> mythdbcon.cpp:97: warning: unused variable 'sleep'
> mythdbcon.cpp: In member function `bool MSqlDatabase::KickDatabase()':
> mythdbcon.cpp:150: error: `usleep' was not declared in this scope
> mythdbcon.cpp:150: warning: unused variable 'usleep'
> make[2]: *** [mythdbcon.o] Error 1
> make[2]: Leaving directory `/C/mythtv/mythtv/libs/libmythdb'
> make[1]: *** [sub-libmythdb-make_default-ordered] Error 2
> make[1]: Leaving directory `/C/mythtv/mythtv/libs'
> make: *** [sub-libs-make_default-ordered] Error 2
>

There are quite a few usleeps in Myth's code but I only ran into the problem
in libs/libmythtv/remoteutil.cpp for some reason. This leads me to believe
it's been fixed but not in remoteutil.cpp. Anyway, I simply added:

#ifdef USING_MINGW
#define usleep(usec) (Sleep ((usec) / 1000), 0)
#endif

- Mark.


andrei at tanas

Jun 30, 2008, 1:22 PM

Post #8 of 8 (521 views)
Permalink
Re: [mythtv-commits] mythtv commit: r17650 - in trunk by ijr [In reply to]

> There are quite a few usleeps in Myth's code but I only ran into the
> problem in libs/libmythtv/remoteutil.cpp for some reason. This leads me
> to believe it's been fixed but not in remoteutil.cpp. Anyway, I simply
> added:
>
> #ifdef USING_MINGW
> #define usleep(usec) (Sleep ((usec) / 1000), 0) #endif
>

Please see ticket 5490 for Win32 patch (this was not the only issue).

http://svn.mythtv.org/trac/ticket/5490

_______________________________________________
mythtv-dev mailing list
mythtv-dev[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.