|
Compiler cannot create executables?
I am running a newly installed Debian sid system. I am trying to compile a window decoration since the deb package isn't for 64bit. Here is what I get after doing ./configure on the sources......
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
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... no
checking for mawk... mawk
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.
Here is the top portion of the config.log....not all of it since it is lengthy....
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1543: checking build system type
configure:1561: result: x86_64-unknown-linux-gnu
configure:1569: checking host system type
configure:1583: result: x86_64-unknown-linux-gnu
configure:1591: checking target system type
configure:1605: result: x86_64-unknown-linux-gnu
configure:1652: checking for a BSD-compatible install
configure:1707: result: /usr/bin/install -c
configure:1722: checking for -p flag to install
configure:1735: result: yes
configure:1746: checking whether build environment is sane
configure:1789: result: yes
configure:1809: checking for gawk
configure:1838: result: no
configure:1809: checking for mawk
configure:1825: found /usr/bin/mawk
configure:1835: result: mawk
configure:1845: checking whether make sets $(MAKE)
configure:1865: result: yes
configure:2071: checking for style of include used by make
configure:2099: result: GNU
configure:2246: checking for gcc
configure:2262: found /usr/bin/gcc
configure:2272: result: gcc
configure:2516: checking for C compiler version
configure:2519: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-2)
Copyright (C) 2003 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:2522: $? = 0
configure:2524: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib x86_64-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-2)
configure:2527: $? = 0
configure:2529: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2532: $? = 1
configure:2555: checking for C compiler default output file name
configure:2558: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2561: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "crystal"
| #define VERSION "0.7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2600: error: C compiler cannot create executables
See `config.log' for more details.
OK what's missing, or what's wrong here?
|