VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Sep 26 2005 - 10:09:15 CDT
- Next message: John Stone: "Re: Can VMD add other solvent except water in system?"
- Previous message: baogen duan: "Hello!"
- In reply to: Dr. Seth Olsen: "Problem building vmd 1.8.3 and destroyed usable 1.8.2 version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Seth,
What operating system are you building on? This may be a simple problem
with lack of (or conflict with) system-supplied single-precision acosf()
and other transcendental functions. If you tell us more about your
system, we ought to be able to suggest a Makefile change or two that will
cure this problem. I'm not sure how compiling VMD 1.8.3 would have any
effect on your old VMD 1.8.2 install, unless you unpacked them into
the same directory or something like that. They need to be installed into
their own directories, if you install one over the other, that would indeed
cause some problems.
John Stone
vmd_at_ks.uiuc.edu
On Mon, Sep 26, 2005 at 03:28:22PM +1000, Dr. Seth Olsen wrote:
> 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
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: John Stone: "Re: Can VMD add other solvent except water in system?"
- Previous message: baogen duan: "Hello!"
- In reply to: Dr. Seth Olsen: "Problem building vmd 1.8.3 and destroyed usable 1.8.2 version"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]