ld: symbol(s) not found during make

Ankit Mahanot ankit1986@gmail.com
Sun Nov 1 09:30:00 GMT 2009


I have three folders
- gcc-4.4.1
- gcc-build
- gcc-bin

I am currently in gcc-build.

I did ../gcc-4.4.1/configure --prefix=/Users/Ankit/gcc-bin

it created the makefil in gcc-build.

then I did "make"

it gave me the following error after 10-15 mins :(

.
.
.
_ix86_expand_builtin in libbackend.a(i386.o)
      _ix86_expand_builtin in libbackend.a(i386.o)
      _ix86_expand_builtin in libbackend.a(i386.o)
      _ix86_expand_builtin in libbackend.a(i386.o)
      _ix86_expand_builtin in libbackend.a(i386.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 have compiled GCC before also & it worked fine. But I now it's happening :(

Regards
Ankit Mahanot



More information about the Gcc-help mailing list