From: Dr. Seth Olsen (seth.olsen_at_gmail.com)
Date: Mon Sep 26 2005 - 00:28:22 CDT

Hi VMDers,

I tried to build VMD 1.8.3 from source and after configuration the 'make'
failed with a bunch of errors I've never seen before. Also, trying to do
this has apparently ruined certain critical functionality of my previous VMD
1.8.2 build. The errors were:

Compiling ArtDisplayDevice.C --> ArtDisplayDevice.o ...
In file included from /usr/include/math.h:93,
from ArtDisplayDevice.C:28:
/usr/include/bits/mathcalls.h:55: error: declaration of C function `float
acos(float)' conflicts with
/usr/include/bits/mathcalls.h:55: error: previous declaration `double
acos(double)' here
/usr/include/bits/mathcalls.h:64: error: declaration of C function `float
cos(float)' conflicts with
/usr/include/bits/mathcalls.h:64: error: previous declaration `double
cos(double)' here
/usr/include/bits/mathcalls.h:66: error: declaration of C function `float
sin(float)' conflicts with
/usr/include/bits/mathcalls.h:66: error: previous declaration `double
sin(double)' here
/usr/include/bits/mathcalls.h:157: error: declaration of C function `float
sqrt(float)' conflicts with
/usr/include/bits/mathcalls.h:157: error: previous declaration `double
sqrt(double)' here
/usr/include/bits/mathcalls.h:182: error: declaration of C function `float
fabs(float)' conflicts with
/usr/include/bits/mathcalls.h:182: error: previous declaration `double
fabs(double)' here
In file included from /usr/include/math.h:382,
from ArtDisplayDevice.C:28:
/usr/include/bits/mathinline.h: In function `double fabs(double)':
/usr/include/bits/mathinline.h:451: error: declaration of C function `double
fabs(double)' conflicts with
/usr/include/bits/mathcalls.h:182: error: previous declaration `float
fabs(float)' here
/usr/include/bits/mathinline.h: In function `float fabs(float)':
/usr/include/bits/mathinline.h:452: error: declaration of C function `float
fabs(float)' conflicts with
/usr/include/bits/mathinline.h:451: error: previous declaration `double
fabs(double)' here
make: *** [ArtDisplayDevice.o] Error 1

Does anybody have an idea how to fix this?

--
ccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccms
Dr Seth Olsen, PhD
Postdoctoral Fellow, Biomolecular Modeling Group
Centre for Computational Molecular Science
Chemistry Building,
The University of Queensland
Qld 4072, Brisbane, Australia
tel (617) 33653732
fax (617) 33654623
email: s.olsen1_at_uq.edu.au
Web: www.ccms.uq.edu.au <http://www.ccms.uq.edu.au>
ccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccmsccms