Skip to content
Browse files

firestarter: fix gcc linking to X11 issue

Fixes this error at compile time due to changes in gcc and/or binutils
usr/bin/ld: eggtrayicon.o: undefined reference to symbol 'XFlush'
/usr/bin/ld: note: 'XFlush' is defined in DSO /usr/lib/ so
try adding it to the linker command line
/usr/lib/ could not read symbols: Invalid operation
  • Loading branch information...
1 parent e324a98 commit 6dd4feae54c9908ac9d26fbaf73ca5c45b0b7b5a @fukawi2 committed Dec 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 firestarter/PKGBUILD
3 firestarter/PKGBUILD
@@ -13,7 +13,7 @@
pkgdesc="GUI fron-end for iptables"
arch=('i686' 'x86_64')
@@ -54,6 +54,7 @@ build() {
patch -Np1 -i ../menu-toolbar-icons-fix.patch
# Configure, Build and Install to $pkgdir
+ export LDFLAGS='-lX11'
./configure \
--prefix=/usr \
--sysconfdir=/etc \

0 comments on commit 6dd4fea

Please sign in to comment.
Something went wrong with that request. Please try again.