public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problems building 2.95.2 on sparc-sun-solaris2.5.1
@ 1999-12-21 12:14 Kenneth H. Cox
  1999-12-21 12:46 ` Jeffrey A Law
  1999-12-31 22:24 ` Kenneth H. Cox
  0 siblings, 2 replies; 4+ messages in thread
From: Kenneth H. Cox @ 1999-12-21 12:14 UTC (permalink / raw)
  To: gcc-help

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems building 2.95.2 on sparc-sun-solaris2.5.1
  1999-12-21 12:14 problems building 2.95.2 on sparc-sun-solaris2.5.1 Kenneth H. Cox
@ 1999-12-21 12:46 ` Jeffrey A Law
  1999-12-31 22:24   ` Jeffrey A Law
  1999-12-31 22:24 ` Kenneth H. Cox
  1 sibling, 1 reply; 4+ messages in thread
From: Jeffrey A Law @ 1999-12-21 12:46 UTC (permalink / raw)
  To: Kenneth H. Cox; +Cc: gcc-help

  In message < Pine.GSO.4.20.9912211509280.16675-100000@cherry.senteinc.com >you 
write:
  > 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!
Sounds like fixincludes did not run since it should have created a private
version of math.h which avoids this problem.
jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: problems building 2.95.2 on sparc-sun-solaris2.5.1
  1999-12-21 12:46 ` Jeffrey A Law
@ 1999-12-31 22:24   ` Jeffrey A Law
  0 siblings, 0 replies; 4+ messages in thread
From: Jeffrey A Law @ 1999-12-31 22:24 UTC (permalink / raw)
  To: Kenneth H. Cox; +Cc: gcc-help

  In message < Pine.GSO.4.20.9912211509280.16675-100000@cherry.senteinc.com >you 
write:
  > 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!
Sounds like fixincludes did not run since it should have created a private
version of math.h which avoids this problem.
jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* problems building 2.95.2 on sparc-sun-solaris2.5.1
  1999-12-21 12:14 problems building 2.95.2 on sparc-sun-solaris2.5.1 Kenneth H. Cox
  1999-12-21 12:46 ` Jeffrey A Law
@ 1999-12-31 22:24 ` Kenneth H. Cox
  1 sibling, 0 replies; 4+ messages in thread
From: Kenneth H. Cox @ 1999-12-31 22:24 UTC (permalink / raw)
  To: gcc-help

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-12-31 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-21 12:14 problems building 2.95.2 on sparc-sun-solaris2.5.1 Kenneth H. Cox
1999-12-21 12:46 ` Jeffrey A Law
1999-12-31 22:24   ` Jeffrey A Law
1999-12-31 22:24 ` Kenneth H. Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).