While doing fink update-all, I found the following compilation error.
Just a little question: while I have gcc_select 3.3, why is /usr/include/gcc/darwin/3.1/g++-v3/cmath included by g++3?


dpkg-deb -b root-kde-icons-noia-0.95-3 /sw/fink/dists/stable/main/binary-darwin-powerpc/kde
dpkg-deb: building package `kde-icons-noia' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/kde/kde-icons- noia_0.95-3_darwin-powerpc.deb'.
ln -sf /sw/fink/dists/stable/main/binary-darwin-powerpc/kde/kde-icons- noia_0.95-3_darwin-powerpc.deb /sw/fink/debs/
rm -rf /sw/src/root-kde-icons-noia-0.95-3
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/kde/kde-icons- noia_0.95-3_darwin-powerpc.deb
(Reading database ... 197665 files and directories currently installed.)
Preparing to replace kde-icons-noia 0.95-2 (using .../kde-icons-noia_0.95-3_darwin-powerpc.deb) ...
Unpacking replacement kde-icons-noia ...
Setting up kde-icons-noia (0.95-3) ...
mkdir -p /sw/src/kseg-0.3.5-12
gzip -dc /sw/src/kseg-0.35.tar.gz | /sw/bin/tar -xf -
sed 's|@PREFIX@|/sw|g' < /sw/fink/dists/stable/main/finkinfo/sci/kseg.patch | patch -p1
patching file Makefile
patching file formula/Makefile
patching file main.cpp
make
cd formula && make
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt box.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt kformula.cpp
/sw/bin/moc kformulaedit.H -o kformulaedit.moc
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt kformulaedit.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt matrixbox.cpp
/sw/bin/moc MatrixDialog.H -o MatrixDialog.moc
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt MatrixDialog.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_point.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_line.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_segment.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_ray.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_circle.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arc.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_locus.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arcSector.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arcSegment.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_polygon.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_circleInterior.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_object.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_pointObject.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_lineObject.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_segmentObject.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_rayObject.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_circleObject.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arcObject.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_locusObject.cpp
g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_pointLocus.cpp
G_pointLocus.cpp: In member function `virtual void
G_locusObject::generatePointLocus()':
G_pointLocus.cpp:286: call of overloaded `log(int&)' is ambiguous
/usr/include/architecture/ppc/math.h:217: candidates are: double log(double)
/usr/include/gcc/darwin/3.1/g++-v3/cmath:344: long double
std::log(long double)
/usr/include/gcc/darwin/3.1/g++-v3/cmath:336: float
std::log(float)
make: *** [G_pointLocus.o] Error 1
### execution of make failed, exit code 2
Failed: compiling kseg-0.3.5-12 failed
bash-2.05a# gcc_select
Current default compiler:
gcc version 3.3 20030304 (Apple Computer, Inc. build 1493)
bash-2.05a# which g++3
/sw/bin/g++3




--
__Pascal Bourguignon__
http://www.informatimago.com/



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to