! 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 !
Compilation error of the xfce-panel's systray plugin (SVN-HEAD)
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Facundo Oliva 2007-09-13 01:34:40 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20070802 Firefox/2.0.0.6
Build Identifier: 

When I tried to compile xfce-panel I've got this error:

/usr/lib/gcc/x86_64-pc-linux/4.1.2/../../../../x86_64-pc-linux/bin/ld: .libs/libsystray_la-xfce-tray-manager.o: relocation R_X86_64_PC32 against `_xfce_tray_marshal_VOID__OBJECT_STRING_LONG_LONG' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux/4.1.2/../../../../x86_64-pc-linux/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libsystray.la] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I always pass the -fPIC value through the CFLAGS variable. Also tested without that flag with no success at all. My GCC version is 4.1.2.

I'm using the latest SVN version.


Reproducible: Always

Steps to Reproduce:
Compilation on X86_64.
Comment 1 Nick Schermer editbugs 2007-09-13 08:17:03 CEST
It's probably a problem on your side, but since the message code is not used in the tray (yet) it can be disabled. Please try revision >= 26077.
Comment 2 Facundo Oliva 2007-09-13 10:58:39 CEST
Now it worked. What can be causing this error on my side (gcc, gtk, glib, etc)?
Comment 3 Nick Schermer editbugs 2007-09-13 12:41:28 CEST
Depends, you can find some info here: http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3

Bug #3544

Reported by:
Facundo Oliva
Reported on: 2007-09-13
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information