From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: gnat via msys2 pacman + xml/ada Date: Wed, 19 Sep 2018 15:54:39 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="44bd55d3000cda42d46ebd754f5c3151"; logging-data="24752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iC4bHQsINUOixt5GXhUJYvQW+5gOi4JY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:Oc3FuCC9KyTv4l1iDpp1nMBGKEQ= sha1:jXqrDPiHh/Y5NHUMxZzj6Ch7mQs= Xref: reader02.eternal-september.org comp.lang.ada:54370 Date: 2018-09-19T15:54:39+01:00 List-Id: Björn Lundin writes: > gprbuild -j0 -m -p -XLIBRARY_TYPE=relocatable -XBUILD=Production > -XPROCESSORS=0 xmlada.gpr > Build Libraries > [gprlib] xmlada_unicode.lexch > [link library] libxmlada_unicode.dll > d:/apps/tools/mingw2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: > D:\apps\tools\MinGW2\xmlada_tmp\tags\xmlada-4.6.1\unicode\obj\relocatable\unicode-ccs-iso_8859_1.o:unicode-ccs-iso_8859_1.adb:(.text+0x54): > undefined reference to `system__img_uns__set_image_unsigned' etc - I've no idea how to go about fixing this Windows/mingw problem, other than to try to sidestep it by not trying to build the shared (relocatable) library (try configuring with --disable-shared). You shouldn't need to rebuild gprbuild, not sure why anyone's suggesting it.