X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=g2issmZru/Vt7OzaBRuF5sFr7der/B+8LE2UfO7Z6/4=; b=aG/8lmxHFlyT0/dlsIP8+z7ORKOr/imPgQWa+1l0XkuJrz0PvyeWBuNE3EcrKWbYGm taEairX4ztDBQSE5VHljHzcgx5rjSzLqhCpmFFzL+WDAXab2Z83jTh6N2SD3D0IXlcuA fsoydvmwaIFlxpCrWAYmMhhgVMxQZ1Lc3m2tLi24uUgDoDH58u//E4ZFTQuHKzPKEkCw XXufeH8PirIIToZAs5q/MfWWEmEi0rYPhQ0AV0LH7ceDHFYK6ITxsgNZyWFj9Wv1BVlP 4nWR4DKdUvHl6ugs6t5a1vDIJiKMSu41yZNtopfZureRK0YsbuhneNFRAr2h61XgxgeL nlww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=g2issmZru/Vt7OzaBRuF5sFr7der/B+8LE2UfO7Z6/4=; b=ZkAPV8RCQXuXOaCmIvDLOFcuwTy73+pde++k82Dn84LnnRfAKCUJl9a/CX1qbJd/ai thlgLR8QpxEkbAypBF+osWwQ7fo0Uh2TN3mb9zSYaVqk6E+SWjr6rt/T92VKpsuMmt7+ t+oGv4UWxZFNmUxovpcpMLnjDSuOTk92BR7yISaEi7La2xXmxHo9ViATilfsF6ENxBC0 eaHicY3IJmmV2UBlgUq9qjKfCbnAY6BHO3ElVDAX2amImnPm7Ij+CEwk9Tet/CUSh56W pLmZeqY1q3wBO3bbYg5mOq3qiiSwkuBc8ijACS1WfuvAtranblu28xpuoCOr/GDbfW3a F+rA== X-Gm-Message-State: AMCzsaXiEJtsUZFGHnxNryepAZvX3DK/1JZTZND7hDXsIh0Zyv+rGU+Y djNqHPEhzRMUDGj5GLbqBBmhr/CD4dCyl8syyIY= X-Google-Smtp-Source: AOwi7QAugRSCjbcCKlKIH/9YoaJwiQzxIQ5SKAd5gVdELb3I4zGkpbbkwmHrYfYd1tlGJO6MBLuwDayjwq3OkH2Yghk= X-Received: by 10.36.74.66 with SMTP id k63mr855522itb.133.1506979427644; Mon, 02 Oct 2017 14:23:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <59D2A61D.7070808@gmx.de> References: <59D2A61D DOT 7070808 AT gmx DOT de> From: "Louis Santillan (lpsantil AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Mon, 2 Oct 2017 14:23:47 -0700 Message-ID: Subject: Re: Undefined reference error in mpfr314b. To: "djgpp AT delorie DOT com" Content-Type: text/plain; charset="UTF-8" Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Is that Thread Local Storage Emulation references that are being missed? Maybe turn off threads in `./configure` step? On Mon, Oct 2, 2017 at 1: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? > > > Regards, > Juan M. Guerrero