LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-07-2006, 09:43 AM   #1
alexweb
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandriva 2006 Power Pack
Posts: 8

Rep: Reputation: 0
C compiler cannot create executables


HI all!

I know there are some similar topics but I still can't solve my problem.
I'm using mandriva 2006 Power Pack. All time till now all was fine and I was able to compile apps from sources. But now when I try to compile anything I getting this error. I don't know what happens and I do have all gcc* and glibc* packages installed. At least, all I found on Mandriva DVD.

Below the list of installed packages:
Code:
gcc2.96
gcc2.96-c++
gcc2.96-cpp
gcc4.0.1
gcc4.0.1-c++
gcc4.0.1-cpp
gcc4.0.1-doc
gcc4.0.1-java
glibc-devel-2.3.5
glibc-static-devel-2.3.5
Some output from config.log (kopete-0.12)
Code:
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1586: checking build system type
configure:1604: result: i686-pc-linux-gnu
configure:1612: checking host system type
configure:1626: result: i686-pc-linux-gnu
configure:1634: checking target system type
configure:1648: result: i686-pc-linux-gnu
configure:1695: checking for a BSD-compatible install
configure:1750: result: /usr/bin/install -c
configure:1765: checking for -p flag to install
configure:1778: result: yes
configure:1789: checking whether build environment is sane
configure:1832: result: yes
configure:1884: checking for gawk
configure:1900: found /bin/gawk
configure:1910: result: gawk
configure:1920: checking whether make sets $(MAKE)
configure:1940: result: yes
configure:2126: checking for kde-config
configure:2188: result: /usr/bin/kde-config
configure:2284: checking where to install
configure:2288: result: /usr (as returned by kde-config)
configure:2343: checking for style of include used by make
configure:2371: result: GNU
configure:2519: checking for gcc
configure:2535: found /usr/bin/gcc
configure:2545: result: gcc
configure:2789: checking for C compiler version
configure:2792: gcc --version </dev/null >&5
gcc (GCC) 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2795: $? = 0
configure:2797: gcc -v </dev/null >&5
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-languages=c,c++,ada,f95,objc,java --host=i586-mandriva-linux-gnu --with-system-zlib --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib
Thread model: posix
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
configure:2800: $? = 0
configure:2802: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2805: $? = 1
configure:2828: checking for C compiler default output file name
configure:2831: gcc     conftest.c  >&5
/usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/../../../crt1.o: In function `_start':
../sysdeps/i386/elf/start.S:119: undefined reference to `__libc_start_main'
collect2: ld returned 1 exit status
configure:2834: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "kopete-0.12.0"
| #define VERSION "3.5.3"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2873: error: C compiler cannot create executables
See `config.log' for more details.
What you can tell me about all above?
 
Old 07-08-2006, 06:08 PM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Have you installed binutils?
 
Old 07-12-2006, 07:04 AM   #3
alexweb
LQ Newbie
 
Registered: Sep 2005
Distribution: Mandriva 2006 Power Pack
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Gethyn
Have you installed binutils?
Yes I have it installed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler cannot create executables? Oxyacetylene Linux - Software 4 11-25-2004 10:29 AM
C compiler cannot create executables martincho Linux - Software 3 10-01-2004 07:04 PM
C++ compiler cannot create executables notmatt Linux - Newbie 4 09-30-2004 07:59 AM
C compiler cannot create executables shams Linux - Software 6 06-12-2004 01:55 PM
C compiler cannot create executables... Sfpiano Linux - Software 9 12-11-2003 10:28 AM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration