Hello, Well, I have now gotten libsigc++-1.2.5 on my Solaris 2.8 (SPARC) box and I am trying to compile Inkscape 0.38.1. The configure process goes well, but the compilation produces the following error: ================== E R R O R B E G I N ========================= g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src -I/data/dcarrera/include/gtk-2.0 -I/data/dcarrera/lib/gtk-2.0/include -I/data/dcarrera/include/atk-1.0 -I/data/dcarrera/include/pango-1.0 -I/usr/openwin/include -I/data/dcarrera/include/glib-2.0 -I/data/dcarrera/lib/glib-2.0/include -I/data/dcarrera/include/libart-2.0 -I/data/dcarrera/include/libxml2 -I/data/dcarrera/lib/sigc++-1.2/include -I/data/dcarrera/include/sigc++-1.2 -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused -g -O2 -c -o nr-types.o `test -f 'nr-types.cpp' || echo './'`nr-types.cpp In file included from ../libnr/nr-macros.h:23, from ../libnr/nr-matrix.h:22, from ../libnr/nr-types.h:23, from nr-types.cpp:1: ../libnr/nr-rect.h: In method `bool NR::Rect::isEmpty<X>() const': ../libnr/nr-rect.h:112: instantiated from here ../libnr/nr-rect.h:172: Internal compiler error. ../libnr/nr-rect.h:172: Please submit a full bug report. ../libnr/nr-rect.h:172: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions. gmake[1]: *** [nr-types.o] Error 1 gmake[1]: Leaving directory `/data/dcarrera/src/apps/inkscape-0.38.1/src/libnr' gmake: *** [all] Error 2 ================== E R R O R E N D ========================= Can anyone either confirm or deny that this is a GCC bug? I am using gcc 2.95.2 with GNU make. Does this error mean anything to any of you? Any help would be much appreciated. Cheers, -- Daniel Carrera | No trees were harmed in the generation of this e-mail. PhD student. | A significant number of electrons were, however, severely Math Dept. UMD | inconvenienced.
We've noted problems with pre-3.0 gcc's - you may eliminate possible sources of errors by using a more recent version of gcc. Bryce On Sat, 17 Apr 2004, Daniel Carrera wrote:
Can anyone either confirm or deny that this is a GCC bug? I am using gcc 2.95.2 with GNU make.
Does this error mean anything to any of you?
Any help would be much appreciated.
Cheers,
Bryce Harrington wrote:
We've noted problems with pre-3.0 gcc's - you may eliminate possible sources of errors by using a more recent version of gcc.
That would be a problem, since I am not the sysamdin for this box. They let me compile software for my personal use, but GCC might be pushing it. -- Daniel Carrera | No trees were harmed in the generation of this e-mail. PhD student. | A significant number of electrons were, however, severely Math Dept. UMD | inconvenienced.
I think you can compile and run gcc in userspace, though admittedly it's a bit of a project. gcc 2.95 is a bit old; perhaps your sysadmins could consent to upgrading to a more recent version? Another option might be to try to use the native compiler on Solaris. Bryce On Sat, 17 Apr 2004, Daniel Carrera wrote:
Bryce Harrington wrote:
We've noted problems with pre-3.0 gcc's - you may eliminate possible sources of errors by using a more recent version of gcc.
That would be a problem, since I am not the sysamdin for this box. They let me compile software for my personal use, but GCC might be pushing it.
On Fri, 2004-04-16 at 21:39, Daniel Carrera wrote:
Can anyone either confirm or deny that this is a GCC bug? I am using gcc 2.95.2 with GNU make.
Does this error mean anything to any of you?
Uhm, that warning usually means that thing went really bad for the compiler - I have gotten that error before - and it was always the compiler's fault. I looked at the lines that it mentions, and they are really pretty simple - I can't figure out what it would be upset about. Here is a good reference to the source code for a bug report to GCC: http://cvs.sourceforge.net/viewcvs.py/*checkout*/inkscape/inkscape/src/libnr... We have had some issues with the older GCC compilers - I think this may be due to the fact that they didn't take C++ very seriously until the 3.x series. Sorry I'm not more helpful - but if you are able to get it working it would be very cool to know. As far as I know, no one is using Inkscape on Solaris today. It should work, in theory. --Ted
participants (3)
-
Bryce Harrington -
Daniel Carrera -
Ted Gould