help make gcc-3.4.0 missing floatingpoint.h

  • Follow


trying to compile gcc-3.4.0 after installing the gcc pkg from
www.sunfreeware.com

it's solaris 9 for SPARC
installed for developer and not Entire distribution.

here is where i get stuck :

gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall
-Wtraditional -pedantic floatformat.c -o floatformat.o
In file included from
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.0/include/math.h:248,
                 from floatformat.c:27:
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.0/include/floatingpoint.h:98:
error: field `fpclass' has incomplete type
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.0/include/floatingpoint.h:121:
error: field `rd' has incomplete type
floatformat.c: In function `floatformat_to_double':
floatformat.c:350: warning: implicit declaration of function `ldexp'
floatformat.c: In function `floatformat_from_double':
floatformat.c:494: warning: implicit declaration of function `frexp'
make[1]: *** [floatformat.o] Error 1
make[1]: Leaving directory `/extra/src/gcc-3.4.0/libiberty'
make: *** [all-libiberty] Error 2
0
Reply justsellthis 5/4/2004 1:17:43 AM

justsellthis@hotmail.com (Marconi Man) wrote in message news:<8f608fb3.0405031717.5a384de5@posting.google.com>...
> trying to compile gcc-3.4.0 after installing the gcc pkg from
> www.sunfreeware.com

Which gcc package? Generally 2.95.3 seems to bootstrap gcc 3.x
OK although Im building gcc-3.4 with gcc-3.3.3 with no difficulties
right now. No wait see below.

So far the only prerequisite for the build seems
to be "gmake".

> it's solaris 9 for SPARC
> installed for developer and not Entire distribution.
> 
> here is where i get stuck :
> 
> gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall
> -Wtraditional -pedantic floatformat.c -o floatformat.o
> In file included from
> /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.0/include/math.h:248,
>                  from floatformat.c:27:
> /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.0/include/floatingpoint.h:98:
> error: field `fpclass' has incomplete type

Well it shouldnt be incomplete. Its defined in sys/ieeefp.h

One other thing - maybe its the mirror I picked - but the zlib tree
was missing in my .bz2 file..
0
Reply gerryt 5/4/2004 9:29:51 PM


well, after two days of these problems, i re-installed solaris 9 with
Entire Disrt. and OEM
then 9 recommended patches

then all this:

libiconv-1.8-sol9-sparc-local
gcc-3.4.0-sol9-sparc-local
tar-1.13.94-sol9-sparc-local
glib-1.2.10-sol9-sparc-local
m4-1.4-sol9-sparc-local
make-3.80-sol9-sparc-local
flex-2.5.31-sol9-sparc-local.gz
coreutils-4.5.4-sol9-sparc-local
libtool-1.5-sol9-sparc-local
ncurses-5.3-sol9-sparc-local
libpng-1.2.4-sol9-sparc-local
jpeg-6b-sol9-sparc-local
freetype-2.1.2-sol9-sparc-local
libgcc-3.3-sol9-sparc-local


NOW , i try to compile gcc-2.95.3 and NO luck

here what happen during make ( what you see is the lat part ) --->


gcc -c  -DIN_GCC -DSVR4  -g -O2     -I. -I.. -I. -I./.. -I./../config
-I./../../include decl.c
decl.c: In function `start_struct':
decl.c:4451: error: argument "code" doesn't match prototype
ch-tree.h:736: error: prototype declaration
make[2]: *** [decl.o] Error 1
make[2]: Leaving directory `/extra/src/gcc-2.95.3/gcc/ch'
make[1]: *** [cc1chill] Error 2
make[1]: Leaving directory `/extra/src/gcc-2.95.3/gcc'
make: *** [all-gcc] Error 2



I'm almost giving up on solaris 9 and want to go back to solaris 8.

help please.
thansk


gerryt@vcn.bc.ca (Gerry T) wrote in message news:<bff0f017.0405041329.20fd1d86@posting.google.com>...
> justsellthis@hotmail.com (Marconi Man) wrote in message news:<8f608fb3.0405031717.5a384de5@posting.google.com>...
> > trying to compile gcc-3.4.0 after installing the gcc pkg from
> > www.sunfreeware.com
> 
> Which gcc package? Generally 2.95.3 seems to bootstrap gcc 3.x
> OK although Im building gcc-3.4 with gcc-3.3.3 with no difficulties
> right now. No wait see below.
> 
> So far the only prerequisite for the build seems
> to be "gmake".
> 
> > it's solaris 9 for SPARC
> > installed for developer and not Entire distribution.
> > 
> > here is where i get stuck :
> > 
> > gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include  -W -Wall
> > -Wtraditional -pedantic floatformat.c -o floatformat.o
> > In file included from
> > /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.0/include/math.h:248,
> >                  from floatformat.c:27:
> > /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.0/include/floatingpoint.h:98:
> > error: field `fpclass' has incomplete type
> 
> Well it shouldnt be incomplete. Its defined in sys/ieeefp.h
> 
> One other thing - maybe its the mirror I picked - but the zlib tree
> was missing in my .bz2 file..
0
Reply justsellthis 5/5/2004 7:27:45 PM

Marconi Man <justsellthis@hotmail.com> wrote:
> trying to compile gcc-3.4.0 after installing the gcc pkg from
> www.sunfreeware.com
> 
> it's solaris 9 for SPARC
> installed for developer and not Entire distribution.

(snip)

I have no answers for you here, but I have to ask: Why do you need
gcc-3.4.0 so badly? Is there anything that 3.3.x is missing, that
really necessitates going up a version?

Just curious,
Colin
0
Reply Colin 5/5/2004 8:41:35 PM

3 Replies
304 Views

(page loaded in 0.074 seconds)

Similiar Articles:













7/25/2012 3:57:49 PM


Reply: