[Pkg-kde-extras] Bug#554309: FTBFS with binutils-gold
tags 554309 patch thanks Hello, The following patch was applied in Ubuntu to fix this problem. https://launchpad.net/ubuntu/+source/dvr/3.2-9.2ubuntu1 diff -u dvr-3.2/dvr-qtgui/Makefile dvr-3.2/dvr-qtgui/Makefile --- dvr-3.2/dvr-qtgui/Makefile +++ dvr-3.2/dvr-qtgui/Makefile @@ -11,7 +11,7 @@ CXX=g++ CC=gcc CXXFLAGS=-Wall -O2 -I../lib -DQT_THREAD_SUPPORT -DVERSION=\"${version}\" -LDFLAGS=-lqt-mt -lpthread -lXxf86vm -lXext -lXv -L/usr/X11R6/lib -L../lib -ldvr +LDFLAGS=-lqt-mt -lpthread -lXxf86vm -lXext -lXv -L/usr/X11R6/lib -L../lib -ldvr -lX11 ## generic part -include .config diff -u dvr-3.2/dvr-console/Makefile dvr-3.2/dvr-console/Makefile --- dvr-3.2/dvr-console/Makefile +++ dvr-3.2/dvr-console/Makefile @@ -5,7 +5,7 @@ INCLUDE=`avifile-config --cflags` CXXFLAGS=-Wall -O2 -I../lib -g $(INCLUDE) -LDFLAGS=-lz -L/usr/local/lib -laviplay -L../lib -ldvr +LDFLAGS=-lz -L/usr/local/lib -laviplay -L../lib -ldvr -lpthread ## generic part all: $(AIM) ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras
[Pkg-kde-extras] Bug#554309: FTBFS with binutils-gold
Source: dvr Version: 3.2-9.1 Severity: minor User: peter.fritzs...@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 g++ -o dvr-console main.o conf_analysis_yy.o ../lib/libdvr.a -lz -L/usr/local/lib -laviplay -L../lib -ldvr /usr/bin/ld: ../lib/libdvr.a(dvr.o): in function DVR::stopRecording():dvr.cpp:417: error: undefined reference to 'pthread_join' /usr/bin/ld: ../lib/libdvr.a(dvr.o): in function DVR::stopRecording():dvr.cpp:418: error: undefined reference to 'pthread_join' /usr/bin/ld: ../lib/libdvr.a(dvr.o): in function DVR::stopRecording():dvr.cpp:420: error: undefined reference to 'pthread_join' /usr/bin/ld: ../lib/libdvr.a(dvr.o): in function DVR::startRecording():dvr.cpp:391: error: undefined reference to 'pthread_create' /usr/bin/ld: ../lib/libdvr.a(dvr.o): in function DVR::startRecording():dvr.cpp:392: error: undefined reference to 'pthread_create' /usr/bin/ld: ../lib/libdvr.a(dvr.o): in function DVR::startRecording():dvr.cpp:394: error: undefined reference to 'pthread_create' collect2: ld returned 1 exit status make[2]: *** [dvr-console] Error 1 ___ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras