[gmx-developers] error in file repl_ex.c -> dereferencing pointer to incomplete type

Rodrigo Faccioli rodrigo_faccioli at uol.com.br
Thu May 27 21:10:30 CEST 2010


Hi,

I'm new about GROMACS source code. Therefore, sorry if my question is basic.
I'm collaborating to project where we're developing  an Evolutionary
Integration in GROMACS.

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
The complete error message can be seen at end of this email.

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]

My question is. Did I fix correctly?

Thanks in advance,

[1]
http://gitorious.org/protpred-peo/gromacs/blobs/master/src/kernel/repl_ex.c

[The complete error message]

mpicc -DHAVE_CONFIG_H -I. -I../../src  -I../../include
-DGMXLIBDIR=\"/home/faccioli/software/share/top\"   -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
repl_ex.c: In function ‘repl_quantity’:
repl_ex.c:80: error: dereferencing pointer to incomplete type
repl_ex.c:89: error: dereferencing pointer to incomplete type
repl_ex.c:89: error: dereferencing pointer to incomplete type
repl_ex.c:91: error: dereferencing pointer to incomplete type
repl_ex.c:94: error: dereferencing pointer to incomplete type
repl_ex.c:95: error: dereferencing pointer to incomplete type
repl_ex.c:95: error: dereferencing pointer to incomplete type
repl_ex.c:95: error: dereferencing pointer to incomplete type
repl_ex.c:97: error: dereferencing pointer to incomplete type
repl_ex.c: In function ‘init_replica_exchange’:
repl_ex.c:119: error: dereferencing pointer to incomplete type
repl_ex.c:121: error: dereferencing pointer to incomplete type
repl_ex.c:122: error: dereferencing pointer to incomplete type
repl_ex.c:124: error: dereferencing pointer to incomplete type
repl_ex.c:137: error: dereferencing pointer to incomplete type
repl_ex.c:139: error: dereferencing pointer to incomplete type
repl_ex.c:145: error: dereferencing pointer to incomplete type
repl_ex.c:151: error: dereferencing pointer to incomplete type
repl_ex.c:163: error: dereferencing pointer to incomplete type
repl_ex.c:165: error: dereferencing pointer to incomplete type
repl_ex.c:168: error: dereferencing pointer to incomplete type
repl_ex.c:174: error: dereferencing pointer to incomplete type
repl_ex.c:192: error: dereferencing pointer to incomplete type
repl_ex.c:193: error: dereferencing pointer to incomplete type
repl_ex.c:193: error: dereferencing pointer to incomplete type
repl_ex.c:193: error: dereferencing pointer to incomplete type
repl_ex.c:206: error: dereferencing pointer to incomplete type
repl_ex.c:206: error: dereferencing pointer to incomplete type
repl_ex.c:207: error: dereferencing pointer to incomplete type
repl_ex.c:207: error: dereferencing pointer to incomplete type
repl_ex.c:210: error: dereferencing pointer to incomplete type
repl_ex.c:210: error: dereferencing pointer to incomplete type
repl_ex.c:210: error: dereferencing pointer to incomplete type
repl_ex.c:212: error: dereferencing pointer to incomplete type
repl_ex.c:213: error: dereferencing pointer to incomplete type
repl_ex.c:214: error: dereferencing pointer to incomplete type
repl_ex.c:215: error: dereferencing pointer to incomplete type
repl_ex.c:216: error: dereferencing pointer to incomplete type
repl_ex.c:216: error: dereferencing pointer to incomplete type
repl_ex.c:216: error: dereferencing pointer to incomplete type
repl_ex.c:216: error: dereferencing pointer to incomplete type
repl_ex.c:217: error: dereferencing pointer to incomplete type
repl_ex.c:218: error: dereferencing pointer to incomplete type
repl_ex.c:218: error: dereferencing pointer to incomplete type
repl_ex.c:219: error: dereferencing pointer to incomplete type
repl_ex.c:220: error: dereferencing pointer to incomplete type
repl_ex.c:220: error: dereferencing pointer to incomplete type
repl_ex.c:220: error: dereferencing pointer to incomplete type
repl_ex.c:220: error: dereferencing pointer to incomplete type
repl_ex.c:221: error: dereferencing pointer to incomplete type
repl_ex.c:226: error: dereferencing pointer to incomplete type
repl_ex.c:227: error: dereferencing pointer to incomplete type
repl_ex.c:228: error: dereferencing pointer to incomplete type
repl_ex.c:231: error: dereferencing pointer to incomplete type
repl_ex.c:232: error: dereferencing pointer to incomplete type
repl_ex.c:232: error: dereferencing pointer to incomplete type
repl_ex.c:236: error: dereferencing pointer to incomplete type
repl_ex.c:237: error: dereferencing pointer to incomplete type
repl_ex.c:237: error: dereferencing pointer to incomplete type
repl_ex.c:242: error: dereferencing pointer to incomplete type
repl_ex.c:244: error: dereferencing pointer to incomplete type
repl_ex.c:246: error: dereferencing pointer to incomplete type
repl_ex.c:246: error: dereferencing pointer to incomplete type
repl_ex.c:249: error: dereferencing pointer to incomplete type
repl_ex.c:251: error: dereferencing pointer to incomplete type
repl_ex.c:251: error: dereferencing pointer to incomplete type
repl_ex.c:251: error: dereferencing pointer to incomplete type
repl_ex.c:251: error: dereferencing pointer to incomplete type
repl_ex.c:259: error: dereferencing pointer to incomplete type
repl_ex.c:262: error: dereferencing pointer to incomplete type
repl_ex.c:264: error: dereferencing pointer to incomplete type
repl_ex.c:265: error: dereferencing pointer to incomplete type
repl_ex.c:267: error: dereferencing pointer to incomplete type
repl_ex.c:269: error: dereferencing pointer to incomplete type
repl_ex.c:270: error: dereferencing pointer to incomplete type
repl_ex.c:272: error: dereferencing pointer to incomplete type
repl_ex.c:273: error: dereferencing pointer to incomplete type
repl_ex.c:274: error: dereferencing pointer to incomplete type
repl_ex.c:274: error: dereferencing pointer to incomplete type
repl_ex.c:274: error: dereferencing pointer to incomplete type
repl_ex.c:275: error: dereferencing pointer to incomplete type
repl_ex.c:275: error: dereferencing pointer to incomplete type
repl_ex.c:275: error: dereferencing pointer to incomplete type
repl_ex.c: In function ‘get_replica_exchange’:
repl_ex.c:469: error: dereferencing pointer to incomplete type
repl_ex.c:471: error: dereferencing pointer to incomplete type
repl_ex.c:472: error: dereferencing pointer to incomplete type
repl_ex.c:473: error: dereferencing pointer to incomplete type
repl_ex.c:474: error: dereferencing pointer to incomplete type
repl_ex.c:475: error: dereferencing pointer to incomplete type
repl_ex.c:476: error: dereferencing pointer to incomplete type
repl_ex.c:479: error: dereferencing pointer to incomplete type
repl_ex.c:480: error: dereferencing pointer to incomplete type
repl_ex.c:481: error: dereferencing pointer to incomplete type
repl_ex.c:485: error: dereferencing pointer to incomplete type
repl_ex.c:486: error: dereferencing pointer to incomplete type
repl_ex.c:489: error: dereferencing pointer to incomplete type
repl_ex.c:490: error: dereferencing pointer to incomplete type
repl_ex.c:491: error: dereferencing pointer to incomplete type
repl_ex.c:492: error: dereferencing pointer to incomplete type
repl_ex.c:493: error: dereferencing pointer to incomplete type
repl_ex.c:493: error: dereferencing pointer to incomplete type
repl_ex.c:495: error: dereferencing pointer to incomplete type
repl_ex.c:501: error: dereferencing pointer to incomplete type
repl_ex.c:502: error: dereferencing pointer to incomplete type
repl_ex.c:510: error: dereferencing pointer to incomplete type
repl_ex.c:510: error: dereferencing pointer to incomplete type
repl_ex.c:511: error: dereferencing pointer to incomplete type
repl_ex.c:518: error: dereferencing pointer to incomplete type
repl_ex.c:519: error: dereferencing pointer to incomplete type
repl_ex.c:519: error: dereferencing pointer to incomplete type
repl_ex.c:534: error: dereferencing pointer to incomplete type
repl_ex.c:536: error: dereferencing pointer to incomplete type
repl_ex.c:538: error: dereferencing pointer to incomplete type
repl_ex.c:540: error: dereferencing pointer to incomplete type
repl_ex.c:543: error: dereferencing pointer to incomplete type
repl_ex.c:550: error: dereferencing pointer to incomplete type
repl_ex.c:550: error: dereferencing pointer to incomplete type
repl_ex.c:551: error: dereferencing pointer to incomplete type
repl_ex.c:560: error: dereferencing pointer to incomplete type
repl_ex.c: In function ‘replica_exchange’:
repl_ex.c:610: error: dereferencing pointer to incomplete type
repl_ex.c:611: error: dereferencing pointer to incomplete type
repl_ex.c:611: error: dereferencing pointer to incomplete type
repl_ex.c: In function ‘print_replica_exchange_statistics’:
repl_ex.c:625: error: dereferencing pointer to incomplete type
repl_ex.c:625: error: dereferencing pointer to incomplete type
repl_ex.c:625: error: dereferencing pointer to incomplete type
repl_ex.c:625: error: dereferencing pointer to incomplete type
repl_ex.c:627: error: dereferencing pointer to incomplete type
repl_ex.c:630: error: dereferencing pointer to incomplete type
repl_ex.c:631: error: dereferencing pointer to incomplete type
repl_ex.c:634: error: dereferencing pointer to incomplete type
repl_ex.c:634: error: dereferencing pointer to incomplete type
repl_ex.c:636: error: dereferencing pointer to incomplete type
repl_ex.c:636: error: dereferencing pointer to incomplete type
repl_ex.c:637: error: dereferencing pointer to incomplete type
repl_ex.c:640: error: dereferencing pointer to incomplete type
repl_ex.c:640: error: dereferencing pointer to incomplete type
repl_ex.c:641: error: dereferencing pointer to incomplete type
repl_ex.c:641: error: dereferencing pointer to incomplete type
repl_ex.c:644: error: dereferencing pointer to incomplete type
repl_ex.c:645: error: dereferencing pointer to incomplete type
repl_ex.c:648: error: dereferencing pointer to incomplete type
repl_ex.c:648: error: dereferencing pointer to incomplete type
repl_ex.c:650: error: dereferencing pointer to incomplete type
repl_ex.c:650: error: dereferencing pointer to incomplete type
repl_ex.c:651: error: dereferencing pointer to incomplete type
make[3]: *** [repl_ex.o] Error 1
make[3]: Leaving directory `/home/faccioli/workspace/gromacs/src/kernel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/faccioli/workspace/gromacs/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/faccioli/workspace/gromacs/src'
make: *** [all-recursive] Error 1

--
Rodrigo Antonio Faccioli
Ph.D Student in Electrical Engineering
University of Sao Paulo - USP
Engineering School of Sao Carlos - EESC
Department of Electrical Engineering - SEL
Intelligent System in Structure Bioinformatics
http://laips.sel.eesc.usp.br
Phone: 55 (16) 3373-9366 Ext 229
Curriculum Lattes - http://lattes.cnpq.br/1025157978990218
Public Profile - http://br.linkedin.com/pub/rodrigo-faccioli/7/589/a5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20100527/779196f9/attachment.html>


More information about the gromacs.org_gmx-developers mailing list