Control: tags -1 patch Attached.
Description: undefined reference to `z_uncompress' Currently the lib is underlinked which is a violation of ยง10.2 libpthread is also missing from the compilation line. compress/uncompress are only available when compiling with -DZ_SOLO Author: Mathieu Malaterre <ma...@debian.org> Bug-Debian: https://bugs.debian.org/775699
Index: gaviotatb-0.4/Makefile =================================================================== --- gaviotatb-0.4.orig/Makefile +++ gaviotatb-0.4/Makefile @@ -49,7 +49,7 @@ $(LIBNAME): $(OBJFILES) $(AR) rcs $@ $(OBJFILES) $(SONAME): $(OBJFILES) - $(CC) -shared $(OBJFILES) -Wl,-soname=$(SONAME).$(SOMAJORVERSION) -o $(SONAME).$(SOVERSION) + $(CC) -shared $(OBJFILES) -Wl,-soname=$(SONAME).$(SOMAJORVERSION) -o $(SONAME).$(SOVERSION) -lz -lpthread opt: $(MAKE) $(LIBNAME) \ Index: gaviotatb-0.4/compression/wrap.c =================================================================== --- gaviotatb-0.4.orig/compression/wrap.c +++ gaviotatb-0.4/compression/wrap.c @@ -42,6 +42,7 @@ Copyright (c) 2010 Miguel A. Ballicora #endif #if defined(ZLIB) +#define Z_SOLO #include "zlib.h" #endif