From owner-help-octave at bevo dot che dot wisc dot edu Thu Jan 18 13:17:34 1996 Subject: liboctave questions From: Andrew Smallbone To: "John W. Eaton" Cc: help-octave at che dot utexas dot edu Date: Thu, 18 Jan 1996 19:15:46 GMT >>>>> "jwe" == "John W Eaton" writes: jwe> : 1. Although the Array is a templated class arrays of floats don't jwe> : seem to work (the resize() method doesn't exist). Should Arrays be jwe> : able to work with other types? jwe> Yes. The following program: ------- #include "Array.h" main(int argc, char *argv[]) { Array a(10); } ------- compiled with ``gcc -o test test.cc -loctave -lcruft -lf2c -lg++ -lm'' produces: Undefined first referenced symbol in file _._t5Array1Zf stats.o __t5Array1ZfiRCf stats.o The above works fine with ``Array'' but fails for every other type. Does this mean I've messed up compilation of the library? (I'm using gcc 2.6.3 - Solaris 5.4) Thanks Andrew -- _______________________________________________________ Andrew Smallbone London Para||el Applications Centre +44 171 975 5168 ---A5 AC A7 5E A2 10 81 18 09 F5 DB 6C 12 A9 07 A5---