<div>Dear Xcrysden developers,</div><div><br></div>I was able to figure out a workable solution. Apparently it had something to do with Make.sys-static not working well. For some reason Make.sys-share works well and knows what M_Pi is. Thanks for your beautiful software package. We have been relying on it for many visualizations. <div>
Natalie</div><div><br clear="all"><br><div>N. A. W. Holzwarth email: <a href="mailto:natalie@wfu.edu" target="_blank">natalie@wfu.edu</a><div>
Department of Physics web: <a href="http://www.wfu.edu/~natalie" target="_blank">http://www.wfu.edu/~natalie</a></div><div>Wake Forest University phone: 1-336-758-5510 </div>
<div>Winston-Salem, NC 27109 USA office: Rm. 300 Olin Physical Lab</div><br>
<br><br><div class="gmail_quote">On Fri, Jun 15, 2012 at 6:29 PM, Holzwarth, Natalie <span dir="ltr"><<a href="mailto:natalie@wfu.edu" target="_blank">natalie@wfu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Xcrysden developers,<div> In compiling the 1.5.53 version of Xcrysden I ran into the following error which was generated in ubuntu 10.4 and 12.04 using the gcc compiler. I briefly scanned the archive and could not find previous instances of this problem.</div>
<div><br></div><div><div>gcc -g -static -ansi -ffast-math -funroll-loops -DUSE_FONTS -pedantic -Wall -DUSE_FONTS -I/home/natalie/Sharedata/Visualization/Xcrysden/xcrysden-1.5.53/external/src/tcl8.5.11/generic -I/home/natalie/Sharedata/Visualization/Xcrysden/xcrysden-1.5.53/external/src/tk8.5.11/generic -I/home/natalie/Sharedata/Visualization/Xcrysden/xcrysden-1.5.53/external/include -c gl2ps.c</div>
<div>gl2ps.c: In function ‘gl2psPutPDFText’:</div><div>gl2ps.c:3416: error: ‘M_PI’ undeclared (first use in this function)</div><div>gl2ps.c:3416: error: (Each undeclared identifier is reported only once</div><div>gl2ps.c:3416: error: for each function it appears in.)</div>
</div><div><br></div><div>I notice the M_Pi is defined in the subroutine shank_Hinv.c, but it apparently does not know the value in gl2ps.c. Thanks in advance for any suggestions on how to fix this problem.</div><div> Sincerely, Natalie Holzwarth</div>
<div><br></div><div><br clear="all">N. A. W. Holzwarth email: <a href="mailto:natalie@wfu.edu" target="_blank">natalie@wfu.edu</a><div>Department of Physics web: <a href="http://www.wfu.edu/~natalie" target="_blank">http://www.wfu.edu/~natalie</a></div>
<div>Wake Forest University phone: 1-336-758-5510 </div><div>Winston-Salem, NC 27109 USA office: Rm. 300 Olin Physical Lab</div><br>
</div>
</blockquote></div><br></div></div>