linux-l: c++

xymox xymox at cityweb.de
Do Nov 19 20:18:43 CET 1998


Rainer Ruecker wrote:
> 
> At 23:31 18.11.98 +0100, you wrote:
> >hallo leute
> >was habe ich denn für ein prob wenn der c++ compiler (gnu c++ 2.7.2)
> >keine executables erstellen kann?
> >gcc272, binutils, libc, linuxinc sind ebenfalls drauf.
> >?????
> hm, fehlt da nicht libg++  ?? Ohne die wird er's wohl nicht schaffen.
> Wenn das nix hilft: Bitte genauere Problembeschreibung.
> HTH
> Rainer
> 
> --
> Rainer Ruecker PSIpenta GmbH Dircksenstrasse 42 - 44 10178 Berlin
> Tel: 030 2801 2111 Fax: 030 2801 1040 Mail: rruecker at psipenta.com
> 

hi
ne, die libg++ ist auch drauf.
also, es geht um kdf0.3.9. ich habe configure nochmal aufgerufen
und die ausgabe in x.log gelenkt (attach)
die config.log die automatich erzeugt wurde habe ich auch angehaengt.
ich hoffe du  kannst da mehr mit anfangen.

tschö
holger b
-------------- nächster Teil --------------
loading cache ./config.cache
checking host system type... i586-pc-linux-gnulibc1
checking target system type... i586-pc-linux-gnulibc1
checking build system type... i586-pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/ginstall -c
checking for a C-Compiler... 
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for a C++-Compiler... 
checking for g++... g++
checking whether the C++ compiler (g++  -s) works... no




hier die zeilen aus configure:
#line 1440 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
if { (eval echo configure:1444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  ac_cv_prog_cxx_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cxx_cross=no
  else
    ac_cv_prog_cxx_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cxx_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
if test $ac_cv_prog_cxx_works = no; then
  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
-------------- nächster Teil --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:687: checking for a BSD compatible install
configure:756: checking whether build environment is sane
configure:803: checking for working aclocal
configure:816: checking for working autoconf
configure:829: checking for working automake
configure:842: checking for working autoheader
configure:855: checking for working makeinfo
configure:868: checking whether make sets ${MAKE}
configure:904: checking for a BSD compatible install
configure:974: checking for a C-Compiler
configure:980: checking for gcc
configure:1083: checking whether the C compiler (gcc  ) works
configure:1097: gcc -o conftest    conftest.c  1>&5
configure:1117: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1122: checking whether we are using GNU C
configure:1131: gcc -E conftest.c
configure:1188: checking how to run the C preprocessor
configure:1209: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1312: checking for a C++-Compiler
configure:1318: checking for g++
configure:1430: checking whether the C++ compiler (g++  -s) works
configure:1444: g++ -o conftest   -s conftest.C  1>&5
/usr/i486-linux/bin/ld: error: libstdc++.so.27, needed by /usr/lib/libg++.so, conflicts with libstdc++.so.2.8
configure: failed program was:
#line 1440 "configure"
#include "confdefs.h"
main(){return(0);}


Mehr Informationen über die Mailingliste linux-l