Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Meet and Greet (http://www.go4expert.com/community/meet-and-greet/)
-   -   GALLOPS Warnings and Parse Errors (http://www.go4expert.com/community/gallops-warnings-parse-errors-t4906/)

DrDooom33 26Jun2007 00:58

GALLOPS Warnings and Parse Errors
 
Im using the genetic algorithm program galopps in a UNIX/MAC OSX environment. Im getting the following errors when I make file:

Please provide input.

./make



gcc -g /Users/edward/galopps3.2.4/include/external.h /Users/edward/galopps3.2.4/include/sgafunc.h /Users/edward/galopps3.2.4/include/sgapure.h -lm -o .o
/Users/edward/galopps3.2.4/include/sgafunc.h:23: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:23: warning: its scope is only this definition or declaration, which is probably not what you want
/Users/edward/galopps3.2.4/include/sgafunc.h:28: error: parse error before 'flag'
/Users/edward/galopps3.2.4/include/sgafunc.h:39: error: parse error before 'app_user_does_migration'
/Users/edward/galopps3.2.4/include/sgafunc.h:42: error: parse error before 'BOOL'
/Users/edward/galopps3.2.4/include/sgafunc.h:45: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:46: error: parse error before 'app_transform_migrant'
/Users/edward/galopps3.2.4/include/sgafunc.h:50: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:50: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:51: error: parse error before 'app_transform_chrom_to_std'
/Users/edward/galopps3.2.4/include/sgafunc.h:52: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:54: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:56: error: parse error before 'app_write_ckp_hdr'
/Users/edward/galopps3.2.4/include/sgafunc.h:56: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:56: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:57: error: parse error before 'app_read_ckp_hdr'
/Users/edward/galopps3.2.4/include/sgafunc.h:57: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:57: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:64: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:64: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:65: error: parse error before 'FILE'
/Users/edward/galopps3.2.4/include/sgafunc.h:67: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:67: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:68: error: parse error before 'FILE'
/Users/edward/galopps3.2.4/include/sgafunc.h:78: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:80: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:96: error: parse error before 'FILE'
/Users/edward/galopps3.2.4/include/sgafunc.h:97: error: parse error before 'FILE'
/Users/edward/galopps3.2.4/include/sgafunc.h:99: error: parse error before 'FILE'
/Users/edward/galopps3.2.4/include/sgafunc.h:108: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:115: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:116: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:130: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:131: error: parse error before 'InitializeCumStats'
/Users/edward/galopps3.2.4/include/sgafunc.h:131: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:148: error: parse error before 'sys_util_malloc_utility_field'
/Users/edward/galopps3.2.4/include/sgafunc.h:148: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:181: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:182: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:183: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:184: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:185: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:186: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:192: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:193: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:209: warning: 'struct individual' declared inside parameter list
/Users/edward/galopps3.2.4/include/sgafunc.h:213: error: parse error before 'Lock'
/Users/edward/galopps3.2.4/include/sgafunc.h:213: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:214: error: parse error before 'Unlock'
/Users/edward/galopps3.2.4/include/sgafunc.h:214: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:215: error: parse error before 'MakeLockable'
/Users/edward/galopps3.2.4/include/sgafunc.h:215: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:216: error: parse error before 'map_chromosome_to_std'
/Users/edward/galopps3.2.4/include/sgafunc.h:217: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:218: error: parse error before 'map_chromosome_to_std_uneq_flds'
/Users/edward/galopps3.2.4/include/sgafunc.h:219: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:225: error: parse error before 'GetMigrants'
/Users/edward/galopps3.2.4/include/sgafunc.h:226: error: parse error before 'BOOL'
/Users/edward/galopps3.2.4/include/sgafunc.h:228: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:229: error: parse error before 'get_donor_pop_inversion_map_and_field_ends'
/Users/edward/galopps3.2.4/include/sgafunc.h:229: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:230: error: parse error before 'ReadNeighborTable'
/Users/edward/galopps3.2.4/include/sgafunc.h:230: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:232: error: parse error before 'FileRename'
/Users/edward/galopps3.2.4/include/sgafunc.h:232: error: parse error before 'BOOL'
/Users/edward/galopps3.2.4/include/sgafunc.h:232: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:233: error: parse error before 'BOOL'
/Users/edward/galopps3.2.4/include/sgafunc.h:233: error: parse error before ')' token
/Users/edward/galopps3.2.4/include/sgafunc.h:234: error: parse error before 'BOOL'
/Users/edward/galopps3.2.4/include/sgafunc.h:234: error: parse error before ')' token
/Users/edward/galopps3.2.4/include/sgafunc.h:236: error: parse error before 'BOOL'
/Users/edward/galopps3.2.4/include/sgafunc.h:238: error: parse error before 'ReadCumStats'
/Users/edward/galopps3.2.4/include/sgafunc.h:238: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:239: error: parse error before 'UpdateCumStats'
/Users/edward/galopps3.2.4/include/sgafunc.h:239: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:241: error: parse error before 'transform_inversion_pattern'
/Users/edward/galopps3.2.4/include/sgafunc.h:244: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:245: error: parse error before 'transform_inversion_pattern_uneq_flds'
/Users/edward/galopps3.2.4/include/sgafunc.h:249: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:251: error: parse error before 'GetFitnessBiasedMigrant'
/Users/edward/galopps3.2.4/include/sgafunc.h:251: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:252: error: parse error before 'sys_util_read_best_utility'
/Users/edward/galopps3.2.4/include/sgafunc.h:252: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:252: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:253: error: parse error before 'sys_util_write_best_utility'
/Users/edward/galopps3.2.4/include/sgafunc.h:253: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgafunc.h:253: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:254: error: parse error before 'sys_util_read_utility'
/Users/edward/galopps3.2.4/include/sgafunc.h:254: error: parse error before 'FILE'
/Users/edward/galopps3.2.4/include/sgafunc.h:254: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgafunc.h:255: error: parse error before 'sys_util_write_utility'
/Users/edward/galopps3.2.4/include/sgafunc.h:255: error: parse error before 'FILE'
/Users/edward/galopps3.2.4/include/sgafunc.h:255: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:38: error: parse error before 'app_user_does_migration'
/Users/edward/galopps3.2.4/include/sgapure.h:38: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:39: error: parse error before 'app_transform_migrant'
/Users/edward/galopps3.2.4/include/sgapure.h:39: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:40: error: parse error before 'app_transform_chrom_to_std'
/Users/edward/galopps3.2.4/include/sgapure.h:40: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:44: error: parse error before 'app_write_ckp_hdr'
/Users/edward/galopps3.2.4/include/sgapure.h:44: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:45: error: parse error before 'app_read_ckp_hdr'
/Users/edward/galopps3.2.4/include/sgapure.h:45: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:108: error: parse error before 'sys_util_malloc_utility_field'
/Users/edward/galopps3.2.4/include/sgapure.h:108: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:171: error: parse error before 'Lock'
/Users/edward/galopps3.2.4/include/sgapure.h:171: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:172: error: parse error before 'Unlock'
/Users/edward/galopps3.2.4/include/sgapure.h:172: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:173: error: parse error before 'MakeLockable'
/Users/edward/galopps3.2.4/include/sgapure.h:173: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:174: error: parse error before 'map_chromosome_to_std'
/Users/edward/galopps3.2.4/include/sgapure.h:174: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:175: error: parse error before 'map_chromosome_to_std_uneq_flds'
/Users/edward/galopps3.2.4/include/sgapure.h:175: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:180: error: parse error before 'InitCPRead'
/Users/edward/galopps3.2.4/include/sgapure.h:180: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:181: error: parse error before 'EndCPRead'
/Users/edward/galopps3.2.4/include/sgapure.h:181: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:182: error: parse error before 'NthIndRead'
/Users/edward/galopps3.2.4/include/sgapure.h:182: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:183: error: parse error before 'InitCPWrite'
/Users/edward/galopps3.2.4/include/sgapure.h:183: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:184: error: parse error before 'EndCPWrite'
/Users/edward/galopps3.2.4/include/sgapure.h:184: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:185: error: parse error before 'AddInd'
/Users/edward/galopps3.2.4/include/sgapure.h:185: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:187: error: parse error before 'GetMigrants'
/Users/edward/galopps3.2.4/include/sgapure.h:187: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:188: error: parse error before 'GetFitnessBiasedMigrants'
/Users/edward/galopps3.2.4/include/sgapure.h:188: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:189: error: parse error before 'ReadNeighborTable'
/Users/edward/galopps3.2.4/include/sgapure.h:189: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:190: error: parse error before 'get_donor_pop_inversion_map_and_field_ends'
/Users/edward/galopps3.2.4/include/sgapure.h:190: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:192: error: parse error before 'FileRename'
/Users/edward/galopps3.2.4/include/sgapure.h:192: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:194: error: parse error before 'WriteCheckPointHeader'
/Users/edward/galopps3.2.4/include/sgapure.h:194: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:197: error: parse error before 'ReadCumStats'
/Users/edward/galopps3.2.4/include/sgapure.h:197: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:198: error: parse error before 'UpdateCumStats'
/Users/edward/galopps3.2.4/include/sgapure.h:198: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:199: error: parse error before 'InitializeCumStats'
/Users/edward/galopps3.2.4/include/sgapure.h:199: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:201: error: parse error before 'transform_inversion_pattern'
/Users/edward/galopps3.2.4/include/sgapure.h:201: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:202: error: parse error before 'transform_inversion_pattern_uneq_flds'
/Users/edward/galopps3.2.4/include/sgapure.h:202: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:204: error: parse error before 'sys_util_write_utility'
/Users/edward/galopps3.2.4/include/sgapure.h:204: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:205: error: parse error before 'sys_util_read_utility'
/Users/edward/galopps3.2.4/include/sgapure.h:205: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:206: error: parse error before 'sys_util_read_best_utility'
/Users/edward/galopps3.2.4/include/sgapure.h:206: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:207: error: parse error before 'sys_util_write_best_utility'
/Users/edward/galopps3.2.4/include/sgapure.h:207: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:210: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgapure.h:210: warning: data definition has no type or storage class
/Users/edward/galopps3.2.4/include/sgapure.h:211: error: parse error before '*' token
/Users/edward/galopps3.2.4/include/sgapure.h:211: warning: data definition has no type or storage class
make: *** [.o] Error 1

shabbir 26Jun2007 09:15

Re: GALLOPS Warnings and Parse Errors
 
I don't think this could be your introduction but anyways welcome to the forum and I would suggest you read "Before you make a query" (Link in top right corner) thread.


All times are GMT +5.5. The time now is 19:20.