GNOME Bugzilla – Bug 144204
compile fails on gda-config-tool undefined reference to `rl_completion_matches
Last modified: 2009-08-15 18:40:50 UTC
While compiling libgda 1.1.4 I get the following error: cc -g -I/usr/test/garnome/include -I/usr/X11R6/include -O2 -pipe -falign-functions=4 -mfancy-math-387 -march=athlon-tbird -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -o .libs/gda-config-tool gda-config-tool.o -Wl,--export-dynamic -L/usr/test/garnome/lib -L/usr/X11R6/lib ../libgda/.libs/libgda-2.so /usr/download/projects/garnome--kenny--2.7--patch-4/garnome/office/libgda/work/main.d/libgda-1.1.4/libsql/.libs/libgdasql.so -lreadline -lcurses -lhistory /usr/local/lib/libpopt.so -pthread /usr/test/garnome/lib/libgobject-2.0.so /usr/test/garnome/lib/libgthread-2.0.so /usr/test/garnome/lib/libgmodule-2.0.so -ldl /usr/test/garnome/lib/libglib-2.0.so /usr/test/garnome/lib/libxslt.so /usr/test/garnome/lib/libxml2.so -lpthread -lz -lm -Wl,--rpath -Wl,/usr/test/garnome/lib gda-config-tool.o(.text+0x190f): In function `completion_func': /usr/download/projects/garnome--kenny--2.7--patch-4/garnome/office/libgda/work/main.d/libgda-1.1.4/tools/gda-config-tool.c:1177: undefined reference to `rl_completion_matches' collect2: ld returned 1 exit status make[6]: *** [gda-config-tool] Error 1 make[5]: *** [all-recursive] Error 1 make[4]: *** [build-work/main.d/libgda-1.1.4/Makefile] Error 2 make[3]: *** [../../office/libgda/cookies/main.d/install] Error 2 make[2]: *** [../../office/libgnomedb/cookies/main.d/install] Error 2 make[1]: *** [../../mono/gtk-sharp/cookies/main.d/install] Error 2 make: *** [paranoid-install] Error 2 I'm running development gnome-2.7, gcc-3.4.0,glibc-2.3.2,kernel-2.6.6. Gnome 2.7. was built using the garnome system
hmm, seems configure.in is not working correctly, since it should detect you don't have libreadline headers and static libs and not compile gda-config-tool at all. What does running autogen.sh/configure show about readline?
I have compiled version 1.1.5 and 1.1.6 successfully the problems seem to be resolved in that release. Do you still wan't to investigate why this problem is occuring. 1 thing that was wrong with readline is that I had 2 releases installed in different locations. It might be that just as xine-ui libgda got confused by this
Closing then, reopen if it happens again