AMBER Archive (2008)Subject: AMBER: error in compilation elsize.cc
From: snoze pa (snoze.pa_at_gmail.com)
Date: Mon Apr 14 2008 - 11:38:07 CDT
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_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|