GNOME Bugzilla – Bug 793234
Building for Android with gstreamer-1.0.mk fails
Last modified: 2018-02-07 08:38:01 UTC
Building GStreamer 1.12.4 with Android NDK on Windows fails. Following error message is reported: --> GStreamer : [GEN] => gst-build-armeabi/gstreamer_android.c Done rm Done mkdir Der Befehl "#" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Done cp make: *** [genstatic_armeabi] Error 1 make: *** Waiting for unfinished jobs.... <-- The German sentence means, that the "#" command is spelled incorrectly or missing. I traced this back to following code in gstreamer-1.0.mk: --> genstatic_$(TARGET_ARCH_ABI): @$(HOST_ECHO) "GStreamer : [GEN] => $(PRIV_C)" @$(call host-mkdir,$(PRIV_B_DIR)) @# android-studio doesn't seem to like line continuation characters when executing shell commands @$(SED_LOCAL) "s/@PLUGINS_DECLARATION@/$(PRIV_P_D)/g" $(PRIV_C_IN) | $(SED_LOCAL) "s/@PLUGINS_REGISTRATION@/$(PRIV_P_R)/g" | $(SED_LOCAL) "s/@G_IO_MODULES_LOAD@/$(PRIV_G_L)/g" | $(SED_LOCAL) "s/@G_IO_MODULES_DECLARE@/$(PRIV_G_R)/g" > $(PRIV_C) <-- Problem is solved if the "@# android-studio..." line is removed.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed in the code repository. *** This bug has been marked as a duplicate of bug 791854 ***