Date: Fri, 9 Sep 1994 11:17:39 -0600 From: tesla AT lamar DOT ColoState DOT EDU (Jon Nash) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: DJ112m1 Problems Hello all, I have a problem... :) I just downloaded a complete (I pretty sure!) list of files from oak.oakand.edu (version 1.12) and I have not been able to get a simple test program to compile correctly. First, the files that I got were: gcc260bn.zip bsn122bn.zip djdev112.zip djeoe112.zip flx247bn.zip gas23bn.zip gpp260.zip lgp260bn.zip mak371bn.zip txi310bn.zip bnu24bn.zip and after unzipping these I got and unzipped dj112m1.zip I'm quite sure that all my environment variables are correct since I'm just upgrading from version 1.11 and I have been using version 1.12 with libgpp.a from version 1.11. I thought my problems would be solved by the official maintenance version ... :( Now for the test program. #include #include #include int main(void) { Complex z(1,2); cout << "The complex number is: " << z << "\n"; return 1; } I compile this with the command line: gcc test.cc -o test -lgpp -lm The error that this produces is: test.cc: In function `int main()'; test.cc:6: variable `class Complex z' has initializer but incomplete type test.cc:6: `class Complex z' has incomplete type and cannot be initialized segmentation violation in pointer 0x00000406 at d8:c5f2 This used to work ok with version 1.11 :) I would appreciate any help!!! Jon Nash Colorado State University Physics Department Tesla AT Lamar DOT ColoState DOT EDU