[mythtv-users] 0.25pre Compile Failure with --disable-hdhomerun Flag

Michael T. Dean mtdean at thirdcontact.com
Fri Jun 24 01:08:15 UTC 2011


On 06/23/2011 08:58 PM, Bill Meek wrote:
> If mythtv/configure is run with the --disable-hdhomerun flag, 0.25pre
> somewhere above v0.25pre-2422-g0badb8b, will not compile. It fails with:
>
> /usr/bin/ld: cannot find -lmythhdhomerun-0.24
> collect2: ld returned 1 exit status
> make[2]: *** [libmythprotoserver-0.24.so.0.24.0] Error 1
>
> I suspect v0.25pre-2428-g74f3091.
>
> Following the normal advice on this list and not using
> --disable-hdhomerun fixes the above, or, making the
> following change does too:
>
> --- i/mythtv/libs/libmythprotoserver/libmythprotoserver.pro
> +++ w/mythtv/libs/libmythprotoserver/libmythprotoserver.pro
> @@ -39,10 +39,16 @@ LIBS += -L../../external/FFmpeg/libavformat
> -L../../external/FFmpeg/libswscale
>   LIBS += -lmythbase-$$LIBVERSION -lmyth-$$LIBVERSION
> -lmythui-$$LIBVERSION
>   LIBS += -lmythtv-$$LIBVERSION -lmythupnp-$$LIBVERSION
>   LIBS += -lmythservicecontracts-$$LIBVERSION -lmythfreemheg-$$LIBVERSION
> -LIBS += -lmythlivemedia-$$LIBVERSION -lmythhdhomerun-$$LIBVERSION
> +LIBS += -lmythlivemedia-$$LIBVERSION
>   LIBS += -lmythavutil -lmythavcodec -lmythavformat -lmythswscale
>   LIBS += $$EXTRA_LIBS $$LATE_LIBS $$QMAKE_LIBS_DYNLOAD
>
> +macx {
> +
> +LIBS += -lmythhdhomerun-$$LIBVERSION
> +
> +}
> +
>
> But I don't have a Mac to test with. I didn't open a ticket since most
> flag use is discouraged.

This is definitely worth a message to -dev list, if not worth a ticket.

Thanks,
Mike


More information about the mythtv-users mailing list