alexweb |
07-07-2006 09:43 AM |
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?
|