Maybe Sam could help on this one..

2017-01-11 18:29 GMT-06:00 DreamStreamKicker <[email protected]>:

>
> distro : 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19)
> x86_64 GNU/Linux
>
> since a few days getting this error compiling from source, anaybody know
> what to do?
>
>
> make[2]: Map '/tmp/liquidsoap/ocaml-ffmpeg/src' wordt binnengegaan
> make[3]: Map '/tmp/liquidsoap/ocaml-ffmpeg/src' wordt binnengegaan
> ocamldep av.ml > ._d/av.d
> File "av.ml", line 32, characters 32-33:
> Error: Syntax error
> make[3]: *** Verwijderen van bestand '._d/av.d'
> ocamldep swscale.ml > ._d/swscale.d
> ocamldep avutil.ml > ._d/avutil.d
> ocamldep av.ml > ._d/av.d
> File "av.ml", line 32, characters 32-33:
> Error: Syntax error
> make[3]: *** Verwijderen van bestand '._d/av.d'
> ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2      -Wall -DCAML_NAME_SPACE \
>                          -DPIC -fPIC       \
>                              -o avutil_stubs.o " avutil_stubs.c
> avutil_stubs.c:89:3: error: ‘AV_CH_LAYOUT_HEXADECAGONAL’ undeclared here
> (not in a function)
>     AV_CH_LAYOUT_HEXADECAGONAL,
>     ^
> avutil_stubs.c: In function ‘Val_channelLayout’:
> avutil_stubs.c:100:3: error: ‘for’ loop initial declarations are only
> allowed in C99 or C11 mode
>     for (int i = 0; i < CHANNEL_LAYOUTS_LEN; i++) {
>     ^
> avutil_stubs.c:100:3: note: use option -std=c99, -std=gnu99, -std=c11 or
> -std=gn u11 to compile your code
> avutil_stubs.c:104:3: warning: format ‘%llu’ expects argument of type
> ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ [-Wformat=]
>     printf("error in channel layout : %llu\n", cl);
>     ^
> avutil_stubs.c: In function ‘Val_sampleFormat’:
> avutil_stubs.c:137:3: error: ‘for’ loop initial declarations are only
> allowed in C99 or C11 mode
>     for (int i = 0; i < SAMPLE_FORMATS_LEN; i++) {
>     ^
> avutil_stubs.c: In function ‘bigarray_kind_of_AVSampleFormat’:
> avutil_stubs.c:170:3: error: ‘for’ loop initial declarations are only
> allowed in C99 or C11 mode
>     for (int i = 0; i < SAMPLE_FORMATS_LEN; i++)
>     ^
> OCamlMakefile:1124: recept voor doel 'avutil_stubs.o' is mislukt
> make[3]: *** [avutil_stubs.o] Fout 2
> make[3]: Map '/tmp/liquidsoap/ocaml-ffmpeg/src' wordt verlaten
> OCamlMakefile:784: recept voor doel 'byte-code-library' is mislukt
> make[2]: *** [byte-code-library] Fout 2
> make[2]: Map '/tmp/liquidsoap/ocaml-ffmpeg/src' wordt verlaten
> Makefile:9: recept voor doel 'all' is mislukt
> make[1]: *** [all] Fout 2
> make[1]: Map '/tmp/liquidsoap/ocaml-ffmpeg' wordt verlaten
> Makefile:11: recept voor doel 'all' is mislukt
> make: *** [all] Fout 1
> rick@TV:/tmp/liquidsoap$
>
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to