From: CHUAH S. H. <chu...@bt...> - 2004-07-16 01:54:32
|
Hi, I've similar problem as well. The installation went fine on Linux PC. However, when I tried to install BASE on our Sun Server running Solaris 8, make complaint about the undeclared variables in the file Vector.h while compiling the Hierarchical Clustering plugin. In the end, I've to disable the plugin compilation (through option of configure) to get BASE installed. Anybody has any idea what's wrong with it? Thanks & Regards, Song Hui Chuah Microarray Laboratory BTI Singapore -----Original Message----- From: bas...@li... [mailto:bas...@li...] On Behalf Of Rupali Patwardhan Sent: Friday, July 16, 2004 7:22 AM To: bas...@li... Subject: [base] make error while installing BASE 1.2.12 Hi, I am trying to install BASE 1.2.12 I have successfully completed the --configure command. But I'm getting an error with the make command.=20 Here are the first few lines of the error message - In file included from BaseClustering.h:7, from main.cc:17: Vector.h: In member function `double VectorL1<pointT>::VecDistance(pointT*, pointT*)': Vector.h:74: error: `d' undeclared (first use this function)=20 There seems to be some problem with the variable 'd' in vector.h, but I can't figure out exactly what is wrong in that file. However I could see that 'd' has been used twice in that file - Once as an 'int' and once more as d(dim). I am pasting below the entire message i get on giving the make command. Thanks, Rupali > /usr/xpg4/bin/make /usr/xpg4/bin/make all-recursive Making all in include Making all in classes `all' is updated. Making all in common `all' is updated. Making all in drivers `all' is updated. Making all in local_distr `all' is updated. Making all in web `all' is updated. Making all in java `all' is updated. `all-am' is updated. `all' is updated. Making all in src Making all in lib `all' is updated. Making all in assayImporter `all' is updated. Making all in sectionCounter `all' is updated. Making all in jobRunner `all' is updated. Making all in plotapplet `all' is updated. Making all in mageml `all' is updated. `all-am' is updated. `all' is updated. Making all in plugins Making all in src Making all in clustering Making all in Cgraph Making all in include `all' is updated. Making all in source `all' is updated. `all-am' is updated. `all' is updated. source=3D'main.cc' object=3D'main.o' libtool=3Dno \ depfile=3D'.deps/main.Po' tmpdepfile=3D'.deps/main.TPo' \ depmode=3Dnone /bin/ksh ../../../autotools/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include -I./Cgraph/include -Wall -O3 -c -o main.o main.cc In file included from BaseClustering.h:7, from main.cc:17: Vector.h: In member function `double VectorL1<pointT>::VecDistance(pointT*, pointT*)': Vector.h:74: error: `d' undeclared (first use this function) Vector.h:74: error: (Each undeclared identifier is reported only once for each function it appears in.) Vector.h: In member function `double VectorL2<pointT>::VecDistance(pointT*, pointT*)': Vector.h:91: error: `d' undeclared (first use this function) Vector.h: In member function `double VectorLinf<pointT>::VecDistance(pointT*, pointT*)': Vector.h:112: error: `d' undeclared (first use this function) Vector.h: In member function `double VectorDot<pointT>::VecDistance(pointT*, pointT*)': Vector.h:131: error: `d' undeclared (first use this function) Vector.h: In member function `void VectorCorr<pointT>::NormalizePoint(pointT*)': Vector.h:145: error: `d' undeclared (first use this function) Vector.h: In constructor `VectorCorr<pointT>::VectorCorr(long unsigned int, int, pointT*)': Vector.h:172: error: `d' undeclared (first use this function) Vector.h: In member function `double VectorCorr<pointT>::VecDistance(pointT*, pointT*)': Vector.h:182: error: `d' undeclared (first use this function) Vector.h: In member function `double VectorCorrAbs<pointT>::VecDistance(pointT*, pointT*)': Vector.h:216: error: `d' undeclared (first use this function) Vector.h: In member function `void VectorCorrAbs<pointT>::interact(point, point, int)': Vector.h:233: error: `points' undeclared (first use this function) Vector.h:233: error: `d' undeclared (first use this function) Vector.h:242: error: `weights' undeclared (first use this function) Vector.h:250: error: there are no arguments to `NormalizePoint' that depend on a template parameter, so a declaration of `NormalizePoint' must be available Vector.h:250: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) Vector.h: In member function `double VectorCorrAbs<pointT>::VecDistance(pointT*, pointT*) [with pointT =3D double]': main.cc:253: instantiated from here Vector.h:227: warning: passing `double' for converting 1 of `int abs(int)' *** Error code 1 make: Fatal error: Command failed for target `main.o' Current working directory /var/base/base-1.2.12/plugins/src/clustering *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /var/base/base-1.2.12/plugins/src/clustering *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /var/base/base-1.2.12/plugins/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /var/base/base-1.2.12/plugins *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /var/base/base-1.2.12 *** Error code 1 make: Fatal error: Command failed for target `all' --=20 Rupali Patwardhan Graduate Student School of Informatics Indiana University. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick _______________________________________________ The BASE general discussion mailing list bas...@li... unsubscribe: send a mail with subject "unsubscribe" to bas...@li... |