[mythtv] [RFC v2] New Win32 build script
Lawrence Rust
lvr at softsystem.co.uk
Sat Jan 29 18:54:42 UTC 2011
On Sat, 2011-01-29 at 09:28 -0500, Doug Lytle wrote:
> Lawrence Rust wrote:
> > Good idea, have done. Last updated 28-Jan-2011. I will endeavour to
> > update the web pagewww.softsystem.co.uk/mythtv with info on the new
> > script, its use and the patches this weekend.
> >
>
> It's been a while since I've tried this, so I figured I'd give it a shot
> today. My specs:
>
> Mandriva 2010.2 (32 bit)
> AMD 64 X2
> 8GB memory
>
> A snippet of the errors that I get at the beginning:
Thanks for the feedback. I haven't tried a Mandriva build yet so this
is very helpful.
>
> codecs/qiconvcodec.cpp:93: error: 'QIconvCodec' has not been declared
> codecs/qiconvcodec.cpp:93: error: ISO C++ forbids declaration of
> 'QIconvCodec' with no type
> codecs/qiconvcodec.cpp: In function 'int QIconvCodec()':
> codecs/qiconvcodec.cpp:94: error: only constructors take base initializers
> codecs/qiconvcodec.cpp:96: error: 'utf16Codec' was not declared in this
> scope
> codecs/qiconvcodec.cpp:131: warning: no return statement in function
> returning non-void
> codecs/qiconvcodec.cpp: At global scope:
>
>
> At the failure point:
>
> make[2]: *** [.obj/release-shared/qiconvcodec.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> `/home/doug/temp/mythbuild/qt-everywhere-opensource-src-4.7.0/src/corelib'
> make[1]: *** [release] Error 2
> make[1]: Leaving directory
> `/home/doug/temp/mythbuild/qt-everywhere-opensource-src-4.7.0/src/corelib'
> make: *** [sub-corelib-make_default-ordered] Error 2
Looks like Qt detected iconv from somewhere. It's not needed and not
included in the build. I presume your distro includes an incompatible
version with mingw. To turn it off try:
QT_CFG="-no-iconv" ./mythbuild.sh <your-options>
If this fixes the problem I'll add it to the script.
> If you'd like the complete error output (Couple screen worth), let me know
Just for completeness, so that I can add a check what does:
uname -a
locate "*mingw32*-gcc"
dpkg -l "*mingw*" # Or whatever you use to list packages by name
show? Thanks.
-- Lawrence
More information about the mythtv-dev
mailing list