[Debian-ha-maintainers] Bug#554798: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Fri Nov 6 16:38:42 UTC 2009


Source: heartbeat
Version: 2.1.4-7
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../../libtool --tag=CC  --tag=CC   --mode=link gcc -std=gnu99  -Wall -g -O2  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing   -ggdb3 -funsigned-char   -o drbd-peer-outdater drbd-peer-outdater.o ../../lib/clplumbing/libplumb.la -lgnutls -lbz2 -lz -lxml2 -lc -luuid -lpam -lrt -ldl  -lltdl
gcc -std=gnu99 -Wall -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -o .libs/drbd-peer-outdater drbd-peer-outdater.o  ../../lib/clplumbing/.libs/libplumb.so /usr/lib/libgnutls.so -lbz2 -lz /usr/lib/libxml2.so -lc -luuid -lpam -lrt -ldl /usr/lib/libltdl.so  -Wl,--rpath -Wl,/usr/lib64
/usr/bin/ld: drbd-peer-outdater.o: in function init_dopd_client_ipc_comms:drbd-peer-outdater.c:157: error: undefined reference to 'g_str_equal'
/usr/bin/ld: drbd-peer-outdater.o: in function init_dopd_client_ipc_comms:drbd-peer-outdater.c:157: error: undefined reference to 'g_str_hash'
/usr/bin/ld: drbd-peer-outdater.o: in function init_dopd_client_ipc_comms:drbd-peer-outdater.c:157: error: undefined reference to 'g_hash_table_new'
/usr/bin/ld: drbd-peer-outdater.o: in function init_dopd_client_ipc_comms:drbd-peer-outdater.c:158: error: undefined reference to 'g_hash_table_insert'
/usr/bin/ld: drbd-peer-outdater.o: in function init_dopd_client_ipc_comms:drbd-peer-outdater.c:161: error: undefined reference to 'g_hash_table_destroy'
/usr/bin/ld: drbd-peer-outdater.o: in function main:drbd-peer-outdater.c:250: error: undefined reference to 'g_main_loop_new'
/usr/bin/ld: drbd-peer-outdater.o: in function main:drbd-peer-outdater.c:278: error: undefined reference to 'g_main_loop_run'
/usr/bin/ld: drbd-peer-outdater.o: in function outdater_timeout_dispatch:drbd-peer-outdater.c:129: error: undefined reference to 'g_main_loop_is_running'
/usr/bin/ld: drbd-peer-outdater.o: in function outdater_timeout_dispatch:drbd-peer-outdater.c:130: error: undefined reference to 'g_main_loop_quit'
/usr/bin/ld: drbd-peer-outdater.o: in function outdate_callback:drbd-peer-outdater.c:98: error: undefined reference to 'g_main_loop_is_running'
/usr/bin/ld: drbd-peer-outdater.o: in function outdate_callback:drbd-peer-outdater.c:100: error: undefined reference to 'g_main_loop_quit'
/usr/bin/ld: drbd-peer-outdater.o: in function outdate_callback:drbd-peer-outdater.c:109: error: undefined reference to 'g_main_loop_is_running'
/usr/bin/ld: drbd-peer-outdater.o: in function outdate_callback:drbd-peer-outdater.c:110: error: undefined reference to 'g_main_loop_quit'
collect2: ld returned 1 exit status
make[3]: *** [drbd-peer-outdater] Error 1





More information about the Debian-ha-maintainers mailing list