syntax error in VERSION script

Tim-Philipp Müller t.i.m at zen.co.uk
Tue May 29 13:53:28 PDT 2012


On Tue, 2012-05-29 at 12:43 -0700, iron_guitarist1987 wrote:

> I have made this element based on the smtpe. I have removed all the effects
> and properties, so all it does is output it's input. When I try to compile
> it I get the following error:
> 
> 
> jtrinid at jtrinid-VirtualBox:~/projects/gst-plugins-vpef/ext/ntoone$ make
>   CC     libvpefNTOONE_la-gstntoone.lo
> gstntoone.c: In function 'gst_ntoone_setcaps':
> gstntoone.c:153:3: warning: passing argument 3 of 'gst_structure_get_int'
> from incompatible pointer type [enabled by default]
> /usr/include/gstreamer-0.10/gst/gststructure.h:197:25: note: expected 'gint
> *' but argument is of type 'struct GstPad **'
> gstntoone.c:147:11: warning: variable 'otherpad' set but not used
> [-Wunused-but-set-variable]
> gstntoone.c: In function 'gst_ntoone_plugin_init':
> gstntoone.c:382:3: warning: implicit declaration of function
> 'gst_ntoone_get_type' [-Wimplicit-function-declaration]
> gstntoone.c:382:3: warning: nested extern declaration of
> 'gst_ntoone_get_type' [-Wnested-externs]
> gstntoone.c: At top level:
> gstntoone.c:124:1: warning: 'gst_ntoone_class_init' defined but not used
> [-Wunused-function]
> gstntoone.c:107:1: warning: 'gst_ntoone_base_init' defined but not used
> [-Wunused-function]
> gstntoone.c:172:1: warning: 'gst_ntoone_init' defined but not used
> [-Wunused-function]
>   CCLD   libvpefNTOONE.la
> /usr/bin/ld:.libs/libvpefNTOONE.ver:2: syntax error in VERSION script
> collect2: ld returned 1 exit status
> make: *** [libvpefNTOONE.la] Error 1

Perhaps you should fix those compiler warnings first? That might make
the actual problem more apparent.

My guess would be that no symbols are exported, because you are missing
the GST_PLUGIN_DEFINE that points towards the plugin_init function.

Cheers
 -Tim




More information about the gstreamer-devel mailing list