Package: abr2gbr Version: 1:1.0.2-2 Severity: wishlist Tags: patch Hi,
abr2gbr fails to build, if --as-needed is used as a linker flag [1,2]. The reason is that --as-needed enforces a strict ordering for linking (symbol users in front of symbol definitions). Attached is a patch that fixes the problem. Cheers, Stefan. [1]: <http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/abr2gbr_1:1.0.2-2_lubuntu32.buildlog> [2]: <http://people.ubuntuwire.org/~lucas/ubuntu-nbs/64/abr2gbr_1:1.0.2-2_lubuntu64.buildlog> -- System Information: Debian Release: squeeze/sid APT prefers natty-updates APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-10-generic (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Index: abr2gbr-1.0.2/Makefile =================================================================== --- abr2gbr-1.0.2.orig/Makefile 2010-12-19 13:55:44.482866917 +0100 +++ abr2gbr-1.0.2/Makefile 2010-12-19 13:55:58.592866917 +0100 @@ -44,7 +44,7 @@ $(CC) -o $@ $(CFLAGS) -c $< $(OBJDIR)/$(BIN): $(DESTS) - $(CC) -o $@ $(CFLAGS) $(LIBS) $(DESTS) + $(CC) -o $@ $(CFLAGS) $(DESTS) $(LIBS) if [ ! -L $(BIN) ]; then \ ln -s $(OBJDIR)/$(BIN) .; \ ln -s $(OBJDIR)/$(BIN) jbr2gbr; \