gcc  -O2 -DSUN  -I/usr/local/include -I../include   -c mod.c -o mod.o
In file included from mod.c:30:
mod.h:40: parse error before `*'
mod.h:40: warning: data definition has no type or storage class
mod.h:41: parse error before `*'
mod.h:41: warning: data definition has no type or storage class
mod.h:42: parse error before `*'
mod.h:42: warning: data definition has no type or storage class
mod.h:43: parse error before `*'
mod.h:43: warning: data definition has no type or storage class
mod.h:44: parse error before `*'
mod.h:44: warning: data definition has no type or storage class
mod.h:148: parse error before `pattern_ptr'
mod.h:148: warning: no semicolon at end of struct or union
mod.h:149: warning: data definition has no type or storage class
mod.h:164: parse error before `}'
mod.h:164: warning: data definition has no type or storage class
mod.h:175: parse error before `sample8_far'
mod.h:175: warning: no semicolon at end of struct or union
mod.h:180: conflicting types for `volume'
mod.h:155: previous declaration of `volume'
mod.h:216: conflicting types for `finetune_rate'
mod.h:151: previous declaration of `finetune_rate'
mod.h:217: conflicting types for `period_low_limit'
mod.h:152: previous declaration of `period_low_limit'
mod.h:218: conflicting types for `period_high_limit'
mod.h:153: previous declaration of `period_high_limit'
mod.h:219: parse error before `}'
mod.h:219: warning: data definition has no type or storage class
mod.h:222: parse error before `near'
mod.h:222: warning: data definition has no type or storage class
mod.h:227: parse error before `song_data'
mod.h:228: parse error before `song_data'
mod.h:231: parse error before `mod'
mod.h:231: warning: data definition has no type or storage class
mod.h:232: parse error before `tracks'
mod.h:232: warning: data definition has no type or storage class
mod.h:233: parse error before `old_tracks'
mod.h:233: warning: data definition has no type or storage class
mod.h:239: conflicting types for `note'
mod.h:188: previous declaration of `note'
mod.h:244: parse error before `*'
mod.h:245: parse error before `*'
mod.h:246: parse error before `*'
mod.h:247: parse error before `*'
mod.h:249: parse error before `mod'
mod.h:249: warning: data definition has no type or storage class
mod.h:251: conflicting types for `tempo'
mod.h:162: previous declaration of `tempo'
mod.h:253: conflicting types for `bpm'
mod.h:161: previous declaration of `bpm'
mod.h:260: parse error before `note'
mod.h:260: conflicting types for `note'
mod.h:239: previous declaration of `note'
mod.h:260: warning: data definition has no type or storage class
mod.h:261: parse error before `tracks'
mod.h:261: warning: data definition has no type or storage class
mod.h:262: parse error before `old_tracks'
mod.h:262: warning: data definition has no type or storage class
mod.c:119: parse error before `mod'
mod.c:119: warning: data definition has no type or storage class
mod.c:130: parse error before `note'
mod.c:130: warning: data definition has no type or storage class
mod.c:131: parse error before `tracks'
mod.c:131: warning: data definition has no type or storage class
mod.c:132: parse error before `old_tracks'
mod.c:132: warning: data definition has no type or storage class
mod.c:139: parse error before `track'
mod.c: In function `beattrack':
mod.c:141: `track' undeclared (first use this function)
mod.c:141: (Each undeclared identifier is reported only once
mod.c:141: for each function it appears in.)
mod.c:169: request for member `s3m' in something not a structure or union
mod.c: At top level:
mod.c:239: parse error before `track'
mod.c: In function `get_track':
mod.c:241: `pattern' undeclared (first use this function)
mod.c:252: `track' undeclared (first use this function)
mod.c:258: request for member `volume' in something not a structure or union
mod.c:259: request for member `sample_length' in something not a structure or union
mod.c:260: request for member `repeat_point' in something not a structure or union
mod.c:261: request for member `repeat_length' in something not a structure or union
mod.c:262: request for member `finetune_rate' in something not a structure or union
mod.c:263: request for member `samples' in something not a structure or union
mod.c:264: request for member `period_low_limit' in something not a structure or union
mod.c:265: request for member `period_high_limit' in something not a structure or union
mod.c: In function `startplaying':
mod.c:387: `track_info_ptr' undeclared (first use this function)
mod.c:387: parse error before `track'
mod.c:393: request for member `tempo' in something not a structure or union
mod.c:394: request for member `bpm' in something not a structure or union
mod.c:400: `track' undeclared (first use this function)
mod.c:426: request for member `s3m' in something not a structure or union
mod.c:430: request for member `finetune_rate' in something not a structure or union
mod.c:431: request for member `finetune_value' in something not a structure or union
mod.c:432: request for member `period_low_limit' in something not a structure or union
mod.c:433: request for member `period_high_limit' in something not a structure or union
mod.c:457: request for member `finetune_rate' in something not a structure or union
mod.c:459: request for member `period_low_limit' in something not a structure or union
mod.c:460: request for member `period_high_limit' in something not a structure or union
mod.c:466: request for member `tracks' in something not a structure or union
mod.c:476: request for member `tracks' in something not a structure or union
mod.c: At top level:
mod.c:485: parse error before `*'
mod.c: In function `dump_mod':
mod.c:490: `data' undeclared (first use this function)
mod.c: At top level:
mod.c:520: parse error before `song_data'
mod.c: In function `load_mod':
mod.c:534: `data' undeclared (first use this function)
mod.c:537: `filename' undeclared (first use this function)
mod.c:572: `noprint' undeclared (first use this function)
make: *** [mod.o] Error 1
