part-cw / lambdanative

LambdaNative is a cross-platform development environment written in Scheme, supporting Android, iOS, BlackBerry 10, OS X, Linux, Windows, OpenBSD, NetBSD, FreeBSD and OpenWrt.
http://www.lambdanative.org
Other
1.4k stars 86 forks source link

undefined reference to `BrotliDecoderDecompress' #428

Closed cidne closed 2 years ago

cidne commented 2 years ago

Followed instructions on Getting Started Wiki--installed all dependencies.

./configure Calculator verbose

(success)

make

Fails

Output of make attached: make.txt

mgorges commented 2 years ago

The error is one when performing static linking during freetype building. A quick search shows only a single occurrence of this elsewhere: https://github.com/microsoft/vcpkg/issues/21778.

/usr/bin/ld: /home/cidne/.cache/lambdanative/linux/lib/libpayload.a(sfnt.o): in function `woff2_decompress':
/home/cidne/.lambdanative/tmp_install/freetype-2.11.0/src/sfnt/sfwoff2.c:327: undefined reference to `BrotliDecoderDecompress'
collect2: error: ld returned 1 exit status

Could you try rolling libraries/libfreetype/make.sh back to an earlier version (we previously had 2.5.5 - see f45ecc2), or the latest one, which is 2.11.1 by changing the top two lines of the file to:

PKGURL=https://download.savannah.gnu.org/releases/freetype/freetype-2.11.1.tar.gz
PKGHASH=b92fc0b9f04d1f60a78e0e78723200d2b6d41dd8
cidne commented 2 years ago

Started working backwards--looks like the newest working version is freetype-2.10.1


PKGURL=https://download.savannah.gnu.org/releases/freetype/freetype-2.10.1.tar.gz
PKGHASH=3296b64ad1e7540289f22e4b6383e26e928b0a20