From: Chris Wilson <cwilson@cs.stanford.edu>
Date: Wed, 11 May 94 14:31:11 PDT
Subject: Re: Help with compiling
Message-Id: <CMM.0.90.4.768691871.cwilson@Xenon.Stanford.EDU>
cferner@cs.du.edu (Clayton S. Ferner) writes:
> I'm having problems installing the suif compiler. Can someone help? The
> following is a sample from the src/suif/install.log. The syntax errors
> may be because I'm using g++ version 2.4.5. But I can't figure out the
> problems with the make file stuff, since I'm using gmake
> version 3.70.
[...]
> In file included from alist.cc:18:
> misc.h:107: warning: type specifier omitted for parameter
> misc.h:107: parse error before `)'
> misc.h:109: warning: type specifier omitted for parameter
> misc.h:109: parse error before `)'
> gmake[3]: *** [alist.o] Error 1
[...]
The two lines where you are getting errors are the two places where
the va_list type is used. This is supposed to be defined in the ANSI
C header file <stdarg.h>, which is included on line 16 of "misc.h".
I'd check that file to see how it defines va_list, and what ``#ifdef''
statements are around the definition. You might want to try compiling
with g++'s ``-save-temps'' flag and then look at the .i file to see
what macro substitution the pre-processor did.
--Chris
From: "Robert S. French" <rfrench@cs.stanford.edu>
Date: Wed, 11 May 94 12:54:14 -0700
Subject: Re: Help with compiling
Message-Id: <9405111954.AA15800@Hawg.Stanford.EDU>
Also, for those people who are still using a beta version of SUIF, it
would probably be a good idea to grab the 1.0 release. There were a
substantial number of bug fixes, as well as improved documentation.
Rob
From: "Robert S. French" <rfrench@cs.stanford.edu>
Date: Wed, 11 May 94 12:48:52 -0700
Subject: Re: Help with compiling
Message-Id: <9405111948.AA15723@Hawg.Stanford.EDU>
Date: Wed, 11 May 1994 15:37:40 -0400
From: murka@cs.umd.edu (Tatiana Shpeisman)
Reply-To: suif-talk@hawg.stanford.edu
I've managed to install suif using g++ 2.4.5.
I've also had some problems while installing:
1) In some files -> was used intead of .
Obviously for unknown reasons new g++ compiler allows it.
These problems that were reported were fixed in the 1.0 release. If
anyone else has any such problems, please don't hesitate to send them
to suif-bugs.
2) I've spent some time making sure that right include files are used.
The defualt one on my system didn't always work.
3) I had to comile some C (not C++) files manually (i.e. without the makefile)
Could you tell us what kind of system you are using and what changes
you needed to make? (And why you had to compile by hand) We are very
interested in making future releases work on a wide range of platforms
without changes. We just have very few systems to test on here.
Rob
From: murka@cs.umd.edu (Tatiana Shpeisman)
Date: Wed, 11 May 1994 15:37:40 -0400
Subject: Re: Help with compiling
Message-Id: <199405111937.PAA06206@savoir.cs.UMD.EDU>
I've managed to install suif using g++ 2.4.5.
I've also had some problems while installing:
1) In some files -> was used intead of .
Obviously for unknown reasons new g++ compiler allows it.
2) I've spent some time making sure that right include files are used.
The defualt one on my system didn't always work.
3) I had to comile some C (not C++) files manually (i.e. without the makefile)
It was all for the first beta. So unless things changed dramatically since
that it is possible to install suif using g++ 2.4.5.
Tatiana
From: "Robert S. French" <rfrench@cs.stanford.edu>
Date: Wed, 11 May 94 12:31:11 -0700
Subject: Re: Help with compiling
Message-Id: <9405111931.AA15480@Hawg.Stanford.EDU>
The syntax errors are almost certainly due to the old version of g++.
You really need 2.5.7 or 2.5.8.
I don't see what problems you're having with the makefiles from your
message. It looked like a reasonable install process to me...
Rob
From: cferner@cs.du.edu (Clayton S. Ferner)
Date: Wed, 11 May 94 13:21:15 MDT
Subject: Help with compiling
Message-Id: <9405111921.AA12972@cs.du.edu>
I'm having problems installing the suif compiler. Can someone help? The
following is a sample from the src/suif/install.log. The syntax errors
may be because I'm using g++ version 2.4.5. But I can't figure out the
problems with the make file stuff, since I'm using gmake
version 3.70.
------------------------------------------------------------------------------
| Clayton S. Ferner | "My doctor said I needed to reduce my level of |
| Dept. of Mathematics | stress. He said I should relax, take some time |
| & Computer Science | off, and be sure to smell the roses. So I did... |
| University of Denver | Now I'm smelling 20 roses a day, and I hope by |
| | next month, I'll be up to smelling 30 a day!" |
| cferner@cs.du.edu | --- deceased |
------------------------------------------------------------------------------
----
gmake[1]: Entering directory `/usr/local/share/cferner/suif/suif-1.0/src/suif'
/usr/local/share/cferner/suif/suif-1.0/Makefile.sub:87: Makefile.deps: No such file or directory
gmake depend
g++ -M -g -Wall -I/usr/local/share/cferner/suif/suif-1.0/include -DSUIFLIB alist.cc aman.cc annote.cc bitset.cc callbyref.cc cmdparse.cc commonblk.cc dlist.cc fileset.cc glist.cc hash.cc immed.cc initsuif.cc instruction.cc misc.cc mtflist.cc opcodes.cc operand.cc stringtable.cc suifobj.cc suifstreams.cc symaddr.cc symbols.cc symtab.cc trees.cc types.cc vardef.cc xarray.cc >> Makefile.deps
g++ -c -g -Wall -I/usr/local/share/cferner/suif/suif-1.0/include -DSUIFLIB alist.cc
In file included from alist.cc:18:
misc.h:107: warning: type specifier omitted for parameter
misc.h:107: parse error before `)'
misc.h:109: warning: type specifier omitted for parameter
misc.h:109: parse error before `)'
gmake[3]: *** [alist.o] Error 1
gmake[2]: *** [libsuif.a] Error 1
gmake[1]: *** [reinstall] Error 1
gmake[1]: Leaving directory `/usr/local/share/cferner/suif/suif-1.0/src/suif'
gmake[1]: Entering directory `/usr/local/share/cferner/suif/suif-1.0/src/suif'
.
.
.
gmake[1]: Leaving directory `/usr/local/share/cferner/suif/suif-1.0/src/suif'