Re: Porting libtiff library

Irvanda Kurniadi <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CAPgw+iP2C3GcrrJjSoaABqpOZ8PJTqy7briNF8wc7fbPRH0YkQ@mail.gmail.com>
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

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.