This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: gcc4.3 configuring problems with mpfr


Swapna Pawar wrote:
configure:4542: checking for correct version of mpfr.h
configure:4573: i386-pc-mingw32msvc-gcc -o conftest.exe -O2
-I/home/manjunathm1/gmp/prefix/include
-I/home/manjunathm1/mpfr/prefix/include   conftest.c  -L/h
ome/manjunathm1/gmp/prefix/lib -L/home/manjunathm1/mpfr/prefix/lib
-lmpfr -lgmp >&5
/tmp/cc9dzbXZ.o(.text+0x23):conftest.c: undefined reference to
`mpfr_init'

Are the -I and -L options correct?


Run the command by hand with --save-temps and look at the .i file and verify that the right header files got included.

Run the command by hand with -Wl,--verbose and verify that the right libraries got linked in.

Look at the installed libraries and make sure that they contain the functions in question, i.e. make sure that they were built and installed correctly.

Maybe try installing gmp and mpfr in the same place instead of in two different places?

Jim


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