gnome-libs compilation error

Hi folks.

Recently while trying to compile gnome-libs from CVS, I've gotten this 

make[2]: Entering directory `/root/gnome-libs/libgnorba'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support
-I../support -I/usr/local/include  -I/usr/local/lib/glib/include
-I/usr/local/include  -DGNOMEBINDIR=/usr/local/bin
-DGNOMESYSCONFDIR=\"/usr/local/etc\" -DVERSION=\""0.99.2"\"
-I/usr/X11R6/include -I/usr/local/lib/glib/include
-I/usr/local/include -g -O2 -Wall -Wno-unused -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith  -c goad.c
-I../support -I../support -I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/local/include
-DGNOMEBINDIR=/usr/local/bin -DGNOMESYSCONFDIR=\"/usr/local/etc\"
-DVERSION=\"0.99.2\" -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wall
-Wno-unused -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wp,-MD,.deps/goad.p -c -fPIC -DPIC goad.c
In file included from ../gnome.h:4,
                 from gnorba.h:6,
                 from goad.c:15:
../support/gnomesupport.h:20: warning: `struct dirent' declared inside 
parameter list
../support/gnomesupport.h:20: warning: its scope is only this
definition or declaration,
../support/gnomesupport.h:20: warning: which is probably not what you
In file included from goad.c:18:
/usr/include/dirent.h:181: conflicting types for `scandir'
../support/gnomesupport.h:20: previous declaration of `scandir'
goad.c: In function `goad_server_activate_shlib':
goad.c:741: warning: passing arg 3 of `g_module_symbol' from
incompatible pointer type
goad.c: In function `goad_server_register':
goad.c:1050: warning: return makes integer from pointer without a cast
goad.c: At top level:
goad.c:1152: warning: no previous prototype for
make[2]: *** [goad.lo] Error 1
make[2]: Leaving directory `/root/gnome-libs/libgnorba'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gnome-libs'
make: *** [all-recursive-am] Error 2

It looks like some other package needs to be updated, maybe?  But I'm
not sure which.  I've tried ORBit, since that seemed like a
possibility, but nothing.

Bruce Z. Lysik  <>

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