ld: symbol(s) not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I added GMP & MPFR folders into GCC source code folder .......

configured GCC ... into different directory named objdir which is
outside gcc source code folder.

Now I am doing "make" .... but it gives the following error:

.
.
.
"_mpfr_tan", referenced from:
     _mpfr_tan$non_lazy_ptr in libbackend.a(builtins.o)
 "_mpfr_sin", referenced from:
     _mpfr_sin$non_lazy_ptr in libbackend.a(builtins.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

I am on MAC OS X 10.5.7. GCC I am trynig to compile is 4.4.1 & GMP i
am using is gmp-4.2.4 & mpfr-2.4.1

Exact commands I wrote:

$pwd
/Users/Ankit/objdir

$../gcc-4.4.1/configure --prefix=/Users/Ankit/gcc-bin/

It creates a makefile after this.Then I type

$make

& after 5 mins it gives me the above mentioned error & stops the process :(

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux