I have fully-patched Debian 7 (Wheezy) x86_64 system, as of the date of this post, followed the instructions about doing the dist-upgrade and fetching the latest libavcodec (and related). The gcc version is "gcc version 4.7.2 (Debian 4.7.2-5)", and the kernel is "3.2.0-4-amd64".
makemkv-oss 1.9.8 did not initially build. The problem is that "PRIu64" was not defined for use in libmakemkv/src/libmkv.cpp .
I found this comment in /usr/include/inttypes.h :
/* The ISO C99 standard specifies that these macros must only be
defined if explicitly requested. */
#if !defined __cplusplus || defined __STDC_FORMAT_MACROS
# if __WORDSIZE == 64
# define __PRI64_PREFIX "l"
# define __PRIPTR_PREFIX "l"
# else
# define __PRI64_PREFIX "ll"
# define __PRIPTR_PREFIX
# endif
...
I used the following "configure" command line and everything builds, and, so far, works:
CFLAGS="-D __STDC_FORMAT_MACROS" ./configure
build tweak for 1.9.8
Re: build tweak for 1.9.8
> CFLAGS="-D __STDC_FORMAT_MACROS" ./configure
I could compile with this.
Thanks,
I could compile with this.
Thanks,
Re: build tweak for 1.9.8
wow- works like a charm. thankeefulwood wrote:> CFLAGS="-D __STDC_FORMAT_MACROS" ./configure
I could compile with this.
Thanks,
-
- Posts: 17
- Joined: Sat Jun 13, 2015 5:09 am
Re: build tweak for 1.9.8
Worked for me too upgrading from 1.9.10 to 1.10.2mmuser wrote: I used the following "configure" command line and everything builds, and, so far, works:
CFLAGS="-D __STDC_FORMAT_MACROS" ./configure
Thank you