[ http://dev.sourcefabric.org/browse/LS-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Baelde closed LS-547. --------------------------- Resolution: Not a Bug Like Romain said. Also it's too old and we didn't hear from the reporter. > error compiling libflac > ----------------------- > > Key: LS-547 > URL: http://dev.sourcefabric.org/browse/LS-547 > Project: Liquidsoap > Issue Type: Bug > Components: Liquidsoap > Affects Versions: 1.0 beta > Environment: Ubuntu Server 10.04 > Reporter: Alexandru Gavrila > Priority: Important > Original Estimate: 1 hour > Remaining Estimate: 1 hour > > After configure completes, I run make. Then the following error appears: > Entering directory > `/root/work/liquidsoap/liquidsoap-1.0.0-beta2.1-full/ocaml-flac-0.1.0/src' > ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2 > -I/root/work/liquidsoap/liquidsoap-1.0.0-beta2.1-full/ocaml-flac-0.1.0/. > -I/usr/include/FLAC -Wall -DCAML_NAME_SPACE \ > -DPIC \ > -o flac_stubs.o " flac_stubs.c > flac_stubs.c: In function âval_of_stateâ: > flac_stubs.c:152: error: âFLAC__STREAM_DECODER_OGG_ERRORâ undeclared (first > use in this function) > flac_stubs.c:152: error: (Each undeclared identifier is reported only once > flac_stubs.c:152: error: for each function it appears in.) > flac_stubs.c:154: error: âFLAC__STREAM_DECODER_SEEK_ERRORâ undeclared (first > use in this function) > flac_stubs.c: In function âraise_exn_of_errorâ: > flac_stubs.c:176: error: > âFLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAMâ undeclared (first use > in this function) > flac_stubs.c: At top level: > flac_stubs.c:279: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â > before âdec_seek_callbackâ > flac_stubs.c:302: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â > before âdec_tell_callbackâ > flac_stubs.c:325: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â > before âdec_length_callbackâ > flac_stubs.c: In function âocaml_flac_decoder_createâ: > flac_stubs.c:475: warning: implicit declaration of function > âFLAC__stream_decoder_init_streamâ > flac_stubs.c:478: error: âdec_seek_callbackâ undeclared (first use in this > function) > flac_stubs.c:479: error: âdec_tell_callbackâ undeclared (first use in this > function) > flac_stubs.c:480: error: âdec_length_callbackâ undeclared (first use in this > function) > flac_stubs.c: In function âocaml_flac_decoder_seekâ: > flac_stubs.c:594: warning: implicit declaration of function > âFLAC__stream_decoder_seek_absoluteâ > flac_stubs.c: At top level: > flac_stubs.c:696: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â > before âenc_seek_callbackâ > flac_stubs.c:717: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â > before âenc_tell_callbackâ > flac_stubs.c: In function âocaml_flac_encoder_allocâ: > flac_stubs.c:753: warning: implicit declaration of function > âFLAC__stream_encoder_set_compression_levelâ > flac_stubs.c: In function âocaml_flac_encoder_createâ: > flac_stubs.c:809: warning: implicit declaration of function > âFLAC__stream_encoder_init_streamâ > flac_stubs.c:811: error: âenc_seek_callbackâ undeclared (first use in this > function) > flac_stubs.c:812: error: âenc_tell_callbackâ undeclared (first use in this > function) > make[3]: *** [flac_stubs.o] Error 2 > make[3]: Leaving directory > `/root/work/liquidsoap/liquidsoap-1.0.0-beta2.1-full/ocaml-flac-0.1.0/src' > make[2]: *** [byte-code-library] Error 2 > make[2]: Leaving directory > `/root/work/liquidsoap/liquidsoap-1.0.0-beta2.1-full/ocaml-flac-0.1.0/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/root/work/liquidsoap/liquidsoap-1.0.0-beta2.1-full/ocaml-flac-0.1.0' > make: *** [all] Error 1 > This error appeared when I installed Liquidsoap 9.3 on another machine > running Ubuntu 9.10. > I managed to eliminate the error. In the compile directive it set the include > library path to /usr/include/FLAC. But in the > ocaml-flac-0.1.0/src/flac_stubs.h the include directives are: > #include <FLAC/format.h> > #include <FLAC/metadata.h> > #include <FLAC/stream_decoder.h> > #include <FLAC/stream_encoder.h> > And the composed path would be usr/include/flac/flac...error. > I changed the flac_stubs.h file to > #include <format.h> > #include <metadata.h> > #include <stream_decoder.h> > #include <stream_encoder.h> > Now it compiles with no errors. > At the first install I thaught it was something about the distro or about > me...But now it's the second time it happens. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl