Re: About Warning in compilation of Namd

From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Sat Jan 04 2014 - 06:21:55 CST

This is a warning, not an error and it is for a rarely used utility, not
NAMD itself.

The way to avoid these kind of warnings is to include the header file that
contains the matching prototype. In this case: unistd.h

Axel
On Jan 4, 2014 4:43 AM, "Vidhya Sankar" <vidhyasankar7928_at_yahoo.com> wrote:

> Respected namd developers
> When I compile Namd using make command
> At the end of Compilation i Have got the following error
> src/flipbinpdb.c:30: warning: incompatible implicit declaration of
> built-in function ‘exit’
> src/flipbinpdb.c:35: warning: incompatible implicit declaration of
> built-in function ‘exit’
> src/flipbinpdb.c:40: warning: incompatible implicit declaration of
> built-in function ‘exit’
> src/flipbinpdb.c:47: warning: incompatible implicit declaration of
> built-in function ‘exit’
> src/flipbinpdb.c:53: warning: incompatible implicit declaration of
> built-in function ‘exit’
> src/flipbinpdb.c:64: warning: incompatible implicit declaration of
> built-in function ‘exit’
> But it run successfully the Alanin files
> What is the reason of the error How to Avoid this?
> With regards
> S.Vidhyasankar
>
>

This archive was generated by hypermail 2.1.6 : Thu Dec 31 2015 - 23:20:24 CST