This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Porting Gstreamer to Gingerbread Android for beagleboard

Hi All

I am trying to port gstreamer to android.

i) for the first step i built glib successfully on android gingerbread.

ii) Now i m trying to build gstreamer in gingerbread and getting error like the following 
  log messages.


log:

make: Entering directory `/home/prabhu/mydroid/rohit_droid_1'
target thumb C: libgstreamer-0.10 <= external/gstreamer/gst/./android/gst/parse/grammar.tab.c
./grammar.y: In function 'gst_parse_new_child':
./grammar.y:288: warning: missing initializer
./grammar.y:288: warning: (near initialization for 'v.data')
./grammar.y: In function 'gst_parse_element_set':
./grammar.y:320: warning: missing initializer
./grammar.y:320: warning: (near initialization for 'v.data')
grammar.tab.c: In function 'yy_symbol_print':
grammar.tab.c:1285: error: format not a string literal and no format arguments
grammar.tab.c:1287: error: format not a string literal and no format arguments
grammar.tab.c:1290: error: format not a string literal and no format arguments
grammar.tab.c: In function 'yy_stack_print':
grammar.tab.c:1309: error: format not a string literal and no format arguments
grammar.tab.c:1311: error: format not a string literal and no format arguments
grammar.tab.c:1312: error: format not a string literal and no format arguments
grammar.tab.c: In function 'yy_reduce_print':
grammar.tab.c:1342: error: format not a string literal and no format arguments
grammar.tab.c: In function 'yydestruct':
grammar.tab.c:1626: error: format not a string literal and no format arguments
grammar.tab.c:1626: error: format not a string literal and no format arguments
grammar.tab.c: In function '_gst_parse_yyparse':
grammar.tab.c:1741: error: format not a string literal and no format arguments
grammar.tab.c:1827: error: format not a string literal and no format arguments
grammar.tab.c:1834: error: format not a string literal and no format arguments
grammar.tab.c:1856: error: format not a string literal and no format arguments
grammar.tab.c:1863: error: format not a string literal and no format arguments
grammar.tab.c:1868: error: format not a string literal and no format arguments
grammar.tab.c:1868: error: format not a string literal and no format arguments
grammar.tab.c:1894: error: format not a string literal and no format arguments
grammar.tab.c:1894: error: format not a string literal and no format arguments
grammar.tab.c:2272: error: format not a string literal and no format arguments
grammar.tab.c:2272: error: format not a string literal and no format arguments
grammar.tab.c:2426: error: format not a string literal and no format arguments
grammar.tab.c:2426: error: format not a string literal and no format arguments
make: *** [out/target/product/beagleboard/obj/SHARED_LIBRARIES/libgstreamer-0.10_intermediates/./android/gst/parse/grammar.tab.o] Error 1
make: Leaving directory `/home/prabhu/mydroid/rohit_droid_1'


So any information regarding this error will be helpful.


Thanks in advance,
Rohit kumar. H.

  • diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
    index ae1997c..e8c5263 100644
    --- a/core/combo/TARGET_linux-arm.mk
    +++ b/core/combo/TARGET_linux-arm.mk
    @@ -98,11 +98,11 @@ TARGET_GLOBAL_CFLAGS += \
    -funwind-tables \
    -fstack-protector \
    -Wa,--noexecstack \
    - -Werror=format-security \ //here
    -fno-short-enums \
    $(arch_variant_cflags) \
    -include $(android_config_h) \
    -I $(arch_include_dir)