Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Linux:/usr/src/linux # make menuconfig
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld:/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld:/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../libc.so:5: syntax error
collect2: ld returned 1 exit status
make: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
So, I went through yast...and re-installed glibcc.
..now...same problem as before with configuring the kernel..but I can no longer compile anything.
When I try..this is what happens.
Linux:/home/ravencrow/Downloads/alsa-utils-1.0.9rc2 # ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
if ur environment is proper u should get this output., [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,
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!