Build failure on Mac OS X 10.4.6

24 views
Skip to first unread message

Randall H Wood

unread,
May 30, 2006, 4:09:08 AM5/30/06
to GNOME Colorscheme Development
Using gcc version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5250)
Copyright (C) 2005 Free Software Foundation, Inc.

(The ---> lines are from DarwinPorts (http://www.darwinports.org) port
command)

---> Fetching colorscheme
---> Verifying checksum(s) for colorscheme
---> Checksumming colorscheme-0.3.91.tar.bz2
---> Extracting colorscheme
---> Extracting colorscheme-0.3.91.tar.bz2
---> Configuring colorscheme
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for git... no
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking for perl... /opt/local/bin/perl
checking for XML::Parser... ok
checking for iconv... /opt/local/bin/iconv
checking for msgfmt... /opt/local/bin/msgfmt
checking for msgmerge... /opt/local/bin/msgmerge
checking for xgettext... /opt/local/bin/xgettext
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /opt/local/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for catalogs to be installed... bg cs de es_ES nl pt_BR ru
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for COLORSCHEME... yes
checking for GNOME... yes
checking for GCONFMM... yes
checking for cppunit-config... no
checking for Cppunit - version >= 1.10.0... checking
boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/widgets/Makefile
config.status: creating src/dialogs/Makefile
config.status: creating src/core/Makefile
config.status: creating pixmaps/Makefile
config.status: creating data/Makefile
config.status: creating data/ui/Makefile
config.status: creating data/palettes/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
---> Building colorscheme with target all
make all-recursive
Making all in src
Making all in widgets
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-colorswatch.o -MD -MP -MF
".deps/gcs-colorswatch.Tpo" \
-c -o gcs-colorswatch.o `test -f 'gcs-colorswatch.cc' || echo
'./'`gcs-colorswatch.cc; \
then mv -f ".deps/gcs-colorswatch.Tpo" ".deps/gcs-colorswatch.Po"; \
else rm -f ".deps/gcs-colorswatch.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-textswatch.o -MD -MP -MF
".deps/gcs-textswatch.Tpo" \
-c -o gcs-textswatch.o `test -f 'gcs-textswatch.cc' || echo
'./'`gcs-textswatch.cc; \
then mv -f ".deps/gcs-textswatch.Tpo" ".deps/gcs-textswatch.Po"; \
else rm -f ".deps/gcs-textswatch.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-schemebox.o -MD -MP -MF
".deps/gcs-schemebox.Tpo" \
-c -o gcs-schemebox.o `test -f 'gcs-schemebox.cc' || echo
'./'`gcs-schemebox.cc; \
then mv -f ".deps/gcs-schemebox.Tpo" ".deps/gcs-schemebox.Po"; \
else rm -f ".deps/gcs-schemebox.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-schemeselector.o -MD -MP -MF
".deps/gcs-schemeselector.Tpo" \
-c -o gcs-schemeselector.o `test -f 'gcs-schemeselector.cc' || echo
'./'`gcs-schemeselector.cc; \
then mv -f ".deps/gcs-schemeselector.Tpo"
".deps/gcs-schemeselector.Po"; \
else rm -f ".deps/gcs-schemeselector.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-bookmarklist.o -MD -MP -MF
".deps/gcs-bookmarklist.Tpo" \
-c -o gcs-bookmarklist.o `test -f 'gcs-bookmarklist.cc' || echo
'./'`gcs-bookmarklist.cc; \
then mv -f ".deps/gcs-bookmarklist.Tpo" ".deps/gcs-bookmarklist.Po"; \
else rm -f ".deps/gcs-bookmarklist.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-cellrendererswatch.o -MD -MP -MF
".deps/gcs-cellrendererswatch.Tpo" \
-c -o gcs-cellrendererswatch.o `test -f 'gcs-cellrendererswatch.cc'
|| echo './'`gcs-cellrendererswatch.cc; \
then mv -f ".deps/gcs-cellrendererswatch.Tpo"
".deps/gcs-cellrendererswatch.Po"; \
else rm -f ".deps/gcs-cellrendererswatch.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-paletteview.o -MD -MP -MF
".deps/gcs-paletteview.Tpo" \
-c -o gcs-paletteview.o `test -f 'gcs-paletteview.cc' || echo
'./'`gcs-paletteview.cc; \
then mv -f ".deps/gcs-paletteview.Tpo" ".deps/gcs-paletteview.Po"; \
else rm -f ".deps/gcs-paletteview.Tpo"; exit 1; \
fi
rm -f libgcswidgets.a
ar cru libgcswidgets.a gcs-colorswatch.o gcs-textswatch.o
gcs-schemebox.o gcs-schemeselector.o gcs-bookmarklist.o
gcs-cellrendererswatch.o gcs-paletteview.o
ranlib libgcswidgets.a
Making all in dialogs
if g++ -DHAVE_CONFIG_H -I. -I. -I../..
-DCOLORSCHEME_ICONDIR=\"/opt/local/share/pixmaps\" -L/opt/local/lib
-I/opt/local/include -g -O2 -I/opt/local/include/gtkmm-2.4
-I/opt/local/lib/gtkmm-2.4/include -I/opt/local/include/glibmm-2.4
-I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/gdkmm-2.4
-I/opt/local/lib/gdkmm-2.4/include -I/opt/local/include/pangomm-1.4
-I/opt/local/include/atkmm-1.6 -I/opt/local/include/gtk-2.0
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0
-I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -DORBIT2=1
-D_REENTRANT -I/opt/local/include/libgnomeui-2.0
-I/opt/local/include/libgnome-2.0
-I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0
-I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2
-I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0
-I/opt/local/lib/gnome-vfs-2.0/include
-I/opt/local/include/gnome-keyring-1 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/orbit-2.0
-I/opt/local/include/libbonobo-2.0
-I/opt/local/include/bonobo-activation-2.0
-I/opt/local/include/pango-1.0 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/libxml2 -I../../src -g -O2 -MT
gcs-about-window.o -MD -MP -MF ".deps/gcs-about-window.Tpo" \
-c -o gcs-about-window.o `test -f 'gcs-about-window.cc' || echo
'./'`gcs-about-window.cc; \
then mv -f ".deps/gcs-about-window.Tpo" ".deps/gcs-about-window.Po"; \
else rm -f ".deps/gcs-about-window.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../..
-DCOLORSCHEME_ICONDIR=\"/opt/local/share/pixmaps\" -L/opt/local/lib
-I/opt/local/include -g -O2 -I/opt/local/include/gtkmm-2.4
-I/opt/local/lib/gtkmm-2.4/include -I/opt/local/include/glibmm-2.4
-I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/gdkmm-2.4
-I/opt/local/lib/gdkmm-2.4/include -I/opt/local/include/pangomm-1.4
-I/opt/local/include/atkmm-1.6 -I/opt/local/include/gtk-2.0
-I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0
-I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -DORBIT2=1
-D_REENTRANT -I/opt/local/include/libgnomeui-2.0
-I/opt/local/include/libgnome-2.0
-I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0
-I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2
-I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0
-I/opt/local/lib/gnome-vfs-2.0/include
-I/opt/local/include/gnome-keyring-1 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/orbit-2.0
-I/opt/local/include/libbonobo-2.0
-I/opt/local/include/bonobo-activation-2.0
-I/opt/local/include/pango-1.0 -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
-I/opt/local/include/libxml2 -I../../src -g -O2 -MT
gcs-save-chooser.o -MD -MP -MF ".deps/gcs-save-chooser.Tpo" \
-c -o gcs-save-chooser.o `test -f 'gcs-save-chooser.cc' || echo
'./'`gcs-save-chooser.cc; \
then mv -f ".deps/gcs-save-chooser.Tpo" ".deps/gcs-save-chooser.Po"; \
else rm -f ".deps/gcs-save-chooser.Tpo"; exit 1; \
fi
rm -f libgcsdialogs.a
ar cru libgcsdialogs.a gcs-about-window.o gcs-save-chooser.o
ranlib libgcsdialogs.a
Making all in core
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-debug.o -MD -MP -MF
".deps/gcs-debug.Tpo" \
-c -o gcs-debug.o `test -f '../gcs-debug.cc' || echo
'./'`../gcs-debug.cc; \
then mv -f ".deps/gcs-debug.Tpo" ".deps/gcs-debug.Po"; \
else rm -f ".deps/gcs-debug.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-color.o -MD -MP -MF
".deps/gcs-color.Tpo" \
-c -o gcs-color.o `test -f 'gcs-color.cc' || echo './'`gcs-color.cc;
\
then mv -f ".deps/gcs-color.Tpo" ".deps/gcs-color.Po"; \
else rm -f ".deps/gcs-color.Tpo"; exit 1; \
fi
gcs-color.cc: In member function 'gint gcs::Color::get_luminance()
const':
gcs-color.cc:245: warning: converting to 'gint' from 'double'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-color-group.o -MD -MP -MF
".deps/gcs-color-group.Tpo" \
-c -o gcs-color-group.o `test -f 'gcs-color-group.cc' || echo
'./'`gcs-color-group.cc; \
then mv -f ".deps/gcs-color-group.Tpo" ".deps/gcs-color-group.Po"; \
else rm -f ".deps/gcs-color-group.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-palette.o -MD -MP -MF
".deps/gcs-palette.Tpo" \
-c -o gcs-palette.o `test -f 'gcs-palette.cc' || echo
'./'`gcs-palette.cc; \
then mv -f ".deps/gcs-palette.Tpo" ".deps/gcs-palette.Po"; \
else rm -f ".deps/gcs-palette.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT gcs-scheme.o -MD -MP -MF
".deps/gcs-scheme.Tpo" \
-c -o gcs-scheme.o `test -f 'gcs-scheme.cc' || echo
'./'`gcs-scheme.cc; \
then mv -f ".deps/gcs-scheme.Tpo" ".deps/gcs-scheme.Po"; \
else rm -f ".deps/gcs-scheme.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2
-I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include
-I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include
-I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include
-I/opt/local/include/pangomm-1.4 -I/opt/local/include/atkmm-1.6
-I/opt/local/include/gtk-2.0 -I/opt/local/include/sigc++-2.0
-I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/lib/gtk-2.0/include
-I/opt/local/include/pango-1.0 -I/opt/local/include/cairo
-I/opt/local/include/atk-1.0 -I../../src -L/opt/local/lib
-I/opt/local/include -g -O2 -MT compat-round.o -MD -MP -MF
".deps/compat-round.Tpo" \
-c -o compat-round.o `test -f 'compat-round.cc' || echo
'./'`compat-round.cc; \
then mv -f ".deps/compat-round.Tpo" ".deps/compat-round.Po"; \
else rm -f ".deps/compat-round.Tpo"; exit 1; \
fi
compat-round.cc: In function 'int compat___fpclassifyl(long double)':
compat-round.cc:221: error: aggregate 'compat_IEEEl2bits u' has
incomplete type and cannot be defined
compat-round.cc:229: error: 'compat_mask_nbit_l' was not declared in
this scope
make[3]: *** [compat-round.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Warning: the following items did not execute (for colorscheme):
com.apple.activate com.apple.build com.apple.destroot com.apple.archive
com.apple.install

Jonathon Jongsma

unread,
May 30, 2006, 9:06:56 AM5/30/06
to colorsch...@googlegroups.com
On 5/30/06, Randall H Wood <randall...@gmail.com> wrote:
>
> Using gcc version
> powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
> 5250)
> Copyright (C) 2005 Free Software Foundation, Inc.
>
> (The ---> lines are from DarwinPorts (http://www.darwinports.org) port
> command)

Hi Randall,
Thanks for reporting this. The file that is failing is a
compatibility wrapper around 'round' that was added to support
FreeBSD. Apparently it doesn't work well on Darwin PPC. As a first
step to diagnosing the problem, can you send me the output of the
following command?

g++ -dM -E - </dev/null

Thanks,
Jonner

Randall Wood

unread,
May 30, 2006, 6:04:41 PM5/30/06
to colorsch...@googlegroups.com
g++ -dM -E - </dev/null
#define __DBL_MIN_EXP__ (-1021)
#define __FLT_MIN__ 1.17549435e-38F
#define __CHAR_BIT__ 8
#define __WCHAR_MAX__ 2147483647
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __FLT_EVAL_METHOD__ 0
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define __GNUC_PATCHLEVEL__ 1
#define __SHRT_MAX__ 32767
#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
#define __APPLE_CC__ 5250
#define __UINTMAX_TYPE__ long long unsigned int
#define __LDBL_MAX_EXP__ 1024
#define __SCHAR_MAX__ 127
#define __USER_LABEL_PREFIX__ _
#define __STDC_HOSTED__ 1
#define __LDBL_HAS_INFINITY__ 1
#define __DBL_DIG__ 15
#define __FLT_EPSILON__ 1.19209290e-7F
#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
#define __ppc__ 1
#define __strong
#define __APPLE__ 1
#define __DECIMAL_DIG__ 33
#define __LDBL_HAS_QUIET_NAN__ 1
#define __DYNAMIC__ 1
#define __GNUC__ 4
#define __DBL_MAX__ 1.7976931348623157e+308
#define __DBL_HAS_INFINITY__ 1
#define __weak
#define __DBL_MAX_EXP__ 1024
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __GXX_ABI_VERSION 1002
#define __FLT_MIN_EXP__ (-125)
#define __DBL_MIN__ 2.2250738585072014e-308
#define __DBL_HAS_QUIET_NAN__ 1
#define __REGISTER_PREFIX__
#define __NO_INLINE__ 1
#define _ARCH_PPC 1
#define __FLT_MANT_DIG__ 24
#define __VERSION__ "4.0.1 (Apple Computer, Inc. build 5250)"
#define __BIG_ENDIAN__ 1
#define __SIZE_TYPE__ long unsigned int
#define __FLT_RADIX__ 2
#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
#define __NATURAL_ALIGNMENT__ 1
#define __FLT_HAS_QUIET_NAN__ 1
#define __FLT_MAX_10_EXP__ 38
#define __LONG_MAX__ 2147483647L
#define __FLT_HAS_INFINITY__ 1
#define _BIG_ENDIAN 1
#define __LDBL_MANT_DIG__ 106
#define __WCHAR_TYPE__ int
#define __FLT_DIG__ 6
#define __INT_MAX__ 2147483647
#define __LONG_DOUBLE_128__ 1
#define __FLT_MAX_EXP__ 128
#define __DBL_MANT_DIG__ 53
#define __WINT_TYPE__ int
#define __LDBL_MIN_EXP__ (-968)
#define __MACH__ 1
#define __LDBL_MAX_10_EXP__ 308
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define __INTMAX_MAX__ 9223372036854775807LL
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define __PIC__ 1
#define __FLT_MAX__ 3.40282347e+38F
#define __FLT_MIN_10_EXP__ (-37)
#define __INTMAX_TYPE__ long long int
#define __GNUC_MINOR__ 0
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
#define __PTRDIFF_TYPE__ int
#define __LDBL_MIN_10_EXP__ (-291)
#define __LDBL_DIG__ 31
#define __POWERPC__ 1

Note also that Mac OS X runs on i386 as well, but I do not have access
to such a machine.


--
Randall Wood
randall...@gmail.com
"The rules are simple. The ball is ro

Jonathon Jongsma

unread,
May 30, 2006, 7:00:21 PM5/30/06
to colorsch...@googlegroups.com


hmm. I haven't found it yet... I think I need a bit more
information. would you be willing to send me the output from the
following command?
g++ -dD -E src/core/compat_round.cc

Randall Wood

unread,
May 31, 2006, 5:22:54 AM5/31/06
to colorsch...@googlegroups.com
g++ -dD -E src/core/compat-round.cc
# 1 "src/core/compat-round.cc"
# 1 "<built-in>"
#define __cplusplus 1
# 1 "<built-in>"
#define __STDC_HOSTED__ 1
# 1 "<built-in>"
#define __GNUC__ 4
# 1 "<built-in>"
#define __GNUG__ 4
# 1 "<built-in>"
#define __GNUC_MINOR__ 0
# 1 "<built-in>"
#define __GNUC_PATCHLEVEL__ 1
# 1 "<built-in>"
#define __APPLE_CC__ 5250
# 1 "<built-in>"

#define __SIZE_TYPE__ long unsigned int
# 1 "<built-in>"
#define __PTRDIFF_TYPE__ int
# 1 "<built-in>"
#define __WCHAR_TYPE__ int
# 1 "<built-in>"
#define __WINT_TYPE__ int
# 1 "<built-in>"

#define __INTMAX_TYPE__ long long int
# 1 "<built-in>"

#define __UINTMAX_TYPE__ long long unsigned int
# 1 "<built-in>"
#define __GXX_WEAK__ 1
# 1 "<built-in>"
#define __DEPRECATED 1
# 1 "<built-in>"
#define __EXCEPTIONS 1
# 1 "<built-in>"
#define __GXX_ABI_VERSION 1002
# 1 "<built-in>"
#define __SCHAR_MAX__ 127
# 1 "<built-in>"
#define __SHRT_MAX__ 32767
# 1 "<built-in>"
#define __INT_MAX__ 2147483647
# 1 "<built-in>"
#define __LONG_MAX__ 2147483647L
# 1 "<built-in>"
#define __LONG_LONG_MAX__ 9223372036854775807LL
# 1 "<built-in>"
#define __WCHAR_MAX__ 2147483647
# 1 "<built-in>"
#define __CHAR_BIT__ 8
# 1 "<built-in>"
#define __INTMAX_MAX__ 9223372036854775807LL
# 1 "<built-in>"
#define __FLT_EVAL_METHOD__ 0
# 1 "<built-in>"
#define __FLT_RADIX__ 2
# 1 "<built-in>"
#define __FLT_MANT_DIG__ 24
# 1 "<built-in>"
#define __FLT_DIG__ 6
# 1 "<built-in>"
#define __FLT_MIN_EXP__ (-125)
# 1 "<built-in>"
#define __FLT_MIN_10_EXP__ (-37)
# 1 "<built-in>"
#define __FLT_MAX_EXP__ 128
# 1 "<built-in>"
#define __FLT_MAX_10_EXP__ 38
# 1 "<built-in>"
#define __FLT_MAX__ 3.40282347e+38F
# 1 "<built-in>"
#define __FLT_MIN__ 1.17549435e-38F
# 1 "<built-in>"
#define __FLT_EPSILON__ 1.19209290e-7F
# 1 "<built-in>"
#define __FLT_DENORM_MIN__ 1.40129846e-45F
# 1 "<built-in>"
#define __FLT_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __FLT_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __DBL_MANT_DIG__ 53
# 1 "<built-in>"
#define __DBL_DIG__ 15
# 1 "<built-in>"
#define __DBL_MIN_EXP__ (-1021)
# 1 "<built-in>"
#define __DBL_MIN_10_EXP__ (-307)
# 1 "<built-in>"
#define __DBL_MAX_EXP__ 1024
# 1 "<built-in>"
#define __DBL_MAX_10_EXP__ 308
# 1 "<built-in>"
#define __DBL_MAX__ 1.7976931348623157e+308
# 1 "<built-in>"
#define __DBL_MIN__ 2.2250738585072014e-308
# 1 "<built-in>"
#define __DBL_EPSILON__ 2.2204460492503131e-16
# 1 "<built-in>"
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
# 1 "<built-in>"
#define __DBL_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __DBL_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __LDBL_MANT_DIG__ 106
# 1 "<built-in>"
#define __LDBL_DIG__ 31
# 1 "<built-in>"
#define __LDBL_MIN_EXP__ (-968)
# 1 "<built-in>"
#define __LDBL_MIN_10_EXP__ (-291)
# 1 "<built-in>"
#define __LDBL_MAX_EXP__ 1024
# 1 "<built-in>"
#define __LDBL_MAX_10_EXP__ 308
# 1 "<built-in>"
#define __DECIMAL_DIG__ 33
# 1 "<built-in>"
#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
# 1 "<built-in>"
#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
# 1 "<built-in>"
#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
# 1 "<built-in>"
#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
# 1 "<built-in>"
#define __LDBL_HAS_INFINITY__ 1
# 1 "<built-in>"
#define __LDBL_HAS_QUIET_NAN__ 1
# 1 "<built-in>"
#define __REGISTER_PREFIX__
# 1 "<built-in>"
#define __USER_LABEL_PREFIX__ _
# 1 "<built-in>"

#define __VERSION__ "4.0.1 (Apple Computer, Inc. build 5250)"
# 1 "<built-in>"
#define __NO_INLINE__ 1
# 1 "<built-in>"
#define __FINITE_MATH_ONLY__ 0
# 1 "<built-in>"
#define _ARCH_PPC 1
# 1 "<built-in>"
#define __BIG_ENDIAN__ 1
# 1 "<built-in>"
#define _BIG_ENDIAN 1
# 1 "<built-in>"
#define __LONG_DOUBLE_128__ 1
# 1 "<built-in>"
#define __ppc__ 1
# 1 "<built-in>"
#define __POWERPC__ 1
# 1 "<built-in>"
#define __NATURAL_ALIGNMENT__ 1
# 1 "<built-in>"
#define __MACH__ 1
# 1 "<built-in>"
#define __APPLE__ 1
# 1 "<built-in>"
#define __strong
# 1 "<built-in>"
#define __weak
# 1 "<built-in>"
#define __PIC__ 1
# 1 "<command line>"
#define __DYNAMIC__ 1
# 1 "<command line>"
#define __private_extern__ extern
# 1 "src/core/compat-round.cc"
# 37 "src/core/compat-round.cc"
# 1 "/usr/include/math.h" 1 3 4
# 23 "/usr/include/math.h" 3 4
#define __MATH_H__


# 1 "/usr/include/architecture/ppc/math.h" 1 3 4
# 31 "/usr/include/architecture/ppc/math.h" 3 4
#define __MATH__

# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 62 "/usr/include/sys/cdefs.h" 3 4
#define _CDEFS_H_


#define __BEGIN_DECLS extern "C" {
#define __END_DECLS }
# 80 "/usr/include/sys/cdefs.h" 3 4
#define __P(protos) protos
#define __CONCAT(x,y) x ## y
#define __STRING(x) #x

#define __const const
#define __signed signed
#define __volatile volatile

#define __inline inline
# 134 "/usr/include/sys/cdefs.h" 3 4
#define __dead2 __attribute__((__noreturn__))
#define __pure2 __attribute__((__const__))

#define __unused __attribute__((__unused__))
# 152 "/usr/include/sys/cdefs.h" 3 4
#define __dead
#define __pure
# 169 "/usr/include/sys/cdefs.h" 3 4
#define __restrict
# 184 "/usr/include/sys/cdefs.h" 3 4
#define __printflike(fmtarg,firstvararg) __attribute__((__format__
(__printf__, fmtarg, firstvararg)))

#define __scanflike(fmtarg,firstvararg) __attribute__((__format__
(__scanf__, fmtarg, firstvararg)))


#define __IDSTRING(name,string) static const char name[] __unused = string


#define __COPYRIGHT(s) __IDSTRING(copyright,s)

#define __RCSID(s) __IDSTRING(rcsid,s)

#define __SCCSID(s) __IDSTRING(sccsid,s)

#define __PROJECT_VERSION(s) __IDSTRING(project_version,s)
# 239 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_UNIX03 0


#define __DARWIN_ALIAS(sym)
# 305 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_NO_LONG_LONG (defined(__STRICT_ANSI__) &&
(__STDC_VERSION__-0 < 199901L) && !defined(__GNUG__))
# 319 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_LDBL_COMPAT(x) __asm("_" __STRING(x) "$LDBLStub")

#define __DARWIN_LDBL_COMPAT2(x) __asm("_" __STRING(x) "$LDBL128")
#define __DARWIN_LONG_DOUBLE_IS_DOUBLE 0
# 348 "/usr/include/sys/cdefs.h" 3 4
#define __DARWIN_ALIGN_POWER 0

#define __DARWIN_ALIGN_NATURAL 0
# 34 "/usr/include/architecture/ppc/math.h" 2 3 4

#define __WANT_LONG_DOUBLE_FORMAT__ 128


#define __LIBMLDBL_COMPAT(sym) __asm("_" __STRING(sym) "$LDBL128")

extern "C" {
# 65 "/usr/include/architecture/ppc/math.h" 3 4
typedef float float_t;
typedef double double_t;
# 77 "/usr/include/architecture/ppc/math.h" 3 4
#define HUGE_VAL 1e500
#define HUGE_VALF 1e50f
#define HUGE_VALL 1e500L

#define INFINITY HUGE_VALF


#define NAN __builtin_nanf("0x7fc00000")
# 93 "/usr/include/architecture/ppc/math.h" 3 4
enum {
_FP_NAN = 1,
_FP_INFINITE = 2,
_FP_ZERO = 3,
_FP_NORMAL = 4,
_FP_SUBNORMAL = 5,
_FP_SUPERNORMAL = 6
};

#define FP_NAN _FP_NAN
#define FP_INFINITE _FP_INFINITE
#define FP_ZERO _FP_ZERO
#define FP_NORMAL _FP_NORMAL
#define FP_SUBNORMAL _FP_SUBNORMAL
#define FP_SUPERNORMAL _FP_SUPERNORMAL


#undef FP_FAST_FMA
#undef FP_FAST_FMAF
#undef FP_FAST_FMAL


#define FP_ILOGB0 (-2147483647)
#define FP_ILOGBNAN (2147483647)


#define MATH_ERRNO 1
#define MATH_ERREXCEPT 2

#define math_errhandling (__math_errhandling())
extern unsigned int __math_errhandling ( void );
# 139 "/usr/include/architecture/ppc/math.h" 3 4
#define fpclassify(x) ( ( sizeof ( (x) ) == sizeof(double) ) ?
__fpclassifyd ( (double)(x) ) : ( sizeof ( (x) ) == sizeof( float) ) ?
__fpclassifyf ( (float)(x) ) : __fpclassify ( ( long double )(x) ) )


#define isnormal(x) ( ( sizeof ( (x) ) == sizeof(double) ) ?
__isnormald ( (double)(x) ) : ( sizeof ( (x) ) == sizeof( float) ) ?
__isnormalf ( (float)(x) ) : __isnormal ( ( long double )(x) ) )


#define isfinite(x) ( ( sizeof ( (x) ) == sizeof(double) ) ?
__isfinited ( (double)(x) ) : ( sizeof ( (x) ) == sizeof( float) ) ?
__isfinitef ( (float)(x) ) : __isfinite ( ( long double )(x) ) )


#define isinf(x) ( ( sizeof ( (x) ) == sizeof(double) ) ? __isinfd (
(double)(x) ) : ( sizeof ( (x) ) == sizeof( float) ) ? __isinff (
(float)(x) ) : __isinf ( ( long double )(x) ) )


#define isnan(x) ( ( sizeof ( (x) ) == sizeof(double) ) ? __isnand (
(double)(x) ) : ( sizeof ( (x) ) == sizeof( float) ) ? __isnanf (
(float)(x) ) : __isnan ( ( long double )(x) ) )


#define signbit(x) ( ( sizeof ( (x) ) == sizeof(double) ) ? __signbitd
( (double)(x) ) : ( sizeof ( (x) ) == sizeof( float) ) ? __signbitf (
(float)(x) ) : __signbitl ( ( long double )(x) ) )

extern int __fpclassify( long double );
extern int __isnormal( long double );
extern int __isfinite( long double );
extern int __isinf( long double );
extern int __isnan( long double );
extern int __signbitl( long double );
# 198 "/usr/include/architecture/ppc/math.h" 3 4
extern int __fpclassifyd( double );
extern int __fpclassifyf( float );

extern int __isnormald( double );
extern int __isnormalf( float );

extern int __isfinited( double );
extern int __isfinitef( float );

extern int __isinfd( double );
extern int __isinff( float );

extern int __isnand( double );
extern int __isnanf( float );

extern int __signbitd( double );
extern int __signbitf( float );
# 223 "/usr/include/architecture/ppc/math.h" 3 4
extern double acos( double );
extern float acosf( float );

extern double asin( double );
extern float asinf( float );

extern double atan( double );
extern float atanf( float );

extern double atan2( double, double );
extern float atan2f( float, float );

extern double cos( double );
extern float cosf( float );

extern double sin( double );
extern float sinf( float );

extern double tan( double );
extern float tanf( float );

extern double acosh( double );
extern float acoshf( float );

extern double asinh( double );
extern float asinhf( float );

extern double atanh( double );
extern float atanhf( float );

extern double cosh( double );
extern float coshf( float );

extern double sinh( double );
extern float sinhf( float );

extern double tanh( double );
extern float tanhf( float );

extern double exp( double );
extern float expf( float );

extern double exp2( double );
extern float exp2f( float );

extern double expm1( double );
extern float expm1f( float );

extern double log( double );
extern float logf( float );

extern double log10( double );
extern float log10f( float );

extern double log2( double );
extern float log2f( float );

extern double log1p( double );
extern float log1pf( float );

extern double logb( double );
extern float logbf( float );

extern double modf( double, double * );
extern float modff( float, float * );

extern double ldexp( double, int );
extern float ldexpf( float, int );

extern double frexp( double, int * );
extern float frexpf( float, int * );

extern int ilogb( double );
extern int ilogbf( float );

extern double scalbn( double, int );
extern float scalbnf( float, int );

extern double scalbln( double, long int );
extern float scalblnf( float, long int );

extern double fabs( double );
extern float fabsf( float );

extern double cbrt( double );
extern float cbrtf( float );

extern double hypot( double, double );
extern float hypotf( float, float );

extern double pow( double, double );
extern float powf( float, float );

extern double sqrt( double );
extern float sqrtf( float );

extern double erf( double );
extern float erff( float );

extern double erfc( double );
extern float erfcf( float );

extern double lgamma( double );
extern float lgammaf( float );

extern double tgamma( double );
extern float tgammaf( float );

extern double ceil( double );
extern float ceilf( float );

extern double floor( double );
extern float floorf( float );

extern double nearbyint( double );
extern float nearbyintf( float );

extern double rint( double );
extern float rintf( float );

extern long int lrint( double );
extern long int lrintf( float );

extern long long int llrint( double );
extern long long int llrintf( float );

extern double round( double );
extern float roundf( float );

extern long int lround( double );
extern long int lroundf( float );

extern long long int llround( double );
extern long long int llroundf( float );

extern double trunc( double );
extern float truncf( float );

extern double fmod( double, double );
extern float fmodf( float, float );

extern double remainder( double, double );
extern float remainderf( float, float );

extern double remquo( double, double, int * );
extern float remquof( float, float, int * );

extern double copysign( double, double );
extern float copysignf( float, float );

extern double nan( const char * );
extern float nanf( const char * );

extern double nextafter( double, double );
extern float nextafterf( float, float );


extern double fdim( double, double );
extern float fdimf( float, float );

extern double fmax( double, double );
extern float fmaxf( float, float );

extern double fmin( double, double );
extern float fminf( float, float );

extern double fma( double, double, double );
extern float fmaf( float, float, float );


extern long double acosl( long double ) __asm("_" "acosl" "$LDBL128");
extern long double asinl( long double ) __asm("_" "asinl" "$LDBL128");
extern long double atanl( long double ) __asm("_" "atanl" "$LDBL128");
extern long double atan2l( long double, long double ) __asm("_"
"atan2l" "$LDBL128");
extern long double cosl( long double ) __asm("_" "cosl" "$LDBL128");
extern long double sinl( long double ) __asm("_" "sinl" "$LDBL128");
extern long double tanl( long double ) __asm("_" "tanl" "$LDBL128");
extern long double acoshl( long double ) __asm("_" "acoshl" "$LDBL128");
extern long double asinhl( long double ) __asm("_" "asinhl" "$LDBL128");
extern long double atanhl( long double ) __asm("_" "atanhl" "$LDBL128");
extern long double coshl( long double ) __asm("_" "coshl" "$LDBL128");
extern long double sinhl( long double ) __asm("_" "sinhl" "$LDBL128");
extern long double tanhl( long double ) __asm("_" "tanhl" "$LDBL128");
extern long double expl( long double ) __asm("_" "expl" "$LDBL128");
extern long double exp2l( long double ) __asm("_" "exp2l" "$LDBL128");
extern long double expm1l( long double ) __asm("_" "expm1l" "$LDBL128");
extern long double logl( long double ) __asm("_" "logl" "$LDBL128");
extern long double log10l( long double ) __asm("_" "log10l" "$LDBL128");
extern long double log2l( long double ) __asm("_" "log2l" "$LDBL128");
extern long double log1pl( long double ) __asm("_" "log1pl" "$LDBL128");
extern long double logbl( long double ) __asm("_" "logbl" "$LDBL128");
extern long double modfl( long double, long double * ) __asm("_"
"modfl" "$LDBL128");
extern long double ldexpl( long double, int ) __asm("_" "ldexpl" "$LDBL128");
extern long double frexpl( long double, int * ) __asm("_" "frexpl" "$LDBL128");
extern int ilogbl( long double ) __asm("_" "ilogbl" "$LDBL128");
extern long double scalbnl( long double, int ) __asm("_" "scalbnl" "$LDBL128");
extern long double scalblnl( long double, long int ) __asm("_"
"scalblnl" "$LDBL128");
extern long double fabsl( long double ) __asm("_" "fabsl" "$LDBL128");
extern long double cbrtl( long double ) __asm("_" "cbrtl" "$LDBL128");
extern long double hypotl( long double, long double ) __asm("_"
"hypotl" "$LDBL128");
extern long double powl( long double, long double ) __asm("_" "powl"
"$LDBL128");
extern long double sqrtl( long double ) __asm("_" "sqrtl" "$LDBL128");
extern long double erfl( long double ) __asm("_" "erfl" "$LDBL128");
extern long double erfcl( long double ) __asm("_" "erfcl" "$LDBL128");
extern long double lgammal( long double ) __asm("_" "lgammal" "$LDBL128");
extern long double tgammal( long double ) __asm("_" "tgammal" "$LDBL128");
extern long double ceill( long double ) __asm("_" "ceill" "$LDBL128");
extern long double floorl( long double ) __asm("_" "floorl" "$LDBL128");
extern long double nearbyintl( long double ) __asm("_" "nearbyintl" "$LDBL128");
extern long double rintl( long double ) __asm("_" "rintl" "$LDBL128");
extern long int lrintl( long double ) __asm("_" "lrintl" "$LDBL128");
extern long long int llrintl( long double ) __asm("_" "llrintl" "$LDBL128");
extern long double roundl( long double ) __asm("_" "roundl" "$LDBL128");
extern long int lroundl( long double ) __asm("_" "lroundl" "$LDBL128");
extern long long int llroundl( long double ) __asm("_" "llroundl" "$LDBL128");
extern long double truncl( long double ) __asm("_" "truncl" "$LDBL128");
extern long double fmodl( long double, long double) __asm("_" "fmodl"
"$LDBL128");
extern long double remainderl( long double, long double ) __asm("_"
"remainderl" "$LDBL128");
extern long double remquol( long double, long double, int * )
__asm("_" "remquol" "$LDBL128");
extern long double copysignl( long double, long double ) __asm("_"
"copysignl" "$LDBL128");
extern long double nanl( const char * ) __asm("_" "nanl" "$LDBL128");
extern long double nextafterl( long double, long double ) __asm("_"
"nextafterl" "$LDBL128");
extern double nexttoward( double, long double ) __asm("_" "nexttoward"
"$LDBL128");
extern float nexttowardf( float, long double ) __asm("_" "nexttowardf"
"$LDBL128");
extern long double nexttowardl( long double, long double ) __asm("_"
"nexttowardl" "$LDBL128");
extern long double fdiml( long double, long double ) __asm("_" "fdiml"
"$LDBL128");
extern long double fmaxl( long double, long double ) __asm("_" "fmaxl"
"$LDBL128");
extern long double fminl( long double, long double ) __asm("_" "fminl"
"$LDBL128");
extern long double fmal( long double, long double, long double )
__asm("_" "fmal" "$LDBL128");


#define isgreater(x,y) __builtin_isgreater ((x),(y))
#define isgreaterequal(x,y) __builtin_isgreaterequal ((x),(y))
#define isless(x,y) __builtin_isless ((x),(y))
#define islessequal(x,y) __builtin_islessequal ((x),(y))
#define islessgreater(x,y) __builtin_islessgreater ((x),(y))
#define isunordered(x,y) __builtin_isunordered ((x),(y))

extern double __inf( void );
extern float __inff( void );
extern float __nan( void );


extern double j0 ( double );
extern double j1 ( double );
extern double jn ( int, double );

extern double y0 ( double );
extern double y1 ( double );
extern double yn ( int, double );


extern double scalb ( double, int );


#define M_E 2.71828182845904523536028747135266250
#define M_LOG2E 1.44269504088896340735992468100189214
#define M_LOG10E 0.434294481903251827651128918916605082
#define M_LN2 0.693147180559945309417232121458176568
#define M_LN10 2.30258509299404568401799145468436421
#define M_PI 3.14159265358979323846264338327950288
#define M_PI_2 1.57079632679489661923132169163975144
#define M_PI_4 0.785398163397448309615660845819875721
#define M_1_PI 0.318309886183790671537767526745028724
#define M_2_PI 0.636619772367581343075535053490057448
#define M_2_SQRTPI 1.12837916709551257389615890312154517
#define M_SQRT2 1.41421356237309504880168872420969808
#define M_SQRT1_2 0.707106781186547524400844362104849039

#define MAXFLOAT ((float)3.40282346638528860e+38)
extern int signgam;


#define __WANT_EXTENSIONS__


#define FP_SNAN FP_NAN
#define FP_QNAN FP_NAN

extern long int rinttol ( double );

extern long int roundtol ( double );

typedef struct __complex_s {
double Real;
double Imag;
} __complex_t;

enum fdversion {_fdlibm_ieee = -1, _fdlibm_svid, _fdlibm_xopen, _fdlibm_posix};
#define fdlibm_ieee _fdlibm_ieee
#define fdlibm_svid _fdlibm_svid
#define fdlibm_xopen _fdlibm_xopen
#define fdlibm_posix _fdlibm_posix

#define _LIB_VERSION_TYPE enum fdversion
#define _LIB_VERSION _fdlib_version
# 539 "/usr/include/architecture/ppc/math.h" 3 4
extern enum fdversion _fdlib_version;

#define _IEEE_ fdlibm_ieee
#define _SVID_ fdlibm_svid
#define _XOPEN_ fdlibm_xopen
#define _POSIX_ fdlibm_posix
# 556 "/usr/include/architecture/ppc/math.h" 3 4
#define HUGE MAXFLOAT


#define X_TLOSS 1.41484755040568800000e+16

#define DOMAIN 1
#define SING 2
#define OVERFLOW 3
#define UNDERFLOW 4
#define TLOSS 5
#define PLOSS 6

extern int finite ( double );

extern double gamma ( double );
# 589 "/usr/include/architecture/ppc/math.h" 3 4
extern double significand ( double );


extern double drem ( double, double );
# 687 "/usr/include/architecture/ppc/math.h" 3 4
}
# 27 "/usr/include/math.h" 2 3 4
# 38 "src/core/compat-round.cc" 2


#define COMPAT_FP_INFINITE 0x01
#define COMPAT_FP_NAN 0x02
#define COMPAT_FP_NORMAL 0x04
#define COMPAT_FP_SUBNORMAL 0x08
#define COMPAT_FP_ZERO 0x10


#define compat_fpclassify(x) ((sizeof (x) == sizeof (float)) ?
compat___fpclassifyf(x) : (sizeof (x) == sizeof (double)) ?
compat___fpclassifyd(x) : compat___fpclassifyl(x))


union compat_IEEEf2bits {
float f;
struct {

unsigned int man :23;
unsigned int exp :8;
unsigned int sign :1;

} bits;
};

union compat_IEEEd2bits {
double d;
struct {

unsigned int manl :32;
unsigned int manh :20;
unsigned int exp :11;
unsigned int sign :1;


} bits;
};
# 180 "src/core/compat-round.cc"
static int
compat___fpclassifyf(float f)
{
union compat_IEEEf2bits u;

u.f = f;
if (u.bits.exp == 0) {
if (u.bits.man == 0)
return (0x10);
return (0x08);
}
if (u.bits.exp == 255) {
if (u.bits.man == 0)
return (0x01);
return (0x02);
}
return (0x04);
}

static int
compat___fpclassifyd(double d)
{
union compat_IEEEd2bits u;

u.d = d;
if (u.bits.exp == 0) {
if ((u.bits.manl | u.bits.manh) == 0)
return (0x10);
return (0x08);
}
if (u.bits.exp == 2047) {
if ((u.bits.manl | u.bits.manh) == 0)
return (0x01);
return (0x02);
}
return (0x04);
}

static int
compat___fpclassifyl(long double e)
{
union compat_IEEEl2bits u;

u.e = e;
if (u.bits.exp == 0) {
if ((u.bits.manl | u.bits.manh) == 0)
return (0x10);
return (0x08);
}
compat_mask_nbit_l(u);
if (u.bits.exp == 32767) {
if ((u.bits.manl | u.bits.manh) == 0)
return (0x01);
return (0x02);
}
return (0x04);
}

double
compat_round(double x)
{
double t;
int i;

i = ((sizeof (x) == sizeof (float)) ? compat___fpclassifyf(x) :
(sizeof (x) == sizeof (double)) ? compat___fpclassifyd(x) :
compat___fpclassifyl(x));
if (i == 0x01 || i == 0x02)
return (x);

if (x >= 0.0) {
t = ceil(x);
if (t - x > 0.5)
t -= 1.0;
return (t);
} else {
t = ceil(-x);
if (t + x > 0.5)
t -= 1.0;
return (-t);
}
}


On 5/30/06, Jonathon Jongsma <jonathon...@gmail.com> wrote:
>

Jonathon Jongsma

unread,
May 31, 2006, 9:44:00 AM5/31/06
to colorsch...@googlegroups.com
On 5/31/06, Randall Wood <randall...@gmail.com> wrote:
> [snipped output]

OK, can you try this for me? in compat_round.cc, line 156:
change from:
#elif __powerpc__

to:
#elif __ppc__


I think there may be another problem hiding in there as well, though.
It seems to be using little-endian byte order, but I think powerpc
should be using big-endian... I'm guessing it has something to do
with this (line 46):
#ifdef Linux
#include <endian.h>
#elif defined(__FreeBSD__)
#include <machine/endian.h>
#endif

So it doesn't appear that endian.h is included unless it's being
compiled on Linux or freebsd. I believe that endian.h is probably
located in the same place on osx as in freebsd (correct me if I'm
wrong), so changing it to this might help:
#ifdef Linux
#include <endian.h>
#elif defined(__FreeBSD__) || defined(__APPLE__)
#include <machine/endian.h>
#endif

Let me know how that works for you.

Jonner

Randall Wood

unread,
Jun 2, 2006, 5:39:22 AM6/2/06
to colorsch...@googlegroups.com
All things worked for me once I changed line 156.

The only error I noticed was:

Axterix:~ rhwood$ /opt/local/bin/colorscheme
GTK Accessibility Module initialized
Error loading Palette definition
Axterix:~ rhwood$

but this did not seem to affect the operation of the app as far as I could tell.

Jonathon Jongsma

unread,
Jun 2, 2006, 12:55:37 PM6/2/06
to colorsch...@googlegroups.com
ahh, yes. that is something that will happen the first time you run it
because it can't find the saved 'favorites' file (because it doesn't
exist yet, obviously). I really should fix that. Glad you got it
working.

Jonathon Jongsma

unread,
Jun 11, 2006, 1:59:18 PM6/11/06
to colorsch...@googlegroups.com
Randall, Can you confirm for me whether you changed only line 156 or
if needed to change line 46 as well?

Thanks,
Jonathon

On 6/2/06, Randall Wood <randall...@gmail.com> wrote:
>

Randall Wood

unread,
Jun 12, 2006, 7:20:31 AM6/12/06
to colorsch...@googlegroups.com
The changes I made are:

--- src/core/compat-round.cc.bak 2006-06-10 05:40:20.000000000 -0400
+++ src/core/compat-round.cc 2006-06-10 05:41:00.000000000 -0400
@@ -153,7 +153,7 @@
} bits;
};
#define compat_mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff)
-#elif __powerpc__
+#elif __ppc__
union compat_IEEEl2bits {
long double e;
struct {

BTW, colorscheme is now in the darwinports
(http://www.darwinports.org) port collection.

Jonathon Jongsma

unread,
Jun 12, 2006, 7:48:55 AM6/12/06
to colorsch...@googlegroups.com
On 6/12/06, Randall Wood <randall...@gmail.com> wrote:
>
> The changes I made are:
>
> --- src/core/compat-round.cc.bak 2006-06-10 05:40:20.000000000 -0400
> +++ src/core/compat-round.cc 2006-06-10 05:41:00.000000000 -0400
> @@ -153,7 +153,7 @@
> } bits;
> };
> #define compat_mask_nbit_l(u) ((u).bits.manh &= 0x7fffffff)
> -#elif __powerpc__
> +#elif __ppc__
> union compat_IEEEl2bits {
> long double e;
> struct {

Thanks for confirming that.

> BTW, colorscheme is now in the darwinports
> (http://www.darwinports.org) port collection.
>

Great! Thanks a lot.

Jonathon

Reply all
Reply to author
Forward
0 new messages