Hello,

I'm having a problem compiling liquidsoap with faad, I keep getting the
following when liquidsoap tries to compile ocaml-faad:

make[1]: Entering directory
`/home/defi/liquidsoap-full-1.0.0-beta1/ocaml-faad-0.1.3'
make -C src all
make[2]: Entering directory
`/home/defi/liquidsoap-full-1.0.0-beta1/ocaml-faad-0.1.3/src'
make[3]: Entering directory
`/home/defi/liquidsoap-full-1.0.0-beta1/ocaml-faad-0.1.3/src'
/usr/bin/ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2  -Wall -DCAML_NAME_SPACE \
                                -DPIC   \
                                    -o faad_stubs.o " faad_stubs.c
In file included from faad_stubs.c:43:
/usr/include/mp4ff.h:41:29: error: mp4ff_int_types.h: No such file or
directory
In file included from faad_stubs.c:43:
/usr/include/mp4ff.h:47: error: expected specifier-qualifier-list before
âuint32_tâ
In file included from faad_stubs.c:43:
/usr/include/mp4ff.h:85: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âmp4ff_get_avg_bitrateâ
/usr/include/mp4ff.h:86: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âmp4ff_get_max_bitrateâ
/usr/include/mp4ff.h:89: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âmp4ff_get_sample_rateâ
/usr/include/mp4ff.h:90: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âmp4ff_get_channel_countâ
/usr/include/mp4ff.h:91: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âmp4ff_get_audio_typeâ
faad_stubs.c: In function âocaml_faad_initâ:
faad_stubs.c:78: warning: passing argument 4 of âNeAACDecInitâ from
incompatible pointer type
/usr/include/neaacdec.h:213: note: expected âlong unsigned int *â but
argument is of type âu_int32_t *â
faad_stubs.c: In function âocaml_faad_init2â:
faad_stubs.c:95: warning: passing argument 4 of âNeAACDecInit2â from
incompatible pointer type
/usr/include/neaacdec.h:220: note: expected âlong unsigned int *â but
argument is of type âu_int32_t *â
faad_stubs.c: At top level:
faad_stubs.c:189: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âread_cbâ
faad_stubs.c:212: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âwrite_cbâ
faad_stubs.c:222: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âseek_cbâ
faad_stubs.c:242: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before âtrunc_cbâ
faad_stubs.c: In function âocaml_faad_mp4_open_readâ:
faad_stubs.c:256: error: âmp4ff_callback_tâ has no member named âreadâ
faad_stubs.c:256: error: âread_cbâ undeclared (first use in this function)
faad_stubs.c:256: error: (Each undeclared identifier is reported only once
faad_stubs.c:256: error: for each function it appears in.)
faad_stubs.c:261: error: âmp4ff_callback_tâ has no member named âwriteâ
faad_stubs.c:261: error: âwrite_cbâ undeclared (first use in this function)
faad_stubs.c:267: error: âmp4ff_callback_tâ has no member named âwriteâ
faad_stubs.c:272: error: âmp4ff_callback_tâ has no member named âseekâ
faad_stubs.c:272: error: âseek_cbâ undeclared (first use in this function)
faad_stubs.c:278: error: âmp4ff_callback_tâ has no member named âseekâ
faad_stubs.c:283: error: âmp4ff_callback_tâ has no member named âtruncateâ
faad_stubs.c:283: error: âtrunc_cbâ undeclared (first use in this function)
faad_stubs.c:289: error: âmp4ff_callback_tâ has no member named âtruncateâ
faad_stubs.c:292: error: âmp4ff_callback_tâ has no member named âuser_dataâ
faad_stubs.c: In function âocaml_faad_mp4_open_read_fdâ:
faad_stubs.c:315: error: âmp4ff_callback_tâ has no member named âreadâ
faad_stubs.c:315: error: âread_cbâ undeclared (first use in this function)
faad_stubs.c:317: error: âmp4ff_callback_tâ has no member named âwriteâ
faad_stubs.c:317: error: âwrite_cbâ undeclared (first use in this function)
faad_stubs.c:319: error: âmp4ff_callback_tâ has no member named âseekâ
faad_stubs.c:319: error: âseek_cbâ undeclared (first use in this function)
faad_stubs.c:321: error: âmp4ff_callback_tâ has no member named âtruncateâ
faad_stubs.c:321: error: âtrunc_cbâ undeclared (first use in this function)
faad_stubs.c:323: error: âmp4ff_callback_tâ has no member named âuser_dataâ
faad_stubs.c: In function âocaml_faad_mp4_initâ:
faad_stubs.c:400: warning: passing argument 4 of âNeAACDecInit2â from
incompatible pointer type
/usr/include/neaacdec.h:220: note: expected âlong unsigned int *â but
argument is of type âunsigned int *â
make[3]: *** [faad_stubs.o] Error 2
make[3]: Leaving directory
`/home/defi/liquidsoap-full-1.0.0-beta1/ocaml-faad-0.1.3/src'
make[2]: *** [byte-code-library] Error 2
make[2]: Leaving directory
`/home/defi/liquidsoap-full-1.0.0-beta1/ocaml-faad-0.1.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/defi/liquidsoap-full-1.0.0-beta1/ocaml-faad-0.1.3'
make: *** [all] Error 1

The only info I could find related is
http://www.mail-archive.com/[email protected]/msg02624.html,
and I tried installing the older version of libfaad and its dependencies
manually, which seems to have slightly changed the errors, to the above, but
it still wont build.

I am using an external encoder for encoding my stream with AAC+ v2, since
liquidsoap does not yet support that, but I need faad to be able to relay an
existing AAC+ stream from another server. No one in the IRC channel was able
to help for the past few days, hopefully someone on this mailing list will
know.

Thanks,

DeFi
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to