gmarshal.h and gmarshal.c - no PARAM.



Hi all,
          I am cross compiling glib for ARM. There seems to be a problem with the dynamic creation of gmarshal.h and gmarshal.c

gmarshal.h does not have the  g_cclosure_marshal_VOID__PARAM  .....      inspite of VOID:PARAM being present in gmarshal.strings

gmarshal.c creation give a error that  GLib-Object-Warning: unknown type:PARAM.

after that gobject.c compilation fails with error that  g_cclosure_marshal_VOID__PARAM   is undefined .

make's log is below.  Can anyone pls tell me what the problem is?

Thanx in advance,
Pannaga Bhushan.



> g-X -o glib-genmarshal /opt/uClinux/lib/gcc-lib/arm-elf/2.95.3/crtbegin.o /opt/uClinux/arm-elf/lib/crt0.o -L/opt/uClinux/arm-elf/lib/ -L/opt/uClinux/lib/gcc-lib/arm-elf/2.95.3 -L/opt/uClinux/arm-elf/lib glib-genmarshal.o /opt/uClinux/arm-elf/lib/libc.a ../glib/.libs/libglib-2.0.a -lm /usr/local/arm/armlibiconv/output//lib/libiconv.a /usr/local/arm/armgettext/output/lib/libintl.a -lc -lgcc -lc -lgcc /opt/uClinux/lib/gcc-lib/arm-elf/2.95.3/crtend.o
> echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
> && echo "#define __G_MARSHAL_H__" >> xgen-gmh \
> && /usr/bin/glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \
> && echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
> && (cmp -s xgen-gmh ./gmarshal.h || cp xgen-gmh ./gmarshal.h) \
> && rm -f xgen-gmh xgen-gmh~ \
> && echo timestamp > stamp-gmarshal.h
>
> GLib-Object-WARNING **: failed to open "--nostdinc": No such file or directory
>
> GLib-Object-WARNING **: unknown type: PARAM
> /usr/bin/glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --body >> xgen-gmc \
> && cp xgen-gmc ./gmarshal.c \
> && rm -f xgen-gmc xgen-gmc~
>
> GLib-Object-WARNING **: failed to open "--nostdinc": No such file or directory
>
> GLib-Object-WARNING **: unknown type: PARAM
> /bin/sh ../libtool --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS    -I/opt/uClinux/arm-elf/include/ -Wall -c gboxed.c
> arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -I/opt/uClinux/arm-elf/include/ -Wall -c gboxed.c -o gboxed.o
> echo timestamp > gboxed.lo
> /bin/sh ../libtool --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS    -I/opt/uClinux/arm-elf/include/ -Wall -c gclosure.c
> arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -I/opt/uClinux/arm-elf/include/ -Wall -c gclosure.c -o gclosure.o
> echo timestamp > gclosure.lo
> /bin/sh ../libtool --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS    -I/opt/uClinux/arm-elf/include/ -Wall -c genums.c
> arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -I/opt/uClinux/arm-elf/include/ -Wall -c genums.c -o genums.o
> echo timestamp > genums.lo
> /bin/sh ../libtool --mode=compile arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS    -I/opt/uClinux/arm-elf/include/ -Wall -c gobject.c
> arm-elf-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -I/opt/uClinux/arm-elf/include/ -Wall -c gobject.c -o gobject.o
> gobject.c: In function `g_object_do_class_init':
> gobject.c:257: `g_cclosure_marshal_VOID__PARAM' undeclared (first use in this function)
> gobject.c:257: (Each undeclared identifier is reported only once
> gobject.c:257: for each function it appears in.)
> gobject.c: At top level:
> gobjectnotifyqueue.c:130: warning: `g_object_notify_queue_clear' defined but not used
> make[2]: *** [gobject.lo] Error 1
> make[2]: Leaving directory `/opt/uClinux/user/glib-2.2.0/gobject'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/uClinux/user/glib-2.2.0'
> make: *** [all-recursive-am] Error 2




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