On Sun, 12 Jan 2014 23:17:12 +0100, Adam Lackorzynski wrote:
> After I ported libtiff library then I tried to compile simple tiff
> program, I found this error:
>
> TLS definition in libuc_c.a(errno.o) section .tbss mismatches non-TLS
>  reference in libtiff.so
>
> libuc_c.a: could not read symbols: Bad value
>
>
> What does it mean?

Looks like a shared libtiff is being linked to an otherwise static
program. How does the Makefile of your libtiff program look like?

This is the Makefile of my libtiff program:

PKGDIR          ?= ../..
L4DIR             ?= $(PKGDIR)/../..

DEPENDS_PKGS    = libtiff
REQUIRES_LIBS     = libtiff
TARGET                  = tiff_test

SRC_C           = tiff_test.c
LDFLAGS        = -ltiff

include $(L4DIR)/mk/prog.mk

regards,
Irvanda