X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <59D53D70.5040006@gmx.de> Date: Wed, 04 Oct 2017 21:58:40 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Undefined reference error in mpfr314b. References: <59D2A61D DOT 7070808 AT gmx DOT de> <94a6f09c-cc5c-82c3-742c-97a633bb5cd7 AT iki DOT fi> In-Reply-To: <94a6f09c-cc5c-82c3-742c-97a633bb5cd7@iki.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:bR2yOTTNpbKP8kyVGqbHnoz9FEvT8tiHF5X6OPNPuEg5wPKSYJN RtLjG8aKw2V53KKgsxIoYUlbdiZ3/bugfNoO8kHrrK8jjkWbcX3d/a1RJaA1hlzThuArwOv ZPVDEgBMwPzxGn8rj+GRT9C80BW8WLhwIuyzYuUtvqYH0rIJHk6XJUb26B/eSw2P0BmcCeg fKx8ob2yUtVPFWz1el93Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:UKH5dwiY6Ro=:r5FlDnqUnIQxnGNIxfYauj KpsbSt5qJL8cgDwYP8sg5RaNrnxof6uupxXQAwjiSwmgdM/GTkOqQmdm3o9IBYFedhjn5yk+F dDtKH/VjDGsaimT5mw4xK4N0eYuSbtJUdSEkoCooHUmBUDlIMhLj8QRYll2+EWlvWMbFct84Y ETuJiPm8sEAzlP0di+kguBZ5ZfwKbB+P6QwlFQIoUfBGT13zpD57DbFfqCP1Qw4xR6eqtowqo 27hWVnz1IylJz1h1g8Swt8hNwKFKTUav8uYT/SyFvZzNIHHCJl627wm7PmsYYAmRtARWGBIxt 8VHzwrVXpjLCcrNlyvBUvb9DybpRXQ8pqZP2g29KMUNAQ1p9tpHCl7mNiio1qvxP1mvVB3nbO sCVgfDh1ZuOOvz1+HBGVTDbgf5R+a/HqJnN9SMnLzjbJ2iagjRn33dc+ZE1UEb45m18RpqoxR 2lw0vAuy79w9JaQpxIkAJBHeQHfLOZkbFRBRT+gfooiHZnoV6ugS5Zk3JlIcFbwSfV04GGjJC rFcFsAJM+P2ElANK+7KqolWC3cc2bY5hgWmcJ3PKhky79748sga5VGpJPv88LPPrFhozMn8pc vk6LpzFPqsNCDbstSEtswXXY1rIDu3otpAcEEWP4AvIpMgA3XSegWC6arp2oY3PZ1b7LDIX0b 4/7oAkM/bdoGiCwI9PVwQ/ASRxRj6WjuL+gF08B8/LiJufh5u6fjrD4KNPwOgk8zl5w+rlwhp 9Qq1Wdw3StUAviymOXIjA9q4lblwfvFhaXykrjCZZ8IF/wVQzaN5KqW2ip03uKHFoArzhIzBJ Wk1gtmjqaFtdNCuULbh2bA1fIqtKqd/I9jKJDrSFAT+Npld6Rk= Reply-To: djgpp AT delorie DOT com Am 04.10.2017 19:23, schrieb Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]: > On 10/02/2017 11:48 PM, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote: >> I have tried to compile an application that uses mpfr and thus needs >> to be linked with mpfr and gmp. I got the error message below: >> >> C:/DJGPP-2.05/BIN/make.exe all \ >> CC=gcc O=.o CF='-O2 -std=gnu99 -DHAVE_MPFR' \ >> LNK=LDJG LF=-s LF2='-lmpfr -lgmp -lm' \ >> BIND=BDJG >> make.exe[1]: Entering directory 'f:/gwk/gawk' >> gcc -s -o gawk.exe @gawk.rsp -lmpfr -lgmp -lm >> c:/djgpp-2.05/lib/libmpfr.a(exceptions.o): In function `mpfr_get_emin': >> d:/djdev/mpfr/gnu/mpfr-3.14/src/exceptions.c:41: undefined reference to `___emutls_get_address' >> c:/djgpp-2.05/lib/libmpfr.a(exceptions.o): In function `mpfr_set_emin': >> d:/djdev/mpfr/gnu/mpfr-3.14/src/exceptions.c:51: undefined reference to `___emutls_get_address' >> c:/djgpp-2.05/lib/libmpfr.a(exceptions.o): In function `mpfr_get_emax': >> d:/djdev/mpfr/gnu/mpfr-3.14/src/exceptions.c:77: undefined reference to `___emutls_get_address' >> c:/djgpp-2.05/lib/libmpfr.a(exceptions.o): In function `mpfr_set_emax': >> d:/djdev/mpfr/gnu/mpfr-3.14/src/exceptions.c:87: undefined reference to `___emutls_get_address' >> c:/djgpp-2.05/lib/libmpfr.a(exceptions.o): In function `mpfr_clear_flags': >> d:/djdev/mpfr/gnu/mpfr-3.14/src/exceptions.c:113: undefined reference to `___emutls_get_address' >> c:/djgpp-2.05/lib/libmpfr.a(exceptions.o):d:/djdev/mpfr/gnu/mpfr-3.14/src/exceptions.c:121: more undefined references to `___emutls_get_address' follow >> collect2: ld returned 1 exit status >> make.exe[1]: *** [Makefile:244: gawk.exe] Error 1 >> make.exe[1]: Leaving directory 'f:/gwk/gawk' >> make.exe: *** [Makefile:131: djgpp-mpfr] Error 2 >> >> I had expected that gmp612b.zip and mpfr314b.zip could be used >> out-of-the-box or am I missing something? > > Should be fixed in just uploaded files of MPFR-3.1.6 > > Perhaps no use to rebuild old versions. I jump moved them away to deleted/v2gnu. So 3.1.6 is only remaining version in current/v2gnu > > Andris > > OFYI, with the new version the application compiles and seems to run flawlessly. Thanks, Juan M. Guerrero