[xcrysden] 1.5.23 on Mac OS X Snow Leopard: almost there!
David M. Wood
dmwood at mines.edu
Thu Jun 9 19:00:18 CEST 2011
Tone, thanks for your reply!
My load problems were fixed by adding to Make.sys the lines
MESCHACH_LIB = -L/opt/local/lib -lmeschach
FFTW3_LIB = -L/opt/local/lib -lfftw3
(I also added loads of include variables that appear quite unnecessary.)
The last remaining problems appear to be with getline.h, used in circumventing the absence of getline in glibc on OS X. (I'm embarassed to know no C, so cannot readily detect what's going on.)
/opt/local/bin/gcc-mp-4.4 -O3 -m64 -DXC_HAVE_NO_GETLINE -DUSE_FONTS -I/opt/local/include/meschach -I/opt/local/include -I/opt/local/include/meschach -I/usr/X11R6/include -I/opt/local/include -c getline.c
In file included from getline.c:25:
getline.h:4: error: expected declaration specifiers or '...' before 'size_t'
getline.h:4: error: expected declaration specifiers or '...' before 'FILE'
getline.h:5: error: expected declaration specifiers or '...' before 'size_t'
getline.h:5: error: expected declaration specifiers or '...' before 'FILE'
getline.c:49: error: conflicting types for 'getline_reserve'
getline.h:4: note: previous declaration of 'getline_reserve' was here
getline.c: In function 'getline_reserve':
getline.c:51: warning: passing argument 2 of 'getdelim_reserve' makes integer from pointer without a cast
getline.h:5: note: expected 'int' but argument is of type 'size_t *'
getline.c:51: error: too many arguments to function 'getdelim_reserve'
getline.c: At top level:
getline.c:61: error: conflicting types for 'getdelim_reserve'
getline.h:5: note: previous declaration of 'getdelim_reserve' was here
Thanks to any eagle-eyed reader who from this and the files getline.c and getline.h can spot the problem
Best wishes,
DMW
David M. Wood, Dept. of Physics, Colorado School of Mines, Golden, CO 80401
Phone: (303) 273-3853; Fax: (303) 273-3919
More information about the XCrySDen
mailing list