Gcc cannot create exec's /Debian /gcc3.3.2

Hallo…

Ich habe versucht, den licq 1.2.7 zu kompilieren bin aber schon am ./configure gescheitert.

Ich hatte in einigen Foren gelesen, dass sowas an fehldenden Linux Header Dateien liegen kann und diese nachinstalliert (kernel-header-2.4.22-bf2.4)

Geht trotzdem nicht! Woran kann es noch liegen? ich bin ncoh nicht all zu erfahren mit Linux.

Ich habe die config.log weiter unten angefügt. Was muss ich machen/installieren, damit ich Licq kompiliert kriege. Anhand der Fehlermeldung vermute ich einfach mal, dass es sich hierbei um ein grundsätzliches Problem bei mir handelt.

Gruß

Alexander

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = cappy
uname -m = i686
uname -r = 2.4.22-bf2.4
uname -s = Linux
uname -v = #1 Sat Nov 8 21:13:39 CET 2003

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11

-----------

Core tests.

-----------

configure:1488: checking build system type
configure:1506: result: i686-pc-linux-gnulibc1
configure:1514: checking host system type
configure:1528: result: i686-pc-linux-gnulibc1
configure:1536: checking target system type
configure:1550: result: i686-pc-linux-gnulibc1
configure:1591: checking for a BSD-compatible install
configure:1645: result: /usr/bin/install -c
configure:1656: checking whether build environment is sane
configure:1699: result: yes
configure:1720: checking for gawk
configure:1749: result: no
configure:1720: checking for mawk
configure:1736: found /usr/bin/mawk
configure:1746: result: mawk
configure:1756: checking whether make sets $(MAKE)
configure:1776: result: yes
configure:1968: checking for gcc
configure:1984: found /usr/bin/gcc
configure:1994: result: gcc
configure:2238: checking for C compiler version
configure:2241: gcc --version &5
gcc.real (GCC) 3.3.2 (Debian)
Copyright © 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:2244: $? = 0
configure:2246: gcc -v &5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/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 i486-linux
Thread model: posix
gcc version 3.3.2 (Debian)
configure:2249: $? = 0
configure:2251: gcc -V &5
gcc.real: -V' option must have argument configure:2254: $? = 1 configure:2278: checking for C compiler default output configure:2281: gcc conftest.c \>&5 /usr/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status configure:2284: $? = 1 configure: failed program was: | #line 2257 "configure" | /\* confdefs.h. \*/ | | #define PACKAGE\_NAME "" | #define PACKAGE\_TARNAME "" | #define PACKAGE\_VERSION "" | #define PACKAGE\_STRING "" | #define PACKAGE\_BUGREPORT "" | #define PACKAGE "licq" | #define VERSION "1.2.7" | #define PACKAGE "licq" | #define VERSION "1.2.7" | #define INT\_VERSION 1027 | #define USE\_FIFO 1 | /\* end confdefs.h. \*/ | | int | main () | { | | ; | return 0; | } configure:2323: error: C compiler cannot create executables See config.log’ for more details.

----------------

Cache variables.

----------------

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_install=’/usr/bin/install -c’
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnulibc1
ac_cv_target_alias=i686-pc-linux-gnulibc1

-----------------

Output variables.

-----------------

ACLOCAL=’${SHELL} /home/afisch/licq-1.2.7/admin/missing --run aclocal’
AMDEPBACKSLASH=’’
AMDEP_FALSE=’#’
AMDEP_TRUE=’’
AMTAR=’${SHELL} /home/afisch/licq-1.2.7/admin/missing --run tar’
AUTOCONF=’${SHELL} /home/afisch/licq-1.2.7/admin/missing --run autoconf’
AUTOHEADER=’${SHELL} /home/afisch/licq-1.2.7/admin/missing --run autoheader’
AUTOMAKE=’${SHELL} /home/afisch/licq-1.2.7/admin/missing --run automake’
AWK=‚mawk‘
CC=‚gcc‘
CCDEPMODE=’’
CFLAGS=’’
CPP=’’
CPPFLAGS=’’
CXX=’’
CXXCPP=’’
CXXDEPMODE=’’
CXXFLAGS=’’
DEFS=’’
DEPDIR=’.deps’
ECHO=‚echo‘
ECHO_C=’’
ECHO_N=’-n’
ECHO_T=’’
EGREP=’’
EXEEXT=’’
INSTALL_DATA=’${INSTALL} -m 644’
INSTALL_PROGRAM=’${INSTALL}’
INSTALL_SCRIPT=’${INSTALL}’
INSTALL_STRIP_PROGRAM=’${SHELL} $(install_sh) -c -s’
LDFLAGS=’’
LIBOBJS=’’
LIBS=’’
LIBTOOL=’’
LN_S=’’
LTLIBOBJS=’’
MAKEINFO=’${SHELL} /home/afisch/licq-1.2.7/admin/missing --run makeinfo’
OBJEXT=‚o‘
PACKAGE=‚licq‘
PACKAGE_BUGREPORT=’’
PACKAGE_NAME=’’
PACKAGE_STRING=’’
PACKAGE_TARNAME=’’
PACKAGE_VERSION=’’
PATH_SEPARATOR=’:’
PROG_SIZE=’’
PROG_STRIP=’’
RANLIB=’’
SET_MAKE=’’
SHELL=’/bin/sh’
SOCKS_INCDIR=’’
SOCKS_LIBDIR=’’
SOCKS_LIBS=’’
STRIP=’’
VERSION=‚1.2.7‘
ac_ct_CC=‚gcc‘
ac_ct_CXX=’’
ac_ct_RANLIB=’’
ac_ct_STRIP=’’
am__include=’’
am__quote=’’
bindir=’${exec_prefix}/bin’
build=‚i686-pc-linux-gnulibc1‘
build_alias=’’
build_cpu=‚i686‘
build_os=‚linux-gnulibc1‘
build_vendor=‚pc‘
datadir=’${prefix}/share’
exec_prefix=‚NONE‘
host=‚i686-pc-linux-gnulibc1‘
host_alias=’’
host_cpu=‚i686‘
host_os=‚linux-gnulibc1‘
host_vendor=‚pc‘
includedir=’${prefix}/include’
infodir=’${prefix}/info’
install_sh=’/home/afisch/licq-1.2.7/admin/install-sh’
libdir=’${exec_prefix}/lib’
libexecdir=’${exec_prefix}/libexec’
localstatedir=’${prefix}/var’
mandir=’${prefix}/man’
oldincludedir=’/usr/include’
prefix=‚NONE‘
program_transform_name=‚s,x,x,‘
sbindir=’${exec_prefix}/sbin’
sharedstatedir=’${prefix}/com’
sysconfdir=’${prefix}/etc’
target=‚i686-pc-linux-gnulibc1‘
target_alias=’’
target_cpu=‚i686‘
target_os=‚linux-gnulibc1‘
target_vendor=‚pc‘

-----------

confdefs.h.

-----------

#define INT_VERSION 1027
#define PACKAGE „licq“
#define PACKAGE „licq“
#define PACKAGE_BUGREPORT „“
#define PACKAGE_NAME „“
#define PACKAGE_STRING „“
#define PACKAGE_TARNAME „“
#define PACKAGE_VERSION „“
#define USE_FIFO 1
#define VERSION „1.2.7“
#define VERSION „1.2.7“

configure: exit 77

Anhand
der Fehlermeldung vermute ich einfach mal, dass es sich
hierbei um ein grundsätzliches Problem bei mir handelt.

configure:2281: gcc conftest.c >&5
/usr/bin/ld: cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status

Kussu hier: crt1.o fehlt.
Kussu hier noch:
Re: gcc problems with /usr/lib/crt1.o
It seems part of your upgrade wasn’t completed… you probably need to install libc6-dev.

Dann probier mal das libc6-dev Paket noch zu installieren. Jedenfalls brauchst du das File /usr/lib/crt1.o
Noch eben mal schnell das Paket dazu rausgesucht und dir fehlt wirklich libc6-dev.

Li

Schiebich noch’n link nach

Kussu hier noch:
Re: gcc problems with /usr/lib/crt1.o
It seems part of your upgrade wasn’t completed… you probably
need to install libc6-dev.

http://lists.debian.org/debian-devel/1998/debian-dev…

Erstmal danke und…
Bei mir kam bei dem Installationsversuch immer die Fehlermeldung, dass die Kernel-Header-Files nicht installiert waren. Ich habe „persönlich“ mit Apt-Get die passenden Headerfiles installiert.

Dennoch hat Apt-Get die Abhängigkeiten nicht richtig erkannt. Nach „override“ dependencies" funzte alles wie geplant und wie Ihr das beschrieben habt.

Hat ansonsten jemand Ahnung, warum mir das so wiederfahren ist?

Gruß

Alexander Fischer

Hallo,

Dennoch hat Apt-Get die Abhängigkeiten nicht richtig erkannt.

Wäre interessant gewesen, welche Meldung genau kam…

Sebastian

Die Meldung war…

Wäre interessant gewesen, welche Meldung genau kam…

Apt-Get erzählte mir einen von Broken dependencies weil das Paket Kernel-Header-Files nicht gefunden werden konnte.

Ich wusste nicht auf Anhieb, wie ich ungelöste Abhängigkeiten ignorieren konnte, da habe ich dann dselect genommen.

Unter dselect habe ich libc6-dev installiert, was dann schlussendlich auch die Header-Files wollte. Und diese Installation habe ich dann „durchgebracht“ und danach klappte das kompilieren einwandfrei.