-----------------------------------------------------------------------
Jochem Egle
Universitaet Ulm Tel.: (0731) 502-6288
Abteilung Informationstechnik Sekr.: (0731) 502-6251
Albert-Einstein-Allee 43 Fax: (0731) 502-6259
89081 Ulm e-Mail: [EMAIL PROTECTED]
-----------------------------------------------------------------------
Hi there,
We have upraded from Ptolemy 0.7 to 0.71p1.
As compiler we are using gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release).
We have rebuilt Ptolemy on a SUN Ultra with Solaris 7 (SunOS 2.7).
Now we have problems with stars using the Ptolemy matrix class.
The following star is just an example to illustrate our problem.
If we are trying to link the star :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
defstar {
name { Norm }
domain { SDF }
version { 1.0 10/02/98 }
hinclude { "Matrix.h" }
desc {
output = norm(input).
}
input {
name { input }
type { Complex }
}
output {
name { output }
type { float }
}
go {
ComplexMatrix Cmat(4,4);
Complex Cscal(1,2);
//The next line causes all the problems
Cmat = Cmat + Cscal;
Complex temp = input%0;
output%0 << norm(temp);
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
In the Matrix.h the function is still present:
ComplexMatrix operator + (const Complex&, const ComplexMatrix&);
the following error message occurs:
Error: Error linking file/tmp/__ptlink22677_0.so dlopen: ld.so.1:
/home/sgraja/Ptolemy71/bin/sol2.7/pigiRpc: fatal:relocation error:
file /tmp/__ptlink22677_0.so: symbol __pl__FRC13ComplexMatrixRC7Complex:
referenced symbol not found
So can anybody tell me what happend to the + Operator? Is there a work around
or what is wrong in our installation.
By the way, in Ptolemy 0.7 all worked fine.
Any hint may be helpful
Many thaks in advance
Jochem
-----------------------------------------------------------------------
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]