GCC Problems..really need help.
Well, it started off a problem configuring a kernel...and now I can compile nothing.
Firstly, I was trying to recompile my kernel...yet I ran into an unsual problem. Code:
Linux:/usr/src/linux # make menuconfig ..now...same problem as before with configuring the kernel..but I can no longer compile anything. When I try..this is what happens. Code:
Linux:/home/ravencrow/Downloads/alsa-utils-1.0.9rc2 # ./configure Help appreciated...thanks. -RoaCh |
Did you check the config.log? It should have the listing of the test program that it failed to compile and the exact error message(s). You could also try compiling a simple C program:
Code:
#include <stdio.h> and see what errors occur. Chances are, one of the gcc libraries got hosed and you'll need to reinstall the libgcc RPM. Hopefully this will help some. I hate problems like this... |
-edit
I'll post part of the config.log in a moment :) |
maybe this will help....
Code:
## ----------- ## |
what is the output of file on those two?
here is how mine is set up: bash-3.00$ file libc.so.6 libc.so.6: symbolic link to `libc-2.3.4.so' bash-3.00$ file libc-2.3.4.so libc-2.3.4.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped |
Well, I have a few...here's the output..
Code:
Linux:/home/ravencrow/Downloads/alsa-utils-1.0.9rc2 # file /lib/i686/libc.so.6 |
not sure about the ASCII text :scratch:
my suggestion ( keep in mind this is my opinion) would be to try re-installing the development environment and see if that helps |
hi,
just try this out, Code:
#echo 'main(){}' > dummy.c [Requesting program interpreter: /lib/ld-linux.so.2] if ur not getting this output, am sorry to tell u that ur development environment is corrupted and only one BEST solution is to re-install ur development environment..... and remember Glibc doesnt work alone, it is part of The Toolchain which comprises of Binutils,Glibc and GCC. The dynamic linker for which we are checking in above code is always shipped with Binutils and not with Glibc,Glibc contains the C libraries...... hope i made u clear a little bit..........anyway do post ur reply, with regards, C.C.Chakkaradeep |
Quote:
|
Quote:
What exactly is the development environment? :o :confused: |
hi,
just open a Terminal if u r in Graphical Mode or type in the Console if u r Multi-user mode........and try those statements which i have posted before........if u r not getting the output which i have specified,then ur system's dynamic linker is corrupted and BEST way is to re-install linux! I had this problem and atlast the only option left to me was Re-Installing the system! with regards, C.C.Chakkaradeep |
I reinstalled alot of things..most importantly glibc and gcc...that appeared to fix things :)
|
All times are GMT -5. The time now is 05:23 AM. |