Hi all,
i am trying to build a newer version of gstreamer and gstreamer-plugins-good for my tynirex platform (https://www.voipac.com/#iMX6-TRM-23632311) running linux (Jan 1 (Linux version 3.14.58-02398-g4f1acce-dirty CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d ). I'd like to avoid re-building the sysroot and buildroot entirely. I am building on an ubuntu and I have the sysroot against which I have succesfully built several applications. In this sysroot (and on the host itself) is an old version of gstreamer i would like to replace. I run $ meson --cross-file cross_spec.txt with some "NO"s, but no error. Here is the meson log and crossfile. https://www.dropbox.com/s/d8awuk5ggwop1ai/crossfile.txt?dl=0 https://www.dropbox.com/s/jcw8rp527vldcw1/meson-log.txt?dl=0 Running the subsequent ninja command crashes on compiling error: [2/461] Compiling C object gst/printf/libgstprintf.a.p/printf-args.c.o FAILED: gst/printf/libgstprintf.a.p/printf-args.c.o /opt/linaro/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -Igst/printf/libgstprintf.a.p -Igst/printf -I../gst/printf -I. -I.. -I/opt/host-tinyrex//usr/include/glib-2.0 -I/opt/host-tinyrex//usr/lib/glib-2.0/include -I/opt/host-tinyrex//usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_DEPRECATED -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wdeclaration-after-statement -Wvla -Wpointer-arith -fPIC -DHAVE_CONFIG_H -DSTATIC=G_GNUC_INTERNAL -UHAVE_LONG_DOUBLE -UHAVE_LONG_LONG_FORMAT -UHAVE_WCHAR_T -UHAVE_WCSLEN -UHAVE_WINT_T -Wno-format-nonliteral -DHAVE_LONG_LONG -DHAVE_INTTYPES_H_WITH_UINTMAX -DHAVE_STDINT_H_WITH_UINTMAX -DHAVE_INTMAX_T -MD -MQ gst/printf/libgstprintf.a.p/printf-args.c.o -MF gst/printf/libgstprintf.a.p/printf-args.c.o.d -o gst/printf/libgstprintf.a.p/printf-args.c.o -c ../gst/printf/printf-args.c In file included from /opt/host-tinyrex//usr/lib/glib-2.0/include/glibconfig.h:9:0, from /opt/host-tinyrex//usr/include/glib-2.0/glib/gtypes.h:32, from /opt/host-tinyrex//usr/include/glib-2.0/glib/galloca.h:32, from /opt/host-tinyrex//usr/include/glib-2.0/glib.h:30, from ../gst/printf/gst-printf.h:23, from ../gst/printf/printf-args.c:23: /opt/host-tinyrex//usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_ADD_U64’: /opt/host-tinyrex//usr/include/glib-2.0/glib/gmacros.h:241:53: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED ^ /opt/host-tinyrex//usr/include/glib-2.0/glib/gmacros.h:238:47: note: in definition of macro ‘G_PASTE_ARGS’ #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2 ^ /opt/host-tinyrex//usr/include/glib-2.0/glib/gmacros.h:241:44: note: in expansion of macro ‘G_PASTE’ #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED ^ /opt/host-tinyrex//usr/include/glib-2.0/glib/gtypes.h:423:3: note: in expansion of macro ‘G_STATIC_ASSERT’ G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64)); ^ [3/461] Compiling C object gst/printf/libgstprintf.a.p/vasnprintf.c.o FAILED: gst/printf/libgstprintf.a.p/vasnprintf.c.oBasically the same error repeats itself for several files, the compile output ends with 'ninja: build stopped: subcommand failed.' I am assuming that I do not have some path set reagarding the crosscompilation - can someone point to me what I am missing? Thanks. Michal |
Free forum by Nabble | Edit this page |