Hi all,<br><br>I meet a problem in compiling my program under gromacs: it always give the information &quot;warning: assignment makes pointer from integer without a cast&quot;. The line refers to the following line with (***). I have tried opt2fn_NULL too. 
<br><br>How to solve it? and can you give some introduction about the opt2fn, opt2set, etc?<br><br>Thanks in advance!<br><br><br>&nbsp;t_filenm&nbsp; fnm[] = {<br>&nbsp;&nbsp;&nbsp; { efTRX, &quot;-f&quot;, NULL,&nbsp;&nbsp; ffREAD&nbsp; },<br>&nbsp;&nbsp;&nbsp; { efTPX, &quot;-s&quot;, NULL,&nbsp;&nbsp; ffREAD&nbsp; }, 
<br>&nbsp;&nbsp;&nbsp; { efNDX, &quot;-n&quot;, NULL,&nbsp;&nbsp; ffOPTRD },<br>&nbsp;&nbsp;&nbsp; { efXVG, &quot;-o&quot;, &quot;EC&quot;,&nbsp;&nbsp; ffOPTWR }<br>&nbsp; };<br><br>***&nbsp; fp=xvgropen(opt2fn(&quot;-o&quot;,NFILE,fnm),title,&quot;t&quot;,&quot;Integrand&quot;);<br>
&nbsp; <br><br><br clear="all"><br>-- <br>Sincerely yours,<br>**********************************************<br>Baofu Qiao, PhD<br>Frankfurt Institute for Advanced Studies<br>Max-von-Laue-Str. 1<br>60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
<br>**********************************************