glib make error: syntax error near unexpected token `('
- Date: Thu, 04 Jan 2018 09:02:30 +0000
- From: Jaytirth Khairatkar <jaytirth@xxxxxxxxx>
- Subject: glib make error: syntax error near unexpected token `('
I am trying to install glib from source code on an embedded linux platform.
I am getting the following error on doing ‘make’:
Make: Entering directory ‘/glib-2.55.0/gobject’
/bin/sh: -c: line 0: syntax error near unexpected token `(‘
/bin/sh: -c: line 0: `echo “ CCLD “ libgobject-2.0.la;/bin/sh ../libtool –silent –tag=CC --mode=link gcc –Wall –Wstr’
Makefile: 1170: recipe for target ‘libgobject-2.0.la’ failed
line 1169 and 1170 of the Makefile are these:
$(AM_V_CCLD) $(libgobject_2_0_la_LINK) -rpath $(libdir)
$(libgobject_2_0_la_OBJECTS) $(libgobject_2_0_la_LIBADD) $(LIBS)
In the Makefile line 1169 is in a single line and line 1170 is in another separate single line. Here due to formatting constraints I had to split it.
When I join 1169 and 1170, I get a different error which is:
*** No rule to make target '@echo', needed by 'libobject-2.0.la'. Stop.
What is causing this error? Do I have to set some environment variable? I am especially confused because it says line 0. How do I resolve this errors?
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-devel-list