Re: (dsssl) [OpenJade] Segfaults when running on a Solaris 2.6 machine

Subject: Re: (dsssl) [OpenJade] Segfaults when running on a Solaris 2.6 machine
From: "James M. Luongo" <jml1427@xxxxxxxxxx>
Date: Thu, 19 Apr 2001 10:56:03 -0400
Eric Brunel wrote:

> The only way I found to make it work was to compile
> everything with the Sun C compiler. If you have it
> installed, it's quite easy: just define the
> environment variable "CC" to the full path of the Sun
> compiler before running the "configure" script. The
> compilation process should complete without problem
> and your OpenJade shouldn't crash anymore.

Eric,
    I did exactly as you said.  CC was set to the executable of CC.  Doing
a cc -V gave me:
cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2
Is that the version you used?

After configuring, I used GNU make and it seemed to go well for a while,
then it stopped with a list of many errors.  I hope you don't mind me
pasting them:

"./../include/Vector.cxx", line 21: Error: Templates can only declare
classes or functions.
"./../include/Vector.cxx", line 23: Error: Use ";" to terminate
statements.
"./../include/Vector.cxx", line 23: Error: A declaration was expected
instead of "if".
"./../include/Vector.cxx", line 23: Error: Type name expected instead of
"ptr_".
"./../include/Vector.cxx", line 25: Error: Misplaced "::", can only
precede or follow a type qualifier.
"./../include/Vector.cxx", line 25: Error: ")" expected instead of "(".
"./../include/Vector.cxx", line 25: Error: Unexpected ")" -- Check for
matching parenthesis.
"./../include/Vector.cxx", line 25: Error: Use ";" to terminate
statements.
"./../include/Vector.cxx", line 25: Error: "}" expected instead of ")".
"./../include/Vector.cxx", line 26: Error: operator delete() is expected
to return a value.
"./../include/Vector.cxx", line 27: Error: Unexpected "}".
"./../include/Vector.cxx", line 32: Error: Templates can only declare
classes or functions.
"./../include/Vector.cxx", line 33: Error: Use ";" to terminate
statements.
"./../include/Vector.cxx", line 33: Error: A declaration was expected
instead of ",".
"./../include/Vector.cxx", line 33: Error: Type name expected instead of
"size_".
"./../include/Vector.cxx", line 39: Error: Templates can only declare
classes or functions.
"./../include/Vector.cxx", line 40: Error: Use ";" to terminate
statements.
"./../include/Vector.cxx", line 40: Error: A declaration was expected
instead of ",".
"./../include/Vector.cxx", line 40: Error: Type name expected instead of
"size_".
"./../include/Vector.cxx", line 46: Error: Templates can only declare
classes or functions.
"./../include/Vector.cxx", line 48: Error: Use ";" to terminate
statements.
"./../include/Vector.cxx", line 48: Error: A declaration was expected
instead of "if".
"./../include/Vector.cxx", line 48: Error: ")" expected instead of "!=".
"./../include/Vector.cxx", line 50: Error: ")" expected instead of ">".
"./../include/Vector.cxx", line 52: Error: Type name expected instead of
"insert".
Compilation aborted, too many Error messages.

Am I doing something wrong?

--
------------------------
James M. Luongo  x1427
Draper Laboratory Room 4207
------------------------




 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread