[xcrysden] Building xcd 1.4.1 for Mac OS X/Intel w/ Ikutaro Hamada's patches

Ikutaro Hamada hamada at cmp.sanken.osaka-u.ac.jp
Sun Sep 30 06:50:09 CEST 2007


Dear David,

It seems that you don't have or don't correctly include "time.h",  
which is usually located in /usr/include (it may be different from  
sys/time.h).

If you have time.h (which declares "struct tm *gmtime..."),
try to explicitly include time.h by using -I option in CFLAGS or  
somewhere else in your Make.sys.
(ex. CFLAGS=$(CFLAGS) -I/usr/include)
In the case time.h is missing in your system, I don't know how to  
solve the problem (XCode is not installed???)...

Good luck,

Ikutaro Hamada

On 2007/09/30, at 3:45, David M. Wood wrote:

> Howdy all!
>
> Many thanks to Ikutaro Hamada for his work!
>
> Following the instructions of Message 1 of the 29 Sep mail, I made  
> sure all libraries were present via fink installs and applied the  
> patch.
>
> Alas, I get
>
> gl2ps.c: In function 'gl2psPrintPDFInfo':
> gl2ps.c:3474: warning: assignment makes pointer from integer  
> without a cast
> gl2ps.c:3497: error: dereferencing pointer to incomplete type
> gl2ps.c:3498: error: dereferencing pointer to incomplete type
> gl2ps.c:3499: error: dereferencing pointer to incomplete type
> gl2ps.c:3500: error: dereferencing pointer to incomplete type
> gl2ps.c:3501: error: dereferencing pointer to incomplete type
> gl2ps.c:3502: error: dereferencing pointer to incomplete type
> make[2]: *** [gl2ps.o] Error 1
>
> The good news: (i) this is the ONLY error I can find (via a make -k  
> all), and (ii) the same holds for XCrySDen-pre1.5bs.
>
> Any suggestions?
>
> David M. Wood
> dmwood at Mines.EDU
>
>
>
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden



More information about the XCrySDen mailing list