From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Tue Mar 10 2009 - 09:03:20 CDT
On Tue, 2009-03-10 at 16:15 +0800, liupeng012 wrote:
>
>
> HI!
> everyone!
>
> I compile the NAMD .
>
> (1)compiling charm-6.0 is succesful.
> (2)compiling NAMD ,
> when it is finished , i see the message as follow!
>
[...]
> src/flipdcd.c: In function maina:
> src/flipdcd.c:39: warning: incompatible implicit declaration of built-in function a€?exita€?
> gcc -Isrc -I/hptc_cluster/NAMD/namd2/tcl/linux-amd64/include -DNAMD_TCL -O3 -m64 -fexpensive-optimizations -ffast-math -DNAMD_VERSION=\"2.6\" -DNAMD_PLATFORM=\"Linux-amd64-MPI\" -DREMOVE_PROXYRESULTMSG_EXTRACOPY -o flipbinpdb src/flipbinpdb.c || \
> echo "#!/bin/sh
> \necho unavailable on this platform" > flipbinpdb; \
> chmod +x flipbinpdb
> src/flipbinpdb.c: In function main
> src/flipbinpdb.c:28: warning: incompatible implicit declaration of built-in function exit
> src/flipbinpdb.c:33: warning: incompatible implicit declaration of built-in function exit
> src/flipbinpdb.c:38: warning: incompatible implicit declaration of built-in function exit
> src/flipbinpdb.c:45: warning: incompatible implicit declaration of built-in function exit
> src/flipbinpdb.c:51: warning: incompatible implicit declaration of built-in function exit
> src/flipbinpdb.c:62: warning: incompatible implicit declaration of built-in function exit
>
>
> just a lot of warning !
> no error and no the message "sucessful compiled"!
please note that this only affects the flipbinpdb utility.
the warnings stem from the fact, that it does not include
the proper header file for the declaration of the exit()
function. nothing to worry about.
>
> the binary file namd2 is excutable . and it work!
>
> Is it right??
yes.
cheers,
axel.
> any help is appreciated !
>
> thanks!
>
> peng liu!
>
> 2009-03-10
>
> ______________________________________________________________________
> liupeng012
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:52:27 CST