Error: Compilation of "xfce4" failed.
NGUYEN DAI Quy
vnpenguin at belgacom.net
Wed Apr 16 22:41:33 CEST 2003
Voicu Liviu wrote:
> Guys,
> Some 1 here need to pay me for beeing debuger :-)
>
> I just grabed the code from cvs and tried to compile it:
> Xfce4 modules does not compile:
>
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include
> -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include
> -I/usr/local/include/freetype2 -I/usr/local/include
> -I/usr/X11R6/include/startup-notification-1.0 -I/usr/X11R6/include
> -I/usr/X11R6/include -I/usr/local/include/xfce4
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/gtk-2.0
> -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0
> -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/xfce4 -I/usr/local/include/xfce4
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/libxml2 -I/usr/local/include
> -DDATADIR=\"/usr/local/share/xfce4\" -DLIBDIR=\"/usr/local/lib/xfce4\"
> -DSYSCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/local/share/locale\" -g3 -g
> -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -c -o
> xfce4_panel-main.o `test -f main.c || echo './'`main.c
> main.c: In function `save_yourself':
> main.c:66: `hidden' undeclared (first use in this function)
> main.c:66: (Each undeclared identifier is reported only once
> main.c:66: for each function it appears in.)
> main.c:74: warning: implicit declaration of function `gtk_event_pending'
> gmake[2]: *** [xfce4_panel-main.o] Error 1
> gmake[2]: Leaving directory `/tmp/xfce4/xfce-devel/xfce4/panel'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/tmp/xfce4/xfce-devel/xfce4'
> gmake: *** [all] Error 2
> Error: Compilation of "xfce4" failed.
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
>
>
Hi,
I have (the same?) error under RH9:
7. xfce4: ERROR
...
gcc -O2 -march=athlon -mcpu=athlon -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -o xfce4-panel xfce4_panel-controls.o xfce4_panel-controls_dialog.o
xfce4_panel-groups.o xfce4_panel-icons.o xfce4_panel-item.o xfce4_panel-item_dialog.o
xfce4_panel-main.o xfce4_panel-mcs_client.o xfce4_panel-panel.o xfce4_panel-popup.o
xfce4_panel-settings.o xfce4_panel-xfce_support.o -Wl,--export-dynamic -Wl,-R/usr/local/lib
-Wl,-R/usr/X11R6/lib -Wl,--export-dynamic -Wl,-R/usr/local/lib -Wl,-R/usr/X11R6/lib
-Wl,--export-dynamic -Wl,-R/usr/local/lib -Wl,--export-dynamic -L/usr/local/lib
-L/usr/X11R6/lib /usr/local/lib/libxfcegui4.so -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
/usr/local/lib/libxfce4mcs-client.so -lSM -lICE -lX11 /usr/local/lib/libxfce4util.so -lglib-2.0
/usr/lib/libxml2.so -lz -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
xfce4_panel-controls_dialog.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-groups.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-icons.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-item.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-item_dialog.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-main.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-panel.o(.bss+0x60): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-popup.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
xfce4_panel-settings.o(.bss+0x0): multiple definition of `icon_names'
xfce4_panel-controls.o(.bss+0x20): first defined here
collect2: ld returned 1 exit status
make[2]: *** [xfce4-panel] Error 1
make[2]: Leaving directory `/tmp/xfce-devel/xfce4/panel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xfce-devel/xfce4'
make: *** [all] Error 2
In fact, I posted a error message in this list but until now there is not solution yet ...
More information about the Xfce4-dev
mailing list