Problems with make
| From: | Ivan Rodriguez | Date: | Tue, 26 Apr 2005 18:49:04 +0000 |
| Subject: | Problems with make | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-1192@lists.php.net to get a copy of this message | ||
Hello I have some problems when I run make command, here the output:
make
/bin/sh /home/epplestun/php-dev/gtk/php-gtk/libtool --mode=compile gcc
-I./ext/gtk+/ -I/home/epplestun/php-dev/gtk/php-gtk/./ext/gtk+/
-DPHP_ATOM_INC -I/home/epplestun/php-dev/gtk/php-gtk/include
-I/home/epplestun/php-dev/gtk/php-gtk/main
-I/home/epplestun/php-dev/gtk/php-gtk -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/include/gnome-xml
-I/usr/include/libglade-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-DHAVE_CONFIG_H -g -O2 -c
/home/epplestun/php-dev/gtk/php-gtk/./ext/gtk+/php_gtk+.c -o
./ext/gtk+/php_gtk+.lo
gcc -I./ext/gtk+/ -I/home/epplestun/php-dev/gtk/php-gtk/./ext/gtk+/
-DPHP_ATOM_INC -I/home/epplestun/php-dev/gtk/php-gtk/include
-I/home/epplestun/php-dev/gtk/php-gtk/main
-I/home/epplestun/php-dev/gtk/php-gtk -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/include/gnome-xml
-I/usr/include/libglade-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-DHAVE_CONFIG_H -g -O2 -c
/home/epplestun/php-dev/gtk/php-gtk/./ext/gtk+/php_gtk+.c -fPIC -DPIC
-DPIC -o ./ext/gtk+/php_gtk+.o
In file included from /usr/include/glib-2.0/gobject/gboxed.h:26,
from /usr/include/glib-2.0/glib-object.h:25,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gtype.h:92: error: syntax error before "typedef"
/usr/include/glib-2.0/gobject/gtype.h:169: error: syntax error before "gchar"
/usr/include/glib-2.0/gobject/gtype.h:426: error: syntax error before "gchar"
/usr/include/glib-2.0/gobject/gtype.h:427: error: syntax error before "gchar"
/usr/include/glib-2.0/gobject/gtype.h:431: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:431: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:432: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:432: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:433: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:433: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:434: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:434: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:435: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:435: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:436: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:436: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:437: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:437: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:438: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:438: warning: data definition
has no type or storage class
/usr/include/glib-2.0/gobject/gtype.h:439: error: syntax error before
"G_GNUC_INTERNAL"
/usr/include/glib-2.0/gobject/gtype.h:439: warning: data definition
has no type or storage class
In file included from /usr/include/glib-2.0/glib-object.h:25,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gboxed.h:28: error: syntax error before
"G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gboxed.h:36: error: syntax error before "typedef"
In file included from /usr/include/glib-2.0/glib-object.h:26,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/genums.h:28: error: syntax error before
"G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/genums.h:46: error: syntax error before "typedef"
In file included from /usr/include/glib-2.0/gobject/gobject.h:27,
from /usr/include/glib-2.0/glib-object.h:27,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gvalue.h:30: error: syntax error before
"G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gvalue.h:41: error: syntax error before "typedef"
In file included from /usr/include/glib-2.0/gobject/gobject.h:28,
from /usr/include/glib-2.0/glib-object.h:27,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gparam.h:30: error: syntax error before
"G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gparam.h:49: error: syntax error before "typedef"
/usr/include/glib-2.0/gobject/gparam.h:141: error: syntax error before "gchar"
/usr/include/glib-2.0/gobject/gparam.h:142: error: syntax error before "gchar"
/usr/include/glib-2.0/gobject/gparam.h:143: error: syntax error before "gchar"
In file included from /usr/include/glib-2.0/gobject/gobject.h:29,
from /usr/include/glib-2.0/glib-object.h:27,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gclosure.h:28: error: syntax error
before "G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gclosure.h:39: error: syntax error
before "typedef"
In file included from /usr/include/glib-2.0/gobject/gsignal.h:29,
from /usr/include/glib-2.0/gobject/gobject.h:30,
from /usr/include/glib-2.0/glib-object.h:27,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gmarshal.h:4: error: syntax error before
"G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gmarshal.h:7: error: syntax error before "extern"
In file included from /usr/include/glib-2.0/gobject/gobject.h:30,
from /usr/include/glib-2.0/glib-object.h:27,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gsignal.h:31: error: syntax error before
"G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gsignal.h:34: error: syntax error before "typedef"
/usr/include/glib-2.0/gobject/gsignal.h:144: error: syntax error before "gchar"
In file included from /usr/include/glib-2.0/glib-object.h:27,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gobject.h:32: error: syntax error before
"G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gobject.h:49: error: syntax error before "typedef"
In file included from /usr/include/glib-2.0/glib-object.h:29,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gparamspecs.h:33: error: syntax error
before "G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gparamspecs.h:102: error: syntax error
before "typedef"
/usr/include/glib-2.0/gobject/gparamspecs.h:198: error: syntax error
before "gunichar"
/usr/include/glib-2.0/gobject/gparamspecs.h:198: warning: no semicolon
at end of struct or union
/usr/include/glib-2.0/gobject/gparamspecs.h:337: error: syntax error
before "gunichar"
In file included from /usr/include/glib-2.0/glib-object.h:31,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gsourceclosure.h:28: error: syntax error
before "G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gsourceclosure.h:30: error: syntax error
before "void"
/usr/include/glib-2.0/gobject/gsourceclosure.h:30: error: syntax error
before '*' token
In file included from /usr/include/glib-2.0/glib-object.h:33,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gtypemodule.h:29: error: syntax error
before "G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gtypemodule.h:31: error: syntax error
before "typedef"
In file included from /usr/include/glib-2.0/glib-object.h:34,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gtypeplugin.h:28: error: syntax error
before "G_BEGIN_DECLS"
/usr/include/glib-2.0/gobject/gtypeplugin.h:40: error: syntax error
before "typedef"
In file included from /usr/include/glib-2.0/glib-object.h:36,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gvaluearray.h:37: error: syntax error
before "typedef"
/usr/include/glib-2.0/gobject/gvaluearray.h:66: error: syntax error
before "GCompareDataFunc"
In file included from /usr/include/glib-2.0/glib-object.h:37,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:56,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/glib-2.0/gobject/gvaluetypes.h:49: error: syntax error
before "void"
/usr/include/glib-2.0/gobject/gvaluetypes.h:86: error: syntax error
before "gchar"
In file included from /usr/include/gtk-1.2/gdk/gdk.h:31,
from /usr/include/gtk-1.2/gtk/gtk.h:31,
from /home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:57,
from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/usr/include/gtk-1.2/gdk/gdktypes.h:52: error: syntax error before "typedef"
In file included from
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:23:
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h: In function
`phpg_object_check':
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:282: error: syntax
error before "G_LIKELY"
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h: At top level:
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:282: error: syntax
error before '}' token
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:300: error: syntax
error before '*' token
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h: In function `phpg_to_utf8':
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:305: error:
`GError' undeclared (first use in this function)
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:305: error: (Each
undeclared identifier is reported only once
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:305: error: for
each function it appears in.)
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:305: error: `error'
undeclared (first use in this function)
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:313: warning:
assignment makes pointer from integer without a cast
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h: In function
`phpg_from_utf8':
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:326: error:
`GError' undeclared (first use in this function)
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:326: error: `error'
undeclared (first use in this function)
/home/epplestun/php-dev/gtk/php-gtk/main/php_gtk.h:334: warning:
assignment makes pointer from integer without a cast
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c: In function
`register_stock_constants':
/home/epplestun/php-dev/gtk/php-gtk/ext/gtk+/php_gtk+.c:162: warning:
assignment makes pointer from integer without a cast
make: *** [ext/gtk+/php_gtk+.lo] Error 1
The ./buildconf and ./configure commands run very well but make no :(
any idea? The error can be in the glib headers files?¿