[mythtv] build failure on win32 - caused by incorrect LIBS declaration in Makefile.Debug?

buzz davidbuzz at gmail.com
Sun Apr 13 12:42:32 UTC 2008


Just following up on this one, it's still a problem....

and the problem also occurs with these files being one level too far up
(copy each one level further to the root, and make will continue )

C:\mythtv\mythtv\libs\libmythsamplerate\debug\libmythsamplerate-0.22.
C:\mythtv\mythtv\libs\libmythsoundtouch\debug\libmythsoundtouch-0.22.a
C:\mythtv\mythtv\libs\libmythfreesurround\debug\libmythfreesurround-0.22.a

ideas anyone?

Buzz.

On Sat, Apr 12, 2008 at 1:42 PM, buzz <davidbuzz at gmail.com> wrote:

> hi guys, any ideas on this one?
> When building the libs, I get two similar fatal build errors, which are
> resolved by copying the .dll down one folder, outside the debug folder, and
> running the make again.
>
> Ie doing this allows the build to continue past this point:
>
> make
> copy
> C:\mythtv\mythtv\libs\libavutil\debug\mythavutil-0.22.dll C:\mythtv\mythtv\libs\libavutil\
> make
> copy C:\mythtv\mythtv\libs\libavcodec\debug\mythavcodec-0.22.dll
> C:\mythtv\mythtv\libs\libavcodec
> make
>
>
> here's one of the outputs (the other is very similar):
>
> g++ -enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-reloc -shared -mthreads -Wl
> -Wl,--out-implib,debug/libmythavformat-0.22.a -o debug/
> mythavformat-0.22.dll object_script.mythavformat-0.22.Debug  -lws2_32 -lz
> -lpthread -lm -lpthread -L../libavcodec -lmythavcodec-0.22 -L../libavutil
> -lmythavutil
> -0.22 -lz
> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> cannot find -lmythavcodec-0.22
> collect2: ld returned 1 exit status
> make[3]: *** [debug/mythavformat-0.22.dll] Error 1
> make[3]: Leaving directory `/C/mythtv/mythtv/libs/libavformat'
> make[2]: *** [debug] Error 2
> 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
>
> I got as far as determining that the Makefile.Debug in two places needs
> the LIBS line changed :
> eg:
> "LIBS        =        -L../debug/libavutil...etc... "
>   instead of
> "LIBS        =        -L../libavutil  ...etc..."
>
> but I don't know the magic qmake incantation/s to make this survive a
> 'make distclean' ?
>
> Anyone?
>
> Buzz.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20080413/a63e2345/attachment.htm 


More information about the mythtv-dev mailing list