Hi,<br><br>I&#39;m new about GROMACS source code. Therefore, sorry if my question is basic. I&#39;m collaborating to project where we&#39;re developing  an Evolutionary Integration in GROMACS. <br><br>Today, I ran git pull command for update my local repository. When I executed make command I receive the message: error: dereferencing pointer to incomplete type<br>
The complete error message can be seen at end of this email.<br>
<br>I fixed it when I updated the file src/kernrel/repl_ex.c its line 57. I added the word gmx_repl_ex after typedef struct. My final source can be seen in [1]<br><br>My question is. Did I fix correctly?<br><br>Thanks in advance,<br>
<br>[1] <a href="http://gitorious.org/protpred-peo/gromacs/blobs/master/src/kernel/repl_ex.c" target="_blank">http://gitorious.org/protpred-peo/gromacs/blobs/master/src/kernel/repl_ex.c</a><br>
<br>[The complete error message]<br><br>mpicc -DHAVE_CONFIG_H -I. -I../../src  -I../../include -DGMXLIBDIR=\&quot;/home/faccioli/software/share/top\&quot;   -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -msse2 -funroll-all-loops -std=gnu99 -MT repl_ex.o -MD -MP -MF .deps/repl_ex.Tpo -c -o repl_ex.o repl_ex.c<br>
repl_ex.c: In function ‘repl_quantity’:<br>repl_ex.c:80: error: dereferencing pointer to incomplete type<br>repl_ex.c:89: error: dereferencing pointer to incomplete type<br>repl_ex.c:89: error: dereferencing pointer to incomplete type<br>
repl_ex.c:91: error: dereferencing pointer to incomplete type<br>repl_ex.c:94: error: dereferencing pointer to incomplete type<br>repl_ex.c:95: error: dereferencing pointer to incomplete type<br>repl_ex.c:95: error: dereferencing pointer to incomplete type<br>
repl_ex.c:95: error: dereferencing pointer to incomplete type<br>repl_ex.c:97: error: dereferencing pointer to incomplete type<br>repl_ex.c: In function ‘init_replica_exchange’:<br>repl_ex.c:119: error: dereferencing pointer to incomplete type<br>
repl_ex.c:121: error: dereferencing pointer to incomplete type<br>repl_ex.c:122: error: dereferencing pointer to incomplete type<br>repl_ex.c:124: error: dereferencing pointer to incomplete type<br>repl_ex.c:137: error: dereferencing pointer to incomplete type<br>
repl_ex.c:139: error: dereferencing pointer to incomplete type<br>repl_ex.c:145: error: dereferencing pointer to incomplete type<br>repl_ex.c:151: error: dereferencing pointer to incomplete type<br>repl_ex.c:163: error: dereferencing pointer to incomplete type<br>
repl_ex.c:165: error: dereferencing pointer to incomplete type<br>repl_ex.c:168: error: dereferencing pointer to incomplete type<br>repl_ex.c:174: error: dereferencing pointer to incomplete type<br>repl_ex.c:192: error: dereferencing pointer to incomplete type<br>
repl_ex.c:193: error: dereferencing pointer to incomplete type<br>repl_ex.c:193: error: dereferencing pointer to incomplete type<br>repl_ex.c:193: error: dereferencing pointer to incomplete type<br>repl_ex.c:206: error: dereferencing pointer to incomplete type<br>
repl_ex.c:206: error: dereferencing pointer to incomplete type<br>repl_ex.c:207: error: dereferencing pointer to incomplete type<br>repl_ex.c:207: error: dereferencing pointer to incomplete type<br>repl_ex.c:210: error: dereferencing pointer to incomplete type<br>
repl_ex.c:210: error: dereferencing pointer to incomplete type<br>repl_ex.c:210: error: dereferencing pointer to incomplete type<br>repl_ex.c:212: error: dereferencing pointer to incomplete type<br>repl_ex.c:213: error: dereferencing pointer to incomplete type<br>
repl_ex.c:214: error: dereferencing pointer to incomplete type<br>repl_ex.c:215: error: dereferencing pointer to incomplete type<br>repl_ex.c:216: error: dereferencing pointer to incomplete type<br>repl_ex.c:216: error: dereferencing pointer to incomplete type<br>
repl_ex.c:216: error: dereferencing pointer to incomplete type<br>repl_ex.c:216: error: dereferencing pointer to incomplete type<br>repl_ex.c:217: error: dereferencing pointer to incomplete type<br>repl_ex.c:218: error: dereferencing pointer to incomplete type<br>
repl_ex.c:218: error: dereferencing pointer to incomplete type<br>repl_ex.c:219: error: dereferencing pointer to incomplete type<br>repl_ex.c:220: error: dereferencing pointer to incomplete type<br>repl_ex.c:220: error: dereferencing pointer to incomplete type<br>
repl_ex.c:220: error: dereferencing pointer to incomplete type<br>repl_ex.c:220: error: dereferencing pointer to incomplete type<br>repl_ex.c:221: error: dereferencing pointer to incomplete type<br>repl_ex.c:226: error: dereferencing pointer to incomplete type<br>
repl_ex.c:227: error: dereferencing pointer to incomplete type<br>repl_ex.c:228: error: dereferencing pointer to incomplete type<br>repl_ex.c:231: error: dereferencing pointer to incomplete type<br>repl_ex.c:232: error: dereferencing pointer to incomplete type<br>
repl_ex.c:232: error: dereferencing pointer to incomplete type<br>repl_ex.c:236: error: dereferencing pointer to incomplete type<br>repl_ex.c:237: error: dereferencing pointer to incomplete type<br>repl_ex.c:237: error: dereferencing pointer to incomplete type<br>
repl_ex.c:242: error: dereferencing pointer to incomplete type<br>repl_ex.c:244: error: dereferencing pointer to incomplete type<br>repl_ex.c:246: error: dereferencing pointer to incomplete type<br>repl_ex.c:246: error: dereferencing pointer to incomplete type<br>
repl_ex.c:249: error: dereferencing pointer to incomplete type<br>repl_ex.c:251: error: dereferencing pointer to incomplete type<br>repl_ex.c:251: error: dereferencing pointer to incomplete type<br>repl_ex.c:251: error: dereferencing pointer to incomplete type<br>
repl_ex.c:251: error: dereferencing pointer to incomplete type<br>repl_ex.c:259: error: dereferencing pointer to incomplete type<br>repl_ex.c:262: error: dereferencing pointer to incomplete type<br>repl_ex.c:264: error: dereferencing pointer to incomplete type<br>
repl_ex.c:265: error: dereferencing pointer to incomplete type<br>repl_ex.c:267: error: dereferencing pointer to incomplete type<br>repl_ex.c:269: error: dereferencing pointer to incomplete type<br>repl_ex.c:270: error: dereferencing pointer to incomplete type<br>
repl_ex.c:272: error: dereferencing pointer to incomplete type<br>repl_ex.c:273: error: dereferencing pointer to incomplete type<br>repl_ex.c:274: error: dereferencing pointer to incomplete type<br>repl_ex.c:274: error: dereferencing pointer to incomplete type<br>
repl_ex.c:274: error: dereferencing pointer to incomplete type<br>repl_ex.c:275: error: dereferencing pointer to incomplete type<br>repl_ex.c:275: error: dereferencing pointer to incomplete type<br>repl_ex.c:275: error: dereferencing pointer to incomplete type<br>
repl_ex.c: In function ‘get_replica_exchange’:<br>repl_ex.c:469: error: dereferencing pointer to incomplete type<br>repl_ex.c:471: error: dereferencing pointer to incomplete type<br>repl_ex.c:472: error: dereferencing pointer to incomplete type<br>
repl_ex.c:473: error: dereferencing pointer to incomplete type<br>repl_ex.c:474: error: dereferencing pointer to incomplete type<br>repl_ex.c:475: error: dereferencing pointer to incomplete type<br>repl_ex.c:476: error: dereferencing pointer to incomplete type<br>
repl_ex.c:479: error: dereferencing pointer to incomplete type<br>repl_ex.c:480: error: dereferencing pointer to incomplete type<br>repl_ex.c:481: error: dereferencing pointer to incomplete type<br>repl_ex.c:485: error: dereferencing pointer to incomplete type<br>
repl_ex.c:486: error: dereferencing pointer to incomplete type<br>repl_ex.c:489: error: dereferencing pointer to incomplete type<br>repl_ex.c:490: error: dereferencing pointer to incomplete type<br>repl_ex.c:491: error: dereferencing pointer to incomplete type<br>
repl_ex.c:492: error: dereferencing pointer to incomplete type<br>repl_ex.c:493: error: dereferencing pointer to incomplete type<br>repl_ex.c:493: error: dereferencing pointer to incomplete type<br>repl_ex.c:495: error: dereferencing pointer to incomplete type<br>
repl_ex.c:501: error: dereferencing pointer to incomplete type<br>repl_ex.c:502: error: dereferencing pointer to incomplete type<br>repl_ex.c:510: error: dereferencing pointer to incomplete type<br>repl_ex.c:510: error: dereferencing pointer to incomplete type<br>
repl_ex.c:511: error: dereferencing pointer to incomplete type<br>repl_ex.c:518: error: dereferencing pointer to incomplete type<br>repl_ex.c:519: error: dereferencing pointer to incomplete type<br>repl_ex.c:519: error: dereferencing pointer to incomplete type<br>
repl_ex.c:534: error: dereferencing pointer to incomplete type<br>repl_ex.c:536: error: dereferencing pointer to incomplete type<br>repl_ex.c:538: error: dereferencing pointer to incomplete type<br>repl_ex.c:540: error: dereferencing pointer to incomplete type<br>
repl_ex.c:543: error: dereferencing pointer to incomplete type<br>repl_ex.c:550: error: dereferencing pointer to incomplete type<br>repl_ex.c:550: error: dereferencing pointer to incomplete type<br>repl_ex.c:551: error: dereferencing pointer to incomplete type<br>
repl_ex.c:560: error: dereferencing pointer to incomplete type<br>repl_ex.c: In function ‘replica_exchange’:<br>repl_ex.c:610: error: dereferencing pointer to incomplete type<br>repl_ex.c:611: error: dereferencing pointer to incomplete type<br>
repl_ex.c:611: error: dereferencing pointer to incomplete type<br>repl_ex.c: In function ‘print_replica_exchange_statistics’:<br>repl_ex.c:625: error: dereferencing pointer to incomplete type<br>repl_ex.c:625: error: dereferencing pointer to incomplete type<br>
repl_ex.c:625: error: dereferencing pointer to incomplete type<br>repl_ex.c:625: error: dereferencing pointer to incomplete type<br>repl_ex.c:627: error: dereferencing pointer to incomplete type<br>repl_ex.c:630: error: dereferencing pointer to incomplete type<br>
repl_ex.c:631: error: dereferencing pointer to incomplete type<br>repl_ex.c:634: error: dereferencing pointer to incomplete type<br>repl_ex.c:634: error: dereferencing pointer to incomplete type<br>repl_ex.c:636: error: dereferencing pointer to incomplete type<br>
repl_ex.c:636: error: dereferencing pointer to incomplete type<br>repl_ex.c:637: error: dereferencing pointer to incomplete type<br>repl_ex.c:640: error: dereferencing pointer to incomplete type<br>repl_ex.c:640: error: dereferencing pointer to incomplete type<br>
repl_ex.c:641: error: dereferencing pointer to incomplete type<br>repl_ex.c:641: error: dereferencing pointer to incomplete type<br>repl_ex.c:644: error: dereferencing pointer to incomplete type<br>repl_ex.c:645: error: dereferencing pointer to incomplete type<br>
repl_ex.c:648: error: dereferencing pointer to incomplete type<br>repl_ex.c:648: error: dereferencing pointer to incomplete type<br>repl_ex.c:650: error: dereferencing pointer to incomplete type<br>repl_ex.c:650: error: dereferencing pointer to incomplete type<br>
repl_ex.c:651: error: dereferencing pointer to incomplete type<br>make[3]: *** [repl_ex.o] Error 1<br>make[3]: Leaving directory `/home/faccioli/workspace/gromacs/src/kernel&#39;<br>make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/home/faccioli/workspace/gromacs/src&#39;<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/home/faccioli/workspace/gromacs/src&#39;<br>make: *** [all-recursive] Error 1<br><br>--<br>
Rodrigo Antonio Faccioli<br>Ph.D Student in Electrical Engineering<br>University of Sao Paulo - USP<br>Engineering School of Sao Carlos - EESC<br>Department of Electrical Engineering - SEL<br>
Intelligent System in Structure Bioinformatics<br><a href="http://laips.sel.eesc.usp.br" target="_blank">http://laips.sel.eesc.usp.br</a><br>Phone: 55 (16) 3373-9366 Ext 229<br>Curriculum Lattes - <a href="http://lattes.cnpq.br/1025157978990218" target="_blank">http://lattes.cnpq.br/1025157978990218</a><br>

Public Profile - <a href="http://br.linkedin.com/pub/rodrigo-faccioli/7/589/a5" target="_blank">http://br.linkedin.com/pub/rodrigo-faccioli/7/589/a5</a><br><br>