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

Peter Fritzsche peter.fritzsche at gmx.de
Sun Nov 15 10:29:48 UTC 2009


Source: redhat-cluster
Version: 3.0.2-5
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

gcc -o dlm_controld action.o cpg.o crc.o deadlock.o main.o netlink.o plock.o group.o config.o member_cman.o logging.o ../lib/libgroup.a ../../fence/libfenced/libfenced.a     -L/home/peter/rebuild/build/redhat-cluster/redhat-cluster-3.0.2/dlm/libdlm -ldlm  -L/home/peter/rebuild/build/redhat-cluster/redhat-cluster-3.0.2/common/liblogthread -llogthread -L/usr/lib/openais -lSaCkpt -L/usr/lib/corosync -lcpg  -L../lib -lgroup -L/usr/lib -L/home/peter/rebuild/build/redhat-cluster/redhat-cluster-3.0.2/config/libs/libccsconfdb -L/home/peter/rebuild/build/redhat-cluster/redhat-cluster-3.0.2/cman/lib -lccs -lcman -L../../fence/libfenced/ -lfenced
/usr/bin/ld: main.o: in function main:/home/peter/rebuild/build/redhat-cluster/redhat-cluster-3.0.2/group/dlm_controld/main.c:838: error: undefined reference to 'pthread_create'
collect2: ld returned 1 exit status
make[3]: *** [dlm_controld] Error 1





More information about the Debian-ha-maintainers mailing list