Le 14/06/2022 à 18:54, Jonas Hahnfeld a écrit :
On Tue, 2022-06-14 at 18:43 +0200, Jean Abou Samra wrote:
Hi,

I tried to use the binary generation system to cross-compile LilyPond
for MingW. (My initial aim was to build a binary with debugging symbols
in order to investigate https://gitlab.com/lilypond/lilypond/-/issues/6361.
It looks like Jonas has an idea about that issue, but I am interested
in understanding the compilation system nevertheless).

Building dependencies went fine, but building LilyPond fails:
(actually, building the dependencies succeeded but still something went
wrong which only comes to bite when linking the lilypond executable.)

/usr/bin/x86_64-w64-mingw32-ld:
/home/jean/repos/lilypond/release/binaries/mingw/dependencies/install/pango-1.50.6/lib/libpango-1.0.a(pango-bidi-type.c.obj):pango-bidi-typ:(.text+0x6):
undefined reference to `__imp_fribidi_get_bidi_type'
/usr/bin/x86_64-w64-mingw32-ld:
/home/jean/repos/lilypond/release/binaries/mingw/dependencies/install/pango-1.50.6/lib/libpango-1.0.a(pango-bidi-type.c.obj):pango-bidi-typ:(.text+0x313):
undefined reference to `__imp_fribidi_get_bidi_type'
/usr/bin/x86_64-w64-mingw32-ld:
/home/jean/repos/lilypond/release/binaries/mingw/dependencies/install/pango-1.50.6/lib/libpango-1.0.a(pango-bidi-type.c.obj):pango-bidi-typ:(.text+0x338):
undefined reference to `__imp_fribidi_get_bracket'
/usr/bin/x86_64-w64-mingw32-ld:
/home/jean/repos/lilypond/release/binaries/mingw/dependencies/install/pango-1.50.6/lib/libpango-1.0.a(pango-bidi-type.c.obj):pango-bidi-typ:(.text+0x3b0):
undefined reference to `__imp_fribidi_get_par_embedding_levels_ex'
/usr/bin/x86_64-w64-mingw32-ld:
/home/jean/repos/lilypond/release/binaries/mingw/dependencies/install/pango-1.50.6/lib/libpango-1.0.a(pango-bidi-type.c.obj):pango-bidi-typ:(.text+0x486):
undefined reference to `__imp_fribidi_get_bidi_type'
collect2: error: ld returned 1 exit status


Full log attached.

Any ideas?
Searching the mailing list archives?
https://lists.gnu.org/archive/html/lilypond-devel/2021-12/msg00080.html
in particular
https://lists.gnu.org/archive/html/lilypond-devel/2021-12/msg00097.html


Thanks! That did the trick.

Reply via email to