This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MPFR error


Please reply to the mailing list, not to my personal address; see http://www.eyrie.org/~eagle/faqs/questions.html for why. Also, in this case, I don't know enough to have any other suggestions; thus, I'm forwarding this to the list in hopes someone else might.

Jenn-Ching Luo wrote:
Brooks Moses wrote:
Is it possible that ld is picking up a different libmpfr.a file than the
one you're looking at?

Only a copy of mpfr library for the target is installed. If I put all the files in the same directory, for example,

gcc ....... libmpfr.a libgmp.a

There is no library path in the command. "ld" couldnot find the symbol,
either, and shows the same error "undefined reference". I checked the index
table of libmpfr.a, the symbol is in the library. Object can be extracted.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]