! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-panel fails to compile
Status:
RESOLVED: FIXED
Severity:
blocker
Product:
Xfce4-panel

Comments

Description Aries-Belgium 2007-03-13 01:30:08 CET
The new SVN trunk version of xfce4-panel won't compile anymore.
I get this error message:

mv -f .deps/libxfce4panel_la-xfce-panel-plugin-iface.Tpo .deps/libxfce4panel_la-xfce-panel-plugin-iface.Plo
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -O2 -march=k8 -fomit-frame-pointer -pipe -funroll-loops -export-dynamic -version-info 2:2:1    -o libxfce4panel.la -rpath /usr/lib libxfce4panel_la-xfce-panel-enum-types.lo libxfce4panel_la-xfce-marshal.lo libxfce4panel_la-xfce-panel-window.lo libxfce4panel_la-xfce-arrow-button.lo libxfce4panel_la-xfce-itembar.lo libxfce4panel_la-xfce-hvbox.lo libxfce4panel_la-xfce-panel-convenience.lo libxfce4panel_la-xfce-panel-external-item.lo libxfce4panel_la-xfce-panel-external-plugin.lo libxfce4panel_la-xfce-panel-internal-plugin.lo libxfce4panel_la-xfce-panel-item-iface.lo libxfce4panel_la-xfce-panel-plugin-iface.lo libxfce4panel_la-xfce-panel-macros.lo libxfce4panel_la-xfce-panel-plugin-messages.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L/usr/lib -lxfce4util -lglib-2.0   
x86_64-pc-linux-gnu-gcc -shared  .libs/libxfce4panel_la-xfce-panel-enum-types.o .libs/libxfce4panel_la-xfce-marshal.o .libs/libxfce4panel_la-xfce-panel-window.o .libs/libxfce4panel_la-xfce-arrow-button.o .libs/libxfce4panel_la-xfce-itembar.o .libs/libxfce4panel_la-xfce-hvbox.o .libs/libxfce4panel_la-xfce-panel-convenience.o .libs/libxfce4panel_la-xfce-panel-external-item.o .libs/libxfce4panel_la-xfce-panel-external-plugin.o .libs/libxfce4panel_la-xfce-panel-internal-plugin.o .libs/libxfce4panel_la-xfce-panel-item-iface.o .libs/libxfce4panel_la-xfce-panel-plugin-iface.o .libs/libxfce4panel_la-xfce-panel-macros.o .libs/libxfce4panel_la-xfce-panel-plugin-messages.o  /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so -L/usr/lib64 /usr/lib64/libgdk_pixbuf-2.0.so -lm /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl -L/usr/lib /usr/lib/libxfce4util.so /usr/lib64/libglib-2.0.so  -march=k8 -Wl,-soname -Wl,libxfce4panel.so.1 -o .libs/libxfce4panel.so.1.1.2
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libxfce4panel_la-xfce-panel-window.o: relocation R_X86_64_PC32 against `_xfce_marshal_VOID__INT_INT' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libxfce4panel.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999/libxfce4panel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-base/xfce4-panel-9999/work/xfce4-panel-9999'
make: *** [all] Error 2

I'm using Gentoo.
Comment 1 Nick Schermer editbugs 2007-03-14 08:17:56 CET
Can you try revision 25167?
Comment 2 Dustin C. Hatch 2007-03-14 17:55:35 CET
(In reply to comment #1)
> Can you try revision 25167?
> 

I get the same error, revision 25168.
Comment 3 Facundo Oliva 2007-03-15 01:34:18 CET
(In reply to comment #2)
> (In reply to comment #1)
> > Can you try revision 25167?
> > 
> 
> I get the same error, revision 25168.
> 

I'm having the same error here. =P
Comment 4 Facundo Oliva 2007-03-15 01:43:52 CET
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Can you try revision 25167?
> > > 
> > 
> > I get the same error, revision 25168.
> > 
> 
> I'm having the same error here. =P
> 

Oh, and I'm using Bluewhite64. 
Comment 5 Facundo Oliva 2007-03-27 13:19:41 CEST
Now the latest SVN trunk (25298) compiles with no problem at all. Don't know what was modified (nothing in my system, at least). :)
Comment 6 Nick Schermer editbugs 2007-03-27 13:42:02 CEST
Yeah I made some changes in the build system of the library (but not to fix this bug ^_^). Glad it works now...

Bug #3002

Reported by:
Aries-Belgium
Reported on: 2007-03-13
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
4.7 (master)

Attachments

Additional information