[Gambas-user] Can't get gb.media compiled

Laurent Carlier lordheavym at ...626...
Mon May 28 23:36:24 CEST 2012


Le lundi 28 mai 2012 23:08:20 Jesus a écrit :
> 
> Mmm... I should figured it out! Adding
> "libgstreamer-plugins-base0.10-dev" does the trick for configuring,
> however now I got an error when compiling:
> 
> 
> make[4]: se ingresa al directorio `/home/jesus/trunk/gb.media/src'
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os  -MT
> gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c -o
> gb_media_la-main.lo `test -f 'main.c' || echo './'`main.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT
> gb_media_la-main.lo -MD -MP -MF .deps/gb_media_la-main.Tpo -c main.c
> -fPIC -DPIC -o .libs/gb_media_la-main.o
> mv -f .deps/gb_media_la-main.Tpo .deps/gb_media_la-main.Plo
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I..  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os  -MT
> gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c -o
> gb_media_la-c_media.lo `test -f 'c_media.c' || echo './'`c_media.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pipe -Wall
> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -MT
> gb_media_la-c_media.lo -MD -MP -MF .deps/gb_media_la-c_media.Tpo -c
> c_media.c  -fPIC -DPIC -o .libs/gb_media_la-c_media.o
> c_media.c: In function ‘to_gambas_type’:
> c_media.c:82: warning: implicit declaration of function
> ‘GST_VALUE_HOLDS_DATE_TIME’
> c_media.c: In function ‘to_gambas_value’:
> c_media.c:151: error: ‘GstDateTime’ undeclared (first use in this function)
> c_media.c:151: error: (Each undeclared identifier is reported only once
> c_media.c:151: error: for each function it appears in.)
> c_media.c:151: error: ‘date’ undeclared (first use in this function)
> c_media.c:151: error: expected expression before ‘)’ token
> c_media.c:154: warning: implicit declaration of function
> ‘gst_date_time_get_year’
> c_media.c:155: warning: implicit declaration of function
> ‘gst_date_time_get_month’
> c_media.c:156: warning: implicit declaration of function
> ‘gst_date_time_get_day’
> c_media.c:157: warning: implicit declaration of function
> ‘gst_date_time_get_hour’
> c_media.c:158: warning: implicit declaration of function
> ‘gst_date_time_get_minute’
> c_media.c:159: warning: implicit declaration of function
> ‘gst_date_time_get_second’
> c_media.c:160: warning: implicit declaration of function
> ‘gst_date_time_get_microsecond’
> c_media.c:161: warning: implicit declaration of function
> ‘gst_date_time_get_time_zone_offset’
> c_media.c: In function ‘MediaControl_get’:
> c_media.c:533: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
> c_media.c: In function ‘MediaControl_put’:
> c_media.c:551: error: ‘G_VALUE_INIT’ undeclared (first use in this function)
> c_media.c: In function ‘MediaControl_SetWindow’:
> c_media.c:733: warning: implicit declaration of function
> ‘gst_x_overlay_set_window_handle’
> c_media.c: In function ‘cb_message’:
> c_media.c:911: warning: implicit declaration of function
> ‘gst_tag_list_to_string’
> c_media.c:911: warning: assignment makes pointer from integer without a cast
> c_media.c:929: error: ‘GST_MESSAGE_PROGRESS’ undeclared (first use in this
> function)
> make[4]: *** [gb_media_la-c_media.lo] Error 1
> make[4]: se sale del directorio `/home/jesus/trunk/gb.media/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: se sale del directorio `/home/jesus/trunk/gb.media'
> make[2]: *** [all] Error 2
> make[2]: se sale del directorio `/home/jesus/trunk/gb.media'
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio `/home/jesus/trunk'
> make: *** [all] Error 2
> 
> 
> Perhaps I might go to sleep now... today has been a hard day at work.
> 
> Thanks for your help, guys

What is the output of:

pkg-config --modversion gstreamer-0.10 gstreamer-interfaces-0.10

?

++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20120528/9d11d22c/attachment.sig>


More information about the User mailing list