Bug#553953: FTBFS with binutils-gold

2011-01-02 Thread Ilya Barygin
tags 553953 patch
thanks

Hello,

Attached is the patch we used in Ubuntu to fix this problem.
--- aview-1.3.0rc1.orig/Makefile.in
+++ aview-1.3.0rc1/Makefile.in
@@ -81,7 +81,7 @@
 DEFS = @DEFS@ -I. -I$(srcdir) -I.
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -lm
 aview_OBJECTS =  image.o main.o shrink.o ui.o
 aview_LDADD = $(LDADD)
 aview_DEPENDENCIES = 


Bug#553953: FTBFS with binutils-gold

2009-11-02 Thread Peter Fritzsche
Package: aview
Version: 1.3.0rc1-8.1
Severity: normal

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.

cc  -g -O2 -g -Wall -O2 -I/usr/include  -o aview  image.o main.o shrink.o ui.o  
-L/usr/lib -laa
/usr/bin/ld: shrink.o: in function shrink:shrink.c:91: error: undefined 
reference to 'floor'
/usr/bin/ld: shrink.o: in function shrink:shrink.c:15: error: undefined 
reference to 'floor'
/usr/bin/ld: shrink.o: in function shrink:shrink.c:91: error: undefined 
reference to 'floor'
/usr/bin/ld: shrink.o: in function shrink:shrink.c:36: error: undefined 
reference to 'floor'
collect2: ld returned 1 exit status
make[1]: *** [aview] Error 1




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org