From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,3093537d2f339d6c,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,3093537d2f339d6c,start X-Google-Attributes: gidfee84,public From: tlihsin@hubcap.clemson.edu (lih-sin the) Subject: compiling lapackpp with egcs and osf problem Date: 1998/11/11 Message-ID: <72d73c$s9s$1@hubcap.clemson.edu>#1/1 X-Deja-AN: 410907139 Organization: Clemson University Keywords: compiling lapack++ with egcs and osf Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Summary: problem in compiling lapack++ with egcs 1.1b and osf hi, i try to build lapackpp or lapack++ libraries with egcs-1.1b compiler in DEC Alpha OSF 4.0A. So far I have succeeded in creating libblas++.a and liblamatrix++.a libraries. However, I am stuck with this error messages: --------------- g++ -I../include -DALPHA -c lautil.cc In file included from lautil.cc:29: ../include/lautil.h:17: warning: ANSI C++ forbids declaration `' with no type ../include/lautil.h:17: abstract declarator `int' used as declaration lautil.cc: In function `int LaEnvBlockSize(const char *, const class LaGenMatDouble &)': lautil.cc:43: warning: implicit declaration of function `int ilaenv_(...)' *** Exit 1 Stop. --------------- lautil.cc: line 29 is #include LA_UTIL_H where LA_UTIL_H is defined as lautil.h ../include/lautil.h: line 17 is ftnlen n_len, ftnlen opts_len); part of ilaenv_(int *i, const char *n, const char *opts, int *n1, int *n2, int *n3, int *n4, ftnlen n_len, ftnlen opts_len); lautil.cc: line 43 is strlen(fname), strlen(opts)); part of return ilaenv_(&one, fname, opts, &M, &N, &junk , &junk, strlen(fname), strlen(opts)); lautil.cc and the whole libraries of lapackpp can be compiled and created without a problem with gcc 2.7.2.1 compiler in a LINUX intel. But i cannot compile lapackpp in egcs compiler in DEC Alpha OSF. I'll appreciate very much if someone can tell me how to solve this problem or find a way to go around it. Also if someone can locate the binaries of lapackpp for DEC Alpha OSF, it will be very much appreciated too. Thanks, lihsin lihsin@astro.phys.clemson.edu