[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Linkage bug in ACEDB.



Dear ACEDB developers,

ACEDB is packaged and distributed in Debian and Ubuntu. Recently, it was
discovered in Ubuntu by Fabrice Coutadeur that ACEDB does not build with the
binutils-gold linker. This can be corrected by the following patch:

Description: add explicit link with libX11 as this is required by libgex.a.
 This fix a FTBFS with binutils-gold with the following error:
 "./libgex.a(graphgdkremote.o): undefined reference to symbol 'XFree'"
Author: Fabrice Coutadeur <fabricesp@ubuntu.com>

--- acedb-4.9.39+dfsg.01.orig/wmake/LINUX_4_DEF
+++ acedb-4.9.39+dfsg.01/wmake/LINUX_4_DEF
@@ -28,7 +28,7 @@ COMPILER = gcc $(COPT) -Wall  -DACEDB4 `
 LINKER = gcc $(COPT)
 
 # The arg to libs-config is used if our private copy not installed.
-LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline
+LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline -lX11
 
 ### Linux uses flex to emulate the standard 'lex' program
 LEX_LIBS = -lfl
--- acedb-4.9.39+dfsg.01.orig/wmake/LINUX_64_DEF
+++ acedb-4.9.39+dfsg.01/wmake/LINUX_64_DEF
@@ -28,7 +28,7 @@ COMPILER = gcc $(COPT) -Wall  -DACEDB4 `
 LINKER = gcc $(COPT)
 
 # The arg to libs-config is used if our private copy not installed.
-LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline
+LIBS = -L/usr/X11R6/lib `../w3rdparty/libs-config $(GTKVER)` -lm -lcurses -lreadline -lX11
 
 ### Linux uses flex to emulate the standard 'lex' program
 LEX_LIBS = -lfl

Best regards,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


Reply to: