Error on compilation of code in gcc

anespaanespa Thiruvananathapuram

Dear friends,
I am a newbie programmer in C. I am working in Ubuntu 15.10 , gcc environment. When I try to compile one of existing code I got error ...

My command is :

[email protected]:~/Downloads/daisy-player-10.3/src$ gcc -c daisy-player.c -o daisy-player.o -I /usr/include/libxml2/ \
-I /usr/include/gtk-3.0/ -I /usr/include/glib-2.0/ \
-I /usr/lib/x86_64-linux-gnu/glib-2.0/include/ \
-I /usr/include/pango-1.0/ -I /usr/include/cairo/ \
-I /usr/include/gdk-pixbuf-2.0/ -I /usr/include/atk-1.0/

I got error as

In file included from /usr/include/glib-2.0/glib/galloca.h:32:0,

from /usr/include/glib-2.0/glib.h:30,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from daisy.h:49,
from daisy-player.c:20:
/usr/include/glib-2.0/glib/gtypes.h:32:24: fatal error: glibconfig.h: No such file or directory
compilation terminated.

Please advise .. waiting your fast reply . I already took 2 days in this error.

Thanks
Anes

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories