From: Catherine C. <cca...@in...> - 2007-01-12 12:27:12
|
Hi, Happy new year everyone. I'm a PhD student working on biomedial=20 literature mining at the University of Edinburgh. I'd like to run=20 Infomap and retreive about 500 documents. I tried "associate -d -n 500=20 -t -c model/ query" and I got the following message: ********************************************* Number of neighbors can be at most 200; printing 200. (Edit associate.h and recompile to change.) ********************************************* I then modified associate.h accordingly and tried to compile gcc=20 associate.c, I got: ********************************************* In file included from associate.h:37, from associate.c:34: list.h:45:17: error: env.h: No such file or directory In file included from associate.h:39, from associate.c:34: search_types.h:40: error: expected specifier-qualifier-list before=20 =91MATRIX_TYPE=92 In file included from query.h:46, from associate.h:40, from associate.c:34: files.h:49: error: expected specifier-qualifier-list before =91FILE=92 In file included from associate.h:40, from associate.c:34: query.h:54: error: expected declaration specifiers or =91...=92 before=20 =91MATRIX_TYPE=92 query.h:55: error: expected declaration specifiers or =91...=92 before=20 =91MATRIX_TYPE=92 In file included from associate.c:34: associate.h:58: error: expected =91)=92 before =91*=92 token associate.c:37:23: error: filenames.h: No such file or directory associate.c:38:26: error: model_params.h: No such file or directory associate.c:58: error: expected =91)=92 before =91query_vector=92 associate.c:61: error: expected =91=3D=92, =91,=92, =91;=92, =91asm=92 or= =91__attribute__=92=20 before =91model_params=92 associate.c: In function =91main=92: associate.c:64: error: =91DBM=92 undeclared (first use in this function) associate.c:64: error: (Each undeclared identifier is reported only once associate.c:64: error: for each function it appears in.) associate.c:64: error: =91nu2na=92 undeclared (first use in this function= ) associate.c:66: error: =91MATRIX_TYPE=92 undeclared (first use in this fu= nction) associate.c:66: error: =91queryvector=92 undeclared (first use in this fu= nction) associate.c:72: error: =91datum=92 undeclared (first use in this function= ) associate.c:72: error: expected =91;=92 before =91key=92 associate.c:73: error: =91BUFSIZ=92 undeclared (first use in this functio= n) associate.c:96: error: =91FILE=92 undeclared (first use in this function) associate.c:96: error: =91vectorfile=92 undeclared (first use in this fun= ction) associate.c:119: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:119: error: =91stderr=92 undeclared (first use in this functi= on) associate.c:134: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:142: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:149: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:157: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:166: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:180: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:194: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:217: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:230: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:238: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:247: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:263: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:278: warning: incompatible implicit declaration of built-in=20 function =91sprintf=92 associate.c:290: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:294: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:301: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:304: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:315: warning: incompatible implicit declaration of built-in=20 function =91sprintf=92 associate.c:315: error: =91MODEL_PARAMS_BIN_FILE=92 undeclared (first use= in=20 this function) associate.c:316: error: =91model_params=92 undeclared (first use in this=20 function) associate.c:317: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:323: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:330: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:334: error: =91MANY_FILES=92 undeclared (first use in this fu= nction) associate.c:335: error: =91NUMBER2NAME_FILE=92 undeclared (first use in t= his=20 function) associate.c:336: error: =91O_RDONLY=92 undeclared (first use in this func= tion) associate.c:344: error: too many arguments to function =91build_query_vec= tor=92 associate.c:345: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:352: error: =91FILES=92 has no member named =91wordvecbin=92 associate.c:355: error: =91FILES=92 has no member named =91artvecbin=92 associate.c:362: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:368: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:380: error: =91key=92 undeclared (first use in this function) associate.c:380: error: =91NEIGHBOR_ITEM=92 has no member named =91offset= =92 associate.c:381: error: =91NEIGHBOR_ITEM=92 has no member named =91offset= =92 associate.c:382: error: =91content=92 undeclared (first use in this funct= ion) associate.c:382: error: =91FILES=92 has no member named =91o2w=92 associate.c:383: error: =91NEIGHBOR_ITEM=92 has no member named =91string= =92 associate.c:385: error: =91NEIGHBOR_ITEM=92 has no member named =91string= =92 associate.c:389: error: =91NEIGHBOR_ITEM=92 has no member named =91offset= =92 associate.c:390: error: =91NEIGHBOR_ITEM=92 has no member named =91offset= =92 associate.c:391: error: =91FILES=92 has no member named =91o2a=92 associate.c:394: error: =91ONE_FILE=92 undeclared (first use in this func= tion) associate.c:395: error: =91NEIGHBOR_ITEM=92 has no member named =91string= =92 associate.c:400: error: =91content2=92 undeclared (first use in this func= tion) associate.c:401: error: =91NEIGHBOR_ITEM=92 has no member named =91string= =92 associate.c:403: error: =91NEIGHBOR_ITEM=92 has no member named =91string= =92 associate.c:408: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:419: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:427: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:433: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c: In function =91usage=92: associate.c:458: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:458: error: =91stderr=92 undeclared (first use in this functi= on) associate.c: In function =91check_args=92: associate.c:481: warning: incompatible implicit declaration of built-in=20 function =91fprintf=92 associate.c:481: error: =91stderr=92 undeclared (first use in this functi= on) associate.c: At top level: associate.c:495: error: expected =91)=92 before =91*=92 token associate.c:512: error: expected =91)=92 before =91query_vector=92 ********************************************* Has anyone ever tried to augment the number of neighbors before? Could=20 anyone help me? With many thanks, Catherine. |