Re: (dsssl) OpenJade 1.3 compile error

Subject: Re: (dsssl) OpenJade 1.3 compile error
From: Carlos Villegas <cav@xxxxxxxxxxxxxx>
Date: Mon, 24 Sep 2001 12:00:03 +0900

Try removing the duplicate definition from parser_inst.cxx. The *_inst.cxx are explicity template instantiations. Depending on your compiler and platform some jade types map to the same C++ primitive type and the script that generate the instantiation files is not very smart. So sometimes you get two definitions like Vector<Char> and Vector<unsigned short>, where Char is defined as unsigned short and hence the error. It may be possible to fix the build process, but last time I just manually removed all duplicate instantiations.


Christopher R. Maden wrote:

I think this bug has been around for a while (1.1 or so), but I can't remember how I got around it last time (if I'm even remembering the bug's existence correctly).

When building lib, I get an error in parser_inst.cxx:

c++ -fno-implicit-templates -O2 -ansi -I. -I./../include -I./../generic -DSP_HA
parser_inst.cxx:1349: duplicate explicit instantiation of `class Vector<unsigned
*** Error code 1
make: Fatal error: Command failed for target `parser_inst.o'
Current working directory /home/crism/src/openjade-1.3/lib

There's a considerable pause between the duplicate instantiation warning and the error, so I'm not sure that they're related.

gandalf:crism:/home/crism/src/openjade-1.3> uname -a
SunOS gandalf 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-250
gandalf:crism:/home/crism/src/openjade-1.3> gcc --version

Any thoughts?

Thanks in advance,

DSSSList info and archive:

Current Thread