Package: xchat-systray Version: 2.4.5-1 Severity: normal Tags: patch When building 'xchat-systray' on amd64/unstable, I get the following error:
gcc -O3 -Wall `pkg-config --libs gtk+-2.0` src/away_system.o src/data_manager.o src/events.o src/menu.o src/settings.o src/warnings.o src/help.o src/eggtrayicon.o src/systray.o -shared -o systray.so /usr/bin/ld: src/away_system.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC src/away_system.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [systray.so] Error 1 make[1]: Leaving directory `/xchat-systray-2.4.5' make: *** [build-stamp] Error 2 With the attached patch 'xchat-systray' can be compiled on amd64. Regards Andreas Jochens diff -urN ../tmp-orig/xchat-systray-2.4.5/Makefile ./Makefile --- ../tmp-orig/xchat-systray-2.4.5/Makefile 2005-04-05 13:28:18.928047158 +0200 +++ ./Makefile 2005-04-05 13:28:16.716461819 +0200 @@ -1,5 +1,5 @@ #UNIX VARS -CFLAGS = -O3 -Wall +CFLAGS = -O3 -Wall -fPIC GTKFLAGS =`pkg-config --cflags gtk+-2.0` LIBS = `pkg-config --libs gtk+-2.0` mkdir = mkdir -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

