------- Comment #6 from joefoxreal at gmail dot com  2007-11-28 07:36 -------
(In reply to comment #5)
> (In reply to comment #4)
> > Created an attachment (id=14651)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14651&action=view) [edit]
> > sorry, this is the 
> > config.log(x86_64-unknown-linux-gnu/libgfortran/config.log)
> > 
> You have either a broken installation of gmp or mpfr,
> or you have more than one version gmp or mpfr installed
> and your linking against the wrong with the right
> header files.  From your config.log, 
> configure:11304: /home/xmj/temp/mini-gcc/obj/./gcc/gfortran
> -B/home/xmj/temp/mini-gcc/obj/./gcc/
> -B/home/xmj/temp/mini-gcc/install/x86_64-unknown-linux-gnu/bin/
> -B/home/xmj/temp/mini-gcc/install/x86_64-unknown-linux-gnu/lib/ -isystem
> /home/xmj/temp/mini-gcc/install/x86_64-unknown-linux-gnu/include -isystem
> /home/xmj/temp/mini-gcc/install/x86_64-unknown-linux-gnu/sys-include -c  -o
> out/conftest2.o  conftest.f >&5
> /home/xmj/temp/mini-gcc/obj/./gcc/f951: symbol lookup error:
> /home/xmj/temp/mini-gcc/obj/./gcc/f951: undefined symbol:
> __gmp_get_memory_functions
> configure:11308: $? = 1
> This indicates that you need to fix your library iinstallation.

Yes, you're right. After I add the library path to the environment variable
LD_LIBRARY_PATH, it works.(for more information, see
http://www.mpfr.org/faq.html#undef_ref1)

Thanks


-- 

joefoxreal at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34242

Reply via email to