Porting libtiff library

Irvanda Kurniadi irvanda.k at gmail.com
Thu Jan 16 01:45:43 CET 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20140116/3f1d7983/attachment.html>


More information about the l4-hackers mailing list