public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-971201 build on SunOS 5.5.1
@ 1997-12-03 10:32 Johann Petrak
  1997-12-04  9:53 ` egcs-971201 build on SunOS 5.5.1: my fault Johann Petrak
  1997-12-05 10:44 ` egcs-971201 build on SunOS 5.5.1 Jeffrey A Law
  0 siblings, 2 replies; 3+ messages in thread
From: Johann Petrak @ 1997-12-03 10:32 UTC (permalink / raw)
  To: egcs

I tried to build egcs-971201 on a SunOS 5.5.1, 
Generic sun4u sparc SUNW,Ultra-2 machine,
using gnumake version 3.74 and gcc 2.7.2.1:
  cd objsolaris
  $EGCS/configure --prefix $pref
  gnumake bootstrap-lean

[...]
make[2]: Entering directory `/oberlaa/src/egcs-971201/OBJ-solaris/gcc'
./xgcc -B./  -DIN_GCC  -DSVR4  -g -I./include     -DNO_MEM
-DNO_LONG_DOUBLE_IO -O0 -I. -c ../../gcc/enquire.c
../../gcc/enquire.c:497: parse error before `lab'
../../gcc/enquire.c:497: warning: data definition has no type or storage
class
../../gcc/enquire.c: In function `setmode':
../../gcc/enquire.c:602: `stderr' undeclared (first use this function)
../../gcc/enquire.c:602: (Each undeclared identifier is reported only
once
../../gcc/enquire.c:602: for each function it appears in.)
../../gcc/enquire.c: In function `xmalloc':
../../gcc/enquire.c:627: `stderr' undeclared (first use this function)
../../gcc/enquire.c: In function `main':
../../gcc/enquire.c:687: `stderr' undeclared (first use this function)
../../gcc/enquire.c: In function `fprop':
../../gcc/enquire.c:2304: `stderr' undeclared (first use this function)
../../gcc/enquire.c: In function `dprop':
In file included from ../../gcc/enquire.c:2839:
../../gcc/enquire.c:2304: `stderr' undeclared (first use this function)
../../gcc/enquire.c: In function `ldprop':
In file included from ../../gcc/enquire.c:2839,
                 from ../../gcc/enquire.c:2839:
../../gcc/enquire.c:2304: `stderr' undeclared (first use this function)
make[2]: *** [enquire.o] Error 1

I had no propblems compiling on a SunOS 4.1.3_U1 2 sun4m
machine.

(The 1127 snapshot didnt compile on SunOS 5.5.1 either)

Any ideas? 

Excuse me (but let me know) if this is not the right list
for this kind of questions!

Cheers,
  Johann

-- 
Mr. Johann Petrak                   Email: johann@ai.univie.ac.at
Austrian Research Institute for AI  Phone:     +43-1-533-61-12/13
Schottengasse 3                     Fax:          +43-1-532-06-52
A-1010 Vienna, AUSTRIA         http://www.ai.univie.ac.at/~johann

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

* Re: egcs-971201 build on SunOS 5.5.1: my fault
  1997-12-03 10:32 egcs-971201 build on SunOS 5.5.1 Johann Petrak
@ 1997-12-04  9:53 ` Johann Petrak
  1997-12-05 10:44 ` egcs-971201 build on SunOS 5.5.1 Jeffrey A Law
  1 sibling, 0 replies; 3+ messages in thread
From: Johann Petrak @ 1997-12-04  9:53 UTC (permalink / raw)
  To: egcs

The problem was outside egcs, sorry to bother you all!

The reason for the build not being able to find some include
files was that the sed within the fixinc.svr4 
shell script crashed (segmentation fault) for some of the
headers, because the binary sed-3.0 package was installed on that
machine. Replacing it with the more stable sed-2.05 fixed
the problem.

Johann

I wrote:
> 
> I tried to build egcs-971201 on a SunOS 5.5.1,
> Generic sun4u sparc SUNW,Ultra-2 machine,
> using gnumake version 3.74 and gcc 2.7.2.1:
>   cd objsolaris
>   $EGCS/configure --prefix $pref
>   gnumake bootstrap-lean
> 
> [...]
> make[2]: Entering directory `/oberlaa/src/egcs-971201/OBJ-solaris/gcc'
> ./xgcc -B./  -DIN_GCC  -DSVR4  -g -I./include     -DNO_MEM
> -DNO_LONG_DOUBLE_IO -O0 -I. -c ../../gcc/enquire.c
> [...]



-- 
Mr. Johann Petrak                   Email: johann@ai.univie.ac.at
Austrian Research Institute for AI  Phone:     +43-1-533-61-12/13
Schottengasse 3                     Fax:          +43-1-532-06-52
A-1010 Vienna, AUSTRIA         http://www.ai.univie.ac.at/~johann

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

* Re: egcs-971201 build on SunOS 5.5.1
  1997-12-03 10:32 egcs-971201 build on SunOS 5.5.1 Johann Petrak
  1997-12-04  9:53 ` egcs-971201 build on SunOS 5.5.1: my fault Johann Petrak
@ 1997-12-05 10:44 ` Jeffrey A Law
  1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 1997-12-05 10:44 UTC (permalink / raw)
  To: Johann Petrak; +Cc: egcs

  In message < 348561C4.96DBED54@ai.univie.ac.at >you write:
  > I tried to build egcs-971201 on a SunOS 5.5.1, 
  > Generic sun4u sparc SUNW,Ultra-2 machine,
  > using gnumake version 3.74 and gcc 2.7.2.1:
  >   cd objsolaris
  >   $EGCS/configure --prefix $pref
  >   gnumake bootstrap-lean
  > 
  > [...]
  > make[2]: Entering directory `/oberlaa/src/egcs-971201/OBJ-solaris/gcc'
  > ./xgcc -B./  -DIN_GCC  -DSVR4  -g -I./include     -DNO_MEM
  > -DNO_LONG_DOUBLE_IO -O0 -I. -c ../../gcc/enquire.c
  > ../../gcc/enquire.c:497: parse error before `lab'
Can you cd into <objdir>/gcc and issue the ./xgcc ... command shown above
with the "-save-temps" option added to the end of the command line?

Send me (not the whole list) the resulting .i file.

Something is very wrong since as far as I know this platform should
work without any trouble.

Jeff

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

end of thread, other threads:[~1997-12-05 10:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-03 10:32 egcs-971201 build on SunOS 5.5.1 Johann Petrak
1997-12-04  9:53 ` egcs-971201 build on SunOS 5.5.1: my fault Johann Petrak
1997-12-05 10:44 ` egcs-971201 build on SunOS 5.5.1 Jeffrey A Law

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).