www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2017/10/02/16:44:58

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <59D2A61D.7070808@gmx.de>
Date: Mon, 02 Oct 2017 22:48:29 +0200
From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" <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: Undefined reference error in mpfr314b.
X-Provags-ID: V03:K0:e2HVb+M7BmbbZMENBg9h4VqXpB8jcff3YsNtPdLWpeTFRWNXMsB
66jWAV6+XK2DVb0zcvNp7YNrSySUCCnyRfwJl/M6M4xzmpRNBfuXUFk5AQZK9ZN11RB868n
Rs+icnt6eOz/5o6IgSwdkTj+6iMyK3hcO/XrHVDw5vuWMZIxrzD1df8665Sqkr6wBlq/5m7
IKJYp1FBo5f3cUmwUYMRA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:ojZw8uNAsPI=:alsQyTri35KXmOQpd0pwHl
GadepmI8vxavQI7dBm9OsiQ7l5tBy6R4l9QGOxhEd77BJokGtMHBDV46U0GAdj1FlnWGIYvBp
NPCdf9b3cjlt16F9qAFXNoo1wm5g6mH+cagA03CArnx2o0Fa9Uiwuifwh0DhMlMovye+b5mDt
Sl9A7X1IxNUWRT57S0etomiBPCef87sZsH1BuKA1AOPdT31Dqv33plVMJQuCI9pJSsXdrc8K6
kQjMOSe5EN89SaQHIVT9MsfGoE/8lkCR24WC3IeC58jiABhEediCUgvwKVUy7odHLguCpuz4X
BzX/q6JKB8mZs0sdG5xyd+l2jpzLiRBRKkDAWKPbvg/qMKEM+yEOyOkH27gKW1AcKnrAQ58vz
SxZGzxxtdn3fPyLlby8PuVQQ411DrTlHAUA/1VRo4D0wzLWU/HpAlUBYkn6Qu1GgqiG30bM3H
ukRRDdHlJZyOeAcQbDnCnGa0sT2P9Jsww6tmkZw91Lhqq92BSmv3xfD5IWFyOfjOzD7u/1jIz
mEl7CX7NkBnknwZrhyoh/vAwQjhnLV9B/wiZZBEiZhup5C0CcFzF1+Oej6O+BTzO6nK0na6ST
2Zy9oTuDGdz12RD/BB1J0lWBJQZTi5C55BCWHprZefDdb/1ST4qoVbTxbZgwY9OkfoFKcVDrV
qg8kAWIAoInnvnhHqW4+7dSXS4XvtvTqvUbKsPi7EwnL3CIb7w9TCuheHaNO2GxnIFYOeP5kw
/Ii7rm/2PBcWCSPERlrArfdu2yp9jUuR5sfz8XEBiT68bCP8xvg2tnXDcne5F3yaBlDAwNhWc
XuY/mNdn4OgTBrsSHEAcW729+oH/RFivgB1pzH+JE4BNeLmqU0=
Reply-To: djgpp AT delorie DOT com
Thread: Frames, NoFrames, TwoWindows

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

- Raw text -


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2014   by DJ Delorie     Updated Aug 2014