AMBER: error in compilation elsize.cc

From: snoze pa <snoze.pa.gmail.com>
Date: Mon, 14 Apr 2008 11:38:07 -0500

Dear Amber Users,

 After upgrading to GCC new version i am getting following error
message. Also with icc compiler it is giving same error message in
compiling follwoing code. Any help or suggestions.

Thanks in advance


g++ -c -o elsize.o elsize.cc
elsize.cc: In function 'int main(int, char**)':
elsize.cc:117: error: 'exit' was not declared in this scope
elsize.cc:124: error: 'strcmp' was not declared in this scope
elsize.cc:145: error: 'strcmp' was not declared in this scope
elsize.cc:160: error: 'calloc' was not declared in this scope
elsize.cc:171: error: 'exit' was not declared in this scope
elsize.cc:233: error: 'exit' was not declared in this scope
elsize.cc:295: error: 'exit' was not declared in this scope
elsize.cc:339: error: 'exit' was not declared in this scope
elsize.cc: In function 'atom_count GetNumberOfAtoms(const char*, int)':
elsize.cc:504: error: 'exit' was not declared in this scope
elsize.cc: In function 'atom_count ReadAtomicCoordinates(const char*,
int, atom_count, double*, double*, double*, double*, double*)':
elsize.cc:565: error: 'exit' was not declared in this scope
make[1]: *** [elsize.o] Error 1
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Fri Apr 18 2008 - 21:19:17 PDT
Custom Search