tags 576637 + patch
thanks

On 2010-04-06 06:41 +0200, Sven Joachim wrote:

> Package: cpio
> Version: 2.11-1
> Severity: serious
>
> The linker complains about a multiple definition of `fatal_exit':
>
> ,----
> | % LANG=C debian/rules build
> | [...]
> |   CCLD   mt
> | fatal.o: In function `fatal_exit':
> | /usr/local/src/deb-src/cpio/cpio-2.11/obj/src/../../src/fatal.c:24: 
> multiple definition of `fatal_exit'
> | mt.o:/usr/local/src/deb-src/cpio/cpio-2.11/obj/src/../../src/mt.c:312: 
> first defined here
> | collect2: ld returned 1 exit status
> | make[3]: *** [mt] Error 1
> `----

I don't know why this error did not happen on the buildds, but here is a
patch for it:

--8<---------------cut here---------------start------------->8---
--- src/Makefile.am~    2010-04-06 06:21:35.000000000 +0200
+++ src/Makefile.am     2010-04-06 11:12:59.870544716 +0200
@@ -39,8 +39,7 @@
  userspec.c
 
 mt_SOURCES = \
- mt.c\
- fatal.c
+ mt.c
 
 noinst_HEADERS =\
  cpio.h\
--8<---------------cut here---------------end--------------->8---

Sven



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

Reply via email to