glib make error: syntax error near unexpected token `('

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

glib make error: syntax error near unexpected token `('

Jaytirth Khairatkar



I am trying to install glib from source code on an embedded linux platform.

I am getting the following error on doing ‘make’:

Make[4]: 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:

1169:

libgobject-2.0.la: $(libgobject_2_0_la_OBJECTS)  

      $(libgobject_2_0_la_DEPENDENCIES)

      $(EXTRA_libgobject_2_0_la_DEPENDENCIES)

1170:

$(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
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-devel-list