From: Peter Korsgaard <peter@korsgaard.com>
To: Ralf Dragon <hypnotoad@lindra.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] problem compiling host-tiff-4.6.0
Date: Thu, 04 Apr 2024 17:37:40 +0200 [thread overview]
Message-ID: <8734s1qgu3.fsf@48ers.dk> (raw)
In-Reply-To: <40ae9b7a-21fb-4462-a891-eb1326bc7d56@lindra.de> (Ralf Dragon's message of "Mon, 1 Apr 2024 09:58:11 +0200")
>>>>> "Ralf" == Ralf Dragon <hypnotoad@lindra.de> writes:
> Dear all,
> for me in current master and 2024.02.x branches, the package
> host-tiff-4.6.0 fails to compile with:
Thanks for the heads up, reproduced here.
> ...
> libtool: link: /usr/bin/gcc -O2
> -I/home/dragon/src/ft/ftcommunity-TXT/output/build/rootfs/per-package/host-tiff/host/include
> -Wall -W -Wl,-rpath
> -Wl,/home/dragon/src/ft/ftcommunity-TXT/output/build/rootfs/per-package/host-tiff/host/lib
> -o tiffcp tiffcp.o
> -L/home/dragon/src/ft/ftcommunity-TXT/output/build/rootfs/per-package/host-tiff/host/lib
> ../libtiff/.libs/libtiff.so ../port/.libs/libport.a -lLerc -ljbig -lm
> -Wl,-rpath
> -Wl,/home/dragon/src/ft/ftcommunity-TXT/output/build/rootfs/build/host-tiff-4.6.0/libtiff/.libs
> -Wl,-rpath
> -Wl,/home/dragon/src/ft/ftcommunity-TXT/output/build/rootfs/per-package/host-tiff/host/lib
> /usr/bin/ld: ../libtiff/.libs/libtiff.so: undefined reference to
> `deflateInit_'
> /usr/bin/ld: ../libtiff/.libs/libtiff.so: undefined reference to `deflate'
> /usr/bin/ld: ../libtiff/.libs/libtiff.so: undefined reference to
> `deflateEnd'
> /usr/bin/ld: ../libtiff/.libs/libtiff.so: undefined reference to `inflate'
> ...
> It seems that the following diff fixes the problem, but I guess that
> the HOST_TIFF_CONF_OPTS were added in 91b16f for a reason and that the
> problem is a different.
Indeed. If you look closely to the failing line you see that you are
linking host-tiff with -lLerc and -ljbig. Presumably you have the
development packages for those libraries installed on your build host?
I have sent a series to explicitly disable lerc and jbig support in
tiff, which should fix the issue:
https://patchwork.ozlabs.org/project/buildroot/list/?series=401697
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-04-04 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-01 7:58 [Buildroot] problem compiling host-tiff-4.6.0 Ralf Dragon
2024-04-04 15:37 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8734s1qgu3.fsf@48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
--cc=hypnotoad@lindra.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox