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[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 “;/bin/sh ../libtool –silent –tag=CC --mode=link gcc –Wall –Wstr’

Makefile: 1170: recipe for target ‘’ failed

line 1169 and 1170 of the Makefile are these:

1169: $(libgobject_2_0_la_OBJECTS)  




$(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 ''. 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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]