C++ problem with 3.4.3 on Yellow Dog Linux 3.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a Yellow Dog Linux 3.0.1 installation on my PowerPC 750 machine (Power Macintosh G3, OldWorld). I built and installed the latest binutils (2.15) and then gcc-3.4.3. ./configure guessed my system type as powerpc-unknown-linux-gnu, so I overrode with --host=powerpc-yelldog-linux as pointed out by the buildstat of 3.4.2 on the same system. gcc, C and C++ only, built and installed succesfully.

I then downloaded and built Berkeley's BOINC application from source with no problem at all. After that, I downloaded the Berkeley seti_boinc source and attempted to build that. I'm seeing the following error message:

In file included from /usr/lib/gcc/powerpc-yellowdog-linux/3.4.3/../../../../include/c++/ 3.4.3/bits/std_algobase.h:67,
from /usr/lib/gcc/powerpc-yellowdog-linux/3.4.3/../../../../include/c++/ 3.4.3/bits/char_traits.h:46,
from /usr/lib/gcc/powerpc-yellowdog-linux/3.4.3/../../../../include/c++/ 3.4.3/string:46
from /home/gwynne/src/boinc/lib/diagnostics.h:20
from main.cpp:43
/usr/lib/gcc/powerpc-yellowdog-linux/3.4.3/../../../../include/c++/ 3.4.3/cstdlib:103: error: '::malloc' has not been declared
/usr/lib/gcc/powerpc-yellowdog-linux/3.4.3/../../../../include/c++/ 3.4.3/cstdlib:111: error: '::realloc' has not been declared


The gcc command was:
powerpc-yellowdog-linux-g++ -g -O2 -I/include -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG -DCLIENT -pthread -I/home/gwynne/src/boinc/api -I/home/gwynne/src/boinc/lib -I/home/gwynne/src/boinc/image_libs/ -I.. -I../db -c -o main.o main.cpp


seti_boinc was configured with:
./configure --prefix=/usr/local --host=powerpc-yellowdog-linux

gcc -v output:
Reading specs from /usr/lib/gcc/powerpc-yellowdog-linux/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/usr --enable-languages=c,c++ --enable-__cxa_atexit --host=powerpc-yellowdog-linux
Thread model: posix
gcc verion 3.4.3


uname -a output:
Linux x1-6-00-<MAC address> 2.4.22-2f #1 Sun Nov 9 16:49:49 EST 2003 ppc ppc ppc GNU/Linux


gcc was built using:
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap


This looks like a headers issue with GCC, rather than an issue with seti_boinc, which is why I'm asking here. Does anyone have any advice?

-- Gwynne, key to the Code
Email: squasar@xxxxxxxxxxxxxxxx
Web: http://musicimage.plasticchicken.com/


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux