Hey all.

I ran into this problem a long time ago un the mdk7.0 days and always 
managed to fix this problem.  But here, I have to say I'm clueless...  
Please help!

Here is the symptom (whatever I try to compile, it does not matter nor 
changes...):


./configure
loading cache ./config.cache
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 whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++ compiler 
cannot create executables.


When I look at the config.log

configure:792: checking for c++
configure:823: checking whether the C++ compiler (c++  ) works
configure:837: c++ -o conftest    conftest.C  1>&5
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
configure: failed program was:
#line 833 "configure"
#include "confdefs.h"
main(){return(0);}


I guess the 4th line (cannot fing -llstdc++) is the main issue.

Now... Here are the mdk package I have:

gcc-cpp-2.95.2-12mdk
gcc-2.95.2-12mdk
gcc-colorgcc-2.95.2-12mdk
gcc-c++-2.95.2-12mdk
binutils-2.10.0.24-4mdk
libstdc++-2.96-0.24mdk
libstdc++-compat-2.95.2-12mdk
libstdc++-devel-2.96-0.24mdk

I tried to upgrade gcc, but I get conflicts

rpm -Uvh --test gcc*
file /usr/bin/c++filt from install of gcc-c++-2.96-0.24mdk conflicts 
with file from package binutils-2.10.0.24-4mdk

so, tried to upgrade gcc and binutils at once but I get other conflicts...

rpm -Uvh --test gcc* binutils*
error: failed dependencies:
   libbfd-2.10.1.0.2.so.2 is needed by binutils-2.10.1.0.2-1mdk
   libopcodes-2.10.1.0.2.so.2 is needed by binutils-2.10.1.0.2-1mdk

PLEASE HELP.....

Thanks guys!

Patrick


Reply via email to