RE: [AMBER] Compiling Carnal Amber7 in Amber9

From: Ross Walker <ross.rosswalker.co.uk>
Date: Thu, 12 Feb 2009 06:55:54 -0800

Hi Vijay,

These are 'WARNINGS' not errors so you can safely ignore them. Did you get a Carnal executable?

All the best
Ross

> -----Original Message-----
> From: amber-bounces.ambermd.org [mailto:amber-bounces.ambermd.org] On
> Behalf Of Vijay Manickam Achari
> Sent: Thursday, February 12, 2009 1:12 AM
> To: AMBER Mailing List
> Subject: RE: [AMBER] Compiling Carnal Amber7 in Amber9
>
> WHEN i COMPILE AS PER YOUR ADVICE, i GET ERROR AS BELLOW:
>
> ptmlxclus:/usr/local/amber9/src/carnal # cc -o carnal *.c -lm
> coord.c: In function 'initcoord':
> coord.c:129: warning: incompatible implicit declaration of built-in
> function 'exit'
> coord.c: In function 'writecrd':
> coord.c:1022: warning: incompatible implicit declaration of built-in
> function 'exit'
> coord.c: In function 'newpath':
> coord.c:1150: warning: incompatible implicit declaration of built-in
> function 'exit'
> distrib.c: In function 'initdistrib':
> distrib.c:111: warning: incompatible implicit declaration of built-in
> function 'exit'
> doit.c: In function 'procq':
> doit.c:185: warning: incompatible implicit declaration of built-in
> function 'exit'
> doit.c: In function 'printsumm':
> doit.c:261: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c: In function 'initpairtypes':
> energy.c:499: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c:541: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c:582: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c:608: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c: In function 'exclud':
> energy.c:859: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c: In function 'nonbenergies':
> energy.c:1308: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c:1355: warning: incompatible implicit declaration of built-in
> function 'exit'
> energy.c:1447: warning: incompatible implicit declaration of built-in
> function 'exit'
> group.c: In function 'binop':
> group.c:339: warning: incompatible implicit declaration of built-in
> function 'exit'
> group.c: In function 'getresinfo':
> group.c:924: warning: incompatible implicit declaration of built-in
> function 'exit'
> group.c:951: warning: incompatible implicit declaration of built-in
> function 'exit'
> hbond.c: In function 'inithbond':
> hbond.c:99: warning: incompatible implicit declaration of built-in
> function 'exit'
> hbond.c:116: warning: incompatible implicit declaration of built-in
> function 'exit'
> main.c: In function 'usage':
> main.c:43: warning: incompatible implicit declaration of built-in function
> 'exit'
> main.c: In function 'readin':
> main.c:132: warning: incompatible implicit declaration of built-in
> function 'exit'
> meas.c: In function 'calcangle':
> meas.c:77: warning: incompatible implicit declaration of built-in function
> 'exit'
> meas.c: In function 'calcplane':
> meas.c:167: warning: incompatible implicit declaration of built-in
> function 'exit'
> meas.c: In function 'calcbackbone':
> meas.c:241: warning: incompatible implicit declaration of built-in
> function 'exit'
> meas.c:247: warning: incompatible implicit declaration of built-in
> function 'exit'
> pdbgen.c: In function 'pdbWAT':
> pdbgen.c:44: warning: incompatible implicit declaration of built-in
> function 'exit'
> pdbgen.c: In function 'pdbATOM':
> pdbgen.c:96: warning: incompatible implicit declaration of built-in
> function 'exit'
> pdbgen.c: In function 'pdbgen':
> pdbgen.c:127: warning: incompatible implicit declaration of built-in
> function 'exit'
> pdbgen.c:144: warning: incompatible implicit declaration of built-in
> function 'exit'
> pointax.c: In function 'Backbone':
> pointax.c:417: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'scanI6':
> rdprm.c:49: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:54: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:64: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:72: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:76: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:86: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'scanI':
> rdprm.c:109: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'skipeoln':
> rdprm.c:129: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'preadln':
> rdprm.c:151: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:160: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'seek_section':
> rdprm.c:180: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'readparm':
> rdprm.c:213: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'NewMol':
> rdprm.c:1029: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c: In function 'newparm':
> rdprm.c:1123: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:1142: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:1158: warning: incompatible implicit declaration of built-in
> function 'exit'
> rdprm.c:1169: warning: incompatible implicit declaration of built-in
> function 'exit'
> rms.c: In function 'dorms':
> rms.c:581: warning: incompatible implicit declaration of built-in function
> 'exit'
> rms.c:592: warning: incompatible implicit declaration of built-in function
> 'exit'
> static.c: In function 'setupstat':
> static.c:125: warning: incompatible implicit declaration of built-in
> function 'exit'
> stream.c: In function 'startser':
> stream.c:290: warning: incompatible implicit declaration of built-in
> function 'exit'
> stream.c:309: warning: incompatible implicit declaration of built-in
> function 'exit'
> table.c: In function 'inittable':
> table.c:86: warning: incompatible implicit declaration of built-in
> function 'exit'
> table.c: In function 'setuptab':
> table.c:145: warning: incompatible implicit declaration of built-in
> function 'exit'
> table.c: In function 'writetab':
> table.c:414: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'fileargs':
> util.c:116: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:123: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:152: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'genopen':
> util.c:253: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:262: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:272: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:278: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'fmtnstart':
> util.c:372: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:383: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:389: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:407: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:419: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:425: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'scanfmt':
> util.c:611: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:625: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'getsetaddr':
> util.c:880: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'readln':
> util.c:934: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:945: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'get':
> util.c:1088: warning: incompatible implicit declaration of built-in
> function 'malloc'
> util.c:1094: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'reget':
> util.c:1116: warning: cast to pointer from integer of different size
> util.c:1120: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'inerr':
> util.c:1158: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'savederr':
> util.c:1191: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c: In function 'getbox':
> util.c:1471: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:1479: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:1496: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:1510: warning: incompatible implicit declaration of built-in
> function 'exit'
> util.c:1516: warning: incompatible implicit declaration of built-in
> function 'exit'
> ptmlxclus:/usr/local/amber9/src/carnal #
>
>
>
>
> Vijay Manickam Achari
> (Phd Student c/o Prof Rauzah Hashim)
> Chemistry Department,
> University of Malaya,
> Malaysia
> vjramana.gmail.com
>
>
> --- On Thu, 12/2/09, Bill Ross <ross.cgl.ucsf.edu> wrote:
>
> > From: Bill Ross <ross.cgl.ucsf.edu>
> > Subject: RE: [AMBER] Compiling Carnal Amber7 in Amber9
> > To: amber.ambermd.org
> > Date: Thursday, 12 February, 2009, 3:04 AM
> > I just did this on a HP AlphaServer:
> >
> > % cd carnal
> > % cc -o carnal *.c -lm
> >
> > Bill
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
>
>
>
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Feb 13 2009 - 01:19:20 PST
Custom Search