Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Debian Linux Help > gcc problem

Forgot Password?
 Debian Linux Help   Discussions related to Debian GNU/Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-10-2005   #1 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Osaka, Japan
Posts: 4
gcc problem

I downloaded the gZipped Tarball for Kasablanca 0.4.0.2 and unzipped it to its own directory. From there I tried to do a ./configure command, but when the c compiler(gcc) tries to make an output filename, I get an error. Below is the printout:

napps:/home/nb/dlz/kasablanca-0.4.0.2# ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

The following is the prinout from the config.log:

configure:2569: $? = 0
configure:2571: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/us
r --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-sha
red --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --
enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:2574: $? = 0
configure:2576: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2579: $? = 1
configure:2602: checking for C compiler default output file name
configure:2605: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2608: $? = 1
configure: failed program was:
| /* confdefs.h. */

Im quite new to linux and dont know how to remedy this. anyhelp would be appreciated!

Thanks,
napps is offline  



Reply With Quote
Old 06-10-2005   #2 (permalink)
Linux Guru
 
Vergil83's Avatar
 
Join Date: Mar 2004
Posts: 2,408
try downloading the debian package http://download.berlios.de/kasablanc...3.1-1_i386.deb
then
Code:
su
dpkg -i kasablanca_0.3.1-1_i386.deb
__________________
Brilliant Mediocrity - Making Failure Look Good
Vergil83 is offline   Reply With Quote
Old 06-11-2005   #3 (permalink)
Just Joined!
 
Join Date: Jun 2005
Posts: 1
i just did "/usr/bin/ld: crt1.o: No such file: No such file or directory" on http://google.com

http://packages.debian.org/stable/libdevel/libc6-dev

apt-get install libc6-dev

or, aptitude '/' "libc6-dev" '+' 'g' 'g'
lmmix is offline   Reply With Quote
Old 06-11-2005   #4 (permalink)
Just Joined!
 
Join Date: Oct 2004
Location: Osaka, Japan
Posts: 4
Thank you very much,
I redownloaded the .deb package and dkpg -i and it worked!
Arigato!
I'm updating the lib6 packages too!
napps is offline   Reply With Quote
Old 06-12-2005   #5 (permalink)
Linux Enthusiast
 
flipjargendy's Avatar
 
Join Date: Aug 2004
Location: Xanadu, Titan, Saturn
Posts: 567
Hey, i was wondering the same thing a bit ago. i figured it out. i just posted the answer under the post where i was asking about GCC.

http://www.linuxforums.org/forum/pos...05.html#233705
flipjargendy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 02:44 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1