Re: Compiling problem with gcc4.5 libgcc

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

 



So I looked into the file and found this:
configure:3020: /home/juju/Downloads/gcc/./gcc/xgcc
-B/home/juju/Downloads/gcc/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    -o conftest -g -O2  
conftest.c >&5

/home/juju/Downloads/gcc/./gcc/cc1: error while loading shared libraries:
libmpc.so.2: cannot open shared object file: No such file or directory

configure:3023: $? = 1
configure:3211: checking for suffix of object files
configure:3233: /home/juju/Downloads/gcc/./gcc/xgcc
-B/home/juju/Downloads/gcc/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include    -c -g -O2  conftest.c >&5

/home/juju/Downloads/gcc/./gcc/cc1: error while loading shared libraries:
libmpc.so.2: cannot open shared object file: No such file or directory
configure:3237: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3251: error: in
`/home/juju/Downloads/gcc/x86_64-unknown-linux-gnu/libgcc':
configure:3254: error: cannot compute suffix of object files: cannot compile

See `config.log' for more details.

This is it?


Cedric Roux-4 wrote:
> 
> Jezuch wrote:
>> checking for suffix of object files... configure: error: in
>> `/home/juju/Downloads/gcc/x86_64-unknown-linux-gnu/libgcc':
>> configure: error: cannot compute suffix of object files: cannot compile
>> See `config.log' for more details.
> 
> Have a look at the file config.log in
> /home/juju/Downloads/gcc/x86_64-unknown-linux-gnu/libgcc
> Dig for "error" in it, probably you have a bad LD_LIBRARY_PATH
> I guess, so some library not found at some point. (Just a guess.)
> 
> By the way, I doubt there is a need to "sudo make" at this point.
> Just "make" and "sudo make install" if you plan to put it in
> /usr something.
> 
> My 0.01 euros, if that can help.
> 
> 

-- 
View this message in context: http://old.nabble.com/Compiling-problem-with-gcc4.5-libgcc-tp28457624p28457704.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[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