[mythtv] Windows frontend issues
Janne Grunau
janne-mythtv at grunau.be
Sat Aug 28 21:02:49 UTC 2010
On Sat, Aug 28, 2010 at 01:12:09PM -0700, Jeff Lu wrote:
> > It is probably related to the ffmpeg sync, I've seen it too.
>
> Here's what I have so far:
>
> It seems that Windows is getting confused by near-identical function names in
> libavcodec and libavformat - e.g., av_init_packet() and
> av_init_packet at LIBAVFORMAT_52(), respectively. The @ part apparently is ignored
>
> at runtime, so the stub functions in libavformat end up calling themselves, ad
> infinitum.
>
> Quick/dirty hack that gets things mostly working:
>
> --- configure (revision 25902)
> +++ configure (working copy)
> @@ -3849,7 +3849,7 @@
> check_ldflags -Wl,-Bsymbolic
>
> echo "X{};" > $TMPV
> -if test_ldflags -Wl,--version-script,$TMPV; then
> +disabled windows && if test_ldflags -Wl,--version-script,$TMPV; then
> append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver'
> check_cc <<EOF && enable symver_asm_label
> void ff_foo(void) __asm__ ("av_foo at VERSION");
>
> Maybe a better way to do this?
just disabling symver for mingw32 like I just did
> I'm guessing there might be a linker switch or
> something to get the full function names respected at runtime. Either way, it
> seems safe enough to disable symver because we aren't concerned about binary
> compatibility across different versions of our libs.
no, we don't care.
Janne
More information about the mythtv-dev
mailing list