Print

Print


Wayne,

I had no problems trying to start analysis after the error and a  
second attempt to UpdateAll resulted in no errors.  I will keep a log  
of anything that may go wrong.  Just wanted to let you know.

J
------------------------------------------------------------
Johnny Eugene Croy, Ph.D.
Research Associate
Wuttke Lab	

University of Colorado, Boulder
Department of Chemistry and Biochemistry
UCB 215
Boulder, CO 80309-0215

Lab:  (303) 492-2369
Mobile:  (303) 304-6069
------------------------------------------------------------

On Jan 23, 2009, at 8:45 AM, Wayne Boucher wrote:

> Hello,
>
> Zounds.  That didn't show up on my Mac or on the Linux box I tried  
> it on.
> I suspect some compilers are more lenient than others.
>
> The immediate cause is because I've now included the system file
> /usr/include/unistd.h because of the fseeko change I made to  
> accomodate
> big data files.  And it looks like they have a function called  
> readlink
> which is also used in the Clouds bacus code.
>
> I've changed the bacus.c name from readlink to readlinkfile so  
> hopefully
> it will be ok for you now.  (In particular, I hope it hasn't gotten
> confused about what needs compiling and what not.  If worse comes to  
> worse
> after the next attempt at an update, if things are not appearing to
> compile, then go into ccpnmr2.0/c and type "make".)
>
> Wayne
>
> On Fri, 23 Jan 2009, Johnny Croy wrote:
>
>> Wayne,
>>
>> Got this error when updating last night.
>>
>> cc -c -I../../memops/global -I/sw/include/python2.5 -O -
>> DDO_NOT_HAVE_MALLOC -fPIC py_midge.c
>> cd ../../memops/global; make diag_objects
>> cc -c -O -DDO_NOT_HAVE_MALLOC -fPIC diag_dbl.c
>> cc -L/sw/lib -bundle -bundle_loader /sw/bin/python2.5 -o Midge.so
>> midge.o py_midge.o \
>> 		../../memops/global/python_util.o ../../memops/global/
>> utility.o ../../memops/global/diag_dbl.o -lm
>> cc -c -I../../memops/global -I/sw/include/python2.5 -O -
>> DDO_NOT_HAVE_MALLOC -fPIC py_cloud_util.c
>> cc -L/sw/lib -bundle -bundle_loader /sw/bin/python2.5 -o CloudUtil.so
>> py_cloud_util.o -lm
>> cc -c -I../../memops/global -O -DDO_NOT_HAVE_MALLOC -fPIC bacus.c
>> bacus.c:244: error: conflicting types for 'readlink'
>> /usr/include/unistd.h:474: error: previous declaration of 'readlink'
>> was here
>> make[1]: *** [bacus.o] Error 1
>> make: *** [clouds] Error 2
>>
>> Was using UpdateAll to update from the command line.  Any ideas?
>> Seems to be a code problem.
>>
>> J
>>
>>
>> ------------------------------------------------------------
>> Johnny Eugene Croy, Ph.D.
>> Research Associate
>> Wuttke Lab
>>
>> University of Colorado, Boulder
>> Department of Chemistry and Biochemistry
>> UCB 215
>> Boulder, CO 80309-0215
>>
>> Lab:  (303) 492-2369
>> Mobile:  (303) 304-6069
>> ------------------------------------------------------------
>>