This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

problems building 2.95.2 on sparc-sun-solaris2.5.1


Hello,

'make bootstrap' fails for me with a "redefinition of struct exception"
error.  I don't know how to workaround this, as the header in question is
a system header which is conflicting with a GCC header.  Any help would be
much appreciated!


% uname -a
SunOS cherry.senteinc.com 5.5.1 Generic sun4u sparc SUNW,Ultra-1
% env CC=cc ./configure --prefix=/system/pkg/gcc/$VERS \
  --exec-prefix=/system/pkg/gcc/$VERS/$PLATFORM --enable-languages=c++
% make bootstrap
...
/system/disks/scrap/tmp/kenstir-tmp/gcc-2.95.2/gcc/xgcc -B/system/disks/scrap/tmp/kenstir-tmp/gcc-2.95.2/gcc/ -B/system/pkg/gcc/2.95.2/sparc-sun-solaris2.5.1/sparc-sun-solaris2.5.1/bin/ -c -g -O2 -fno-implicit-templates -I. -I./stl -I../libio -I./../libio -nostdinc++  valarray.cc
In file included from /system/disks/scrap/tmp/kenstir-tmp/gcc-2.95.2/gcc/include/new:9,
                 from /system/disks/scrap/tmp/kenstir-tmp/gcc-2.95.2/gcc/include/new.h:6,
                 from stl/stl_algobase.h:52,
                 from stl/algorithm:30,
                 from std/std_valarray.h:41,
                 from valarray.cc:1:
/system/disks/scrap/tmp/kenstir-tmp/gcc-2.95.2/gcc/include/exception:13: redefinition of `struct exception'
/usr/include/math.h:81: previous definition here


--
Kenneth H. Cox
Software Guy
Sente, Inc.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]