Hi guys,
I don't know why this isn't happening on the list, but I dug into this
anyway... the zip is not convenient for reporting errors. Here is the
interesting bit, after running make:
make[3]: Entering directory
`/home/stefano/Downloads/tools/liquidsoap-1.1.1-full/ocaml-gstreamer-0.2.0/src'
ocamlc -c -cc "gcc" -ccopt "-fPIC -g -O2 -pthread
-I/usr/local/include/gstreamer-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -pthread
-I/usr/local/include/gstreamer-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -Wall -DNATIVE_CODE \
-DPIC -fPIC -pthread -I/usr/local/include/gstreamer-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread
-I/usr/local/include/gstreamer-1.0 -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include \
-o gstreamer_stubs.o " gstreamer_stubs.c
gstreamer_stubs.c:8:26: error: caml/threads.h: No such file or directory
gstreamer_stubs.c: In function ‘ocaml_gstreamer_init’:
gstreamer_stubs.c:40: warning: implicit declaration of function
‘caml_release_runtime_system’
gstreamer_stubs.c:45: warning: implicit declaration of function
‘caml_acquire_runtime_system’
gstreamer_stubs.c: In function ‘appsrc_need_data_cb’:
gstreamer_stubs.c:823: warning: implicit declaration of function
‘caml_c_thread_register’
gstreamer_stubs.c:827: warning: implicit declaration of function
‘caml_c_thread_unregister’
make[3]: *** [gstreamer_stubs.o] Error 2
I'd say that you have an outdated version of OCaml or an incomplete
installation of OCaml, missing some headers. On my system here is the
relevant file:
baelde@noko ~ $ grep caml_c_thread /usr/include/caml/*h
/usr/include/caml/threads.h:CAMLextern int caml_c_thread_register(void);
...
Hope this helps,
David
--
David
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users