make fails for last cvs for loki_setup

Olivier Kaloudoff kalou at kalou.net
Thu Dec 2 13:13:41 EST 2004


Hi,


  	I'm trying to compile the cvs from today for loki_setup,
unfortunatelly I'm getting some errors that I don't really understand.

  	I'm using linux Fedora Core 2, and the following versions of gcc 
and libglade:

kalou at from rpm -qa | grep glade
libglade2-2.3.6-1
glade-0.6.4-11
libglade2-devel-2.3.6-1

kalou at from gcc --version
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)


kalou at from export CFLAGS=-I/usr/include/libglade-2.0

kalou at from make
make -C plugins all
make[1]: Entering directory `/usr/src/loki/loki_setup/plugins'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/loki/loki_setup/plugins'
make -C dialog all
make[1]: Entering directory `/usr/src/loki/loki_setup/dialog'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/loki/loki_setup/dialog'
gcc  -o setup log.o install_log.o detect.o plugins.o network.o install.o 
copy.o file.o loki_launchurl.o main.o  console_ui.o dialog_ui.o 
plugins/libplugins.a  dialog/libdialog.a 
/usr/src/loki/loki_setup/../loki_setupdb/x86/libsetupdb.a 
-L/usr/local/lib -lutil  -Wl,-Bstatic -L/usr/lib -lxml -Wl,-Bstatic 
-Wl,-Bstatic -lz -Wl,-Bdynamic -lm  -Wl,-Bstatic -lncurses -Wl,-Bdynamic 
-lgpm
gcc -I/usr/include/libglade-2.0 -fsigned-char -funroll-loops -Wall -g -O2 
-I.  -I/usr/X11R6/include -D_REENTRANT 
-I/usr/src/loki/loki_setup/../loki_setupdb -I/usr/include/gnome-xml 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-I/usr/X11R6/include -DENABLE_DIALOG -I/usr/X11R6/include 
-I/usr/local/include -DSTUB_UI -DSETUP_VERSION_MAJOR=1 
-DSETUP_VERSION_MINOR=6 -DSETUP_VERSION_RELEASE=4 
-DSETUP_VERSION=\"1.6.4\" -DSU_PATH=\"/bin/su\" 
-DMOUNT_PATH=\"/bin/mount\" -DUMOUNT_PATH=\"/bin/umount\" -DDATADIR=\".\" 
-DLOCALEDIR=\"locale\" -DLOKI_PREFIX=\"loki\"   -c -o gtk_ui.o gtk_ui.c
In file included from /usr/include/libglade-2.0/glade/glade.h:27,
                   from gtk_ui.c:94:
/usr/include/libglade-2.0/glade/glade-init.h:31: error: syntax error 
before "void"
In file included from /usr/include/libglade-2.0/glade/glade.h:28,
                   from gtk_ui.c:94:
/usr/include/libglade-2.0/glade/glade-xml.h:29: error: syntax error before 
"G_BEGIN_DECLS"
/usr/include/libglade-2.0/glade/glade-xml.h:38: error: syntax error before 
"typedef"
/usr/include/libglade-2.0/glade/glade-xml.h:44: error: syntax error before 
"GObject"
/usr/include/libglade-2.0/glade/glade-xml.h:44: warning: no semicolon at 
end of struct or union
/usr/include/libglade-2.0/glade/glade-xml.h:50: error: syntax error before 
'}' token
/usr/include/libglade-2.0/glade/glade-xml.h:53: error: syntax error before 
"GObjectClass"
/usr/include/libglade-2.0/glade/glade-xml.h:53: warning: no semicolon at 
end of struct or union
/usr/include/libglade-2.0/glade/glade-xml.h:56: error: syntax error before 
'*' token
/usr/include/libglade-2.0/glade/glade-xml.h:56: warning: type defaults to 
`int' in declaration of `GType'
/usr/include/libglade-2.0/glade/glade-xml.h:56: error: `GType' declared as 
function returning a function
/usr/include/libglade-2.0/glade/glade-xml.h:56: warning: data definition 
has no type or storage class
/usr/include/libglade-2.0/glade/glade-xml.h:57: error: syntax error before 
'}' token
/usr/include/libglade-2.0/glade/glade-xml.h:59: error: syntax error before 
"glade_xml_get_type"
/usr/include/libglade-2.0/glade/glade-xml.h:59: warning: type defaults to 
`int' in declaration of `glade_xml_get_type'
/usr/include/libglade-2.0/glade/glade-xml.h:59: warning: data definition 
has no type or storage class
/usr/include/libglade-2.0/glade/glade-xml.h:71: error: syntax error before 
"GCallback"
/usr/include/libglade-2.0/glade/glade-xml.h:74: error: syntax error before 
"GCallback"
/usr/include/libglade-2.0/glade/glade-xml.h:88: error: syntax error before 
"GObject"
In file included from install.h:6,
                   from gtk_ui.c:96:
/usr/src/loki/loki_setupdb/setupdb.h:24: error: syntax error before 
"struct"
gtk_ui.c: In function `setup_button_view_readme_slot':
gtk_ui.c:373: error: too few arguments to function `glade_xml_new'
gtk_ui.c: In function `setup_checkbox_option_slot':
gtk_ui.c:753: error: too few arguments to function `glade_xml_new'
gtk_ui.c: In function `gtkui_init':
gtk_ui.c:1473: error: too few arguments to function `glade_xml_new'
gtk_ui.c: In function `gtkui_license':
gtk_ui.c:1657: error: too few arguments to function `glade_xml_new'
make: *** [gtk_ui.o] Error 1




Any ideas ?






More information about the Lokisetup mailing list