[icecast] Compile errors
Yiannis Mavroukakis
jander at dsl.pipex.com
Sun Feb 2 08:18:23 PST 2003
Hi, while trying to compile icecast, I got a lot of errors while trying to
compile avl.c, I've attached a file with the compile errors. Any ideas as to
what might be wrong? My distro is Redhat 7.2 fully up2date.
<p>Cheers!
-------------- next part --------------
In file included from ../thread/thread.h:25,
from avl.c:35:
/usr/include/pthread.h:163: parse error before `*'
/usr/include/pthread.h:165: `pthread_create' declared as function returning a function
/usr/include/pthread.h:166: parse error before `void'
/usr/include/pthread.h:169: parse error before `pthread_self'
/usr/include/pthread.h:169: warning: data definition has no type or storage class
/usr/include/pthread.h:172: parse error before `__thread1'
/usr/include/pthread.h:181: parse error before `__th'
/usr/include/pthread.h:187: parse error before `__th'
/usr/include/pthread.h:195: parse error before `*'
/usr/include/pthread.h:198: parse error before `*'
/usr/include/pthread.h:201: parse error before `*'
/usr/include/pthread.h:205: parse error before `*'
/usr/include/pthread.h:209: parse error before `*'
/usr/include/pthread.h:214: parse error before `*'
/usr/include/pthread.h:220: parse error before `*'
/usr/include/pthread.h:224: parse error before `*'
/usr/include/pthread.h:229: parse error before `*'
/usr/include/pthread.h:233: parse error before `*'
/usr/include/pthread.h:238: parse error before `*'
/usr/include/pthread.h:242: parse error before `*'
/usr/include/pthread.h:247: parse error before `*'
/usr/include/pthread.h:251: parse error before `*'
/usr/include/pthread.h:260: parse error before `*'
/usr/include/pthread.h:264: parse error before `*'
/usr/include/pthread.h:272: parse error before `*'
/usr/include/pthread.h:276: parse error before `*'
/usr/include/pthread.h:284: parse error before `*'
/usr/include/pthread.h:288: parse error before `*'
/usr/include/pthread.h:294: parse error before `__th'
/usr/include/pthread.h:301: parse error before `__target_thread'
/usr/include/pthread.h:306: parse error before `__target_thread'
/usr/include/pthread.h:331: parse error before `*'
/usr/include/pthread.h:336: parse error before `*'
/usr/include/pthread.h:339: parse error before `*'
/usr/include/pthread.h:342: parse error before `*'
/usr/include/pthread.h:346: parse error before `*'
/usr/include/pthread.h:352: parse error before `*'
/usr/include/pthread.h:359: parse error before `*'
/usr/include/pthread.h:362: parse error before `*'
/usr/include/pthread.h:365: parse error before `*'
/usr/include/pthread.h:370: parse error before `*'
/usr/include/pthread.h:377: parse error before `*'
/usr/include/pthread.h:381: parse error before `*'
/usr/include/pthread.h:390: parse error before `*'
/usr/include/pthread.h:395: parse error before `*'
/usr/include/pthread.h:398: parse error before `*'
/usr/include/pthread.h:401: parse error before `*'
/usr/include/pthread.h:405: parse error before `*'
/usr/include/pthread.h:412: parse error before `*'
/usr/include/pthread.h:420: parse error before `*'
/usr/include/pthread.h:423: parse error before `*'
/usr/include/pthread.h:426: parse error before `*'
/usr/include/pthread.h:431: parse error before `*'
/usr/include/pthread.h:440: parse error before `*'
/usr/include/pthread.h:445: parse error before `*'
/usr/include/pthread.h:448: parse error before `*'
/usr/include/pthread.h:451: parse error before `*'
/usr/include/pthread.h:455: parse error before `*'
/usr/include/pthread.h:461: parse error before `*'
/usr/include/pthread.h:464: parse error before `*'
/usr/include/pthread.h:468: parse error before `*'
/usr/include/pthread.h:474: parse error before `*'
/usr/include/pthread.h:480: parse error before `*'
/usr/include/pthread.h:483: parse error before `*'
/usr/include/pthread.h:486: parse error before `*'
/usr/include/pthread.h:491: parse error before `*'
/usr/include/pthread.h:495: parse error before `*'
/usr/include/pthread.h:499: parse error before `*'
/usr/include/pthread.h:509: parse error before `*'
/usr/include/pthread.h:513: parse error before `*'
/usr/include/pthread.h:516: parse error before `*'
/usr/include/pthread.h:519: parse error before `*'
/usr/include/pthread.h:522: parse error before `*'
/usr/include/pthread.h:527: parse error before `*'
/usr/include/pthread.h:531: parse error before `*'
/usr/include/pthread.h:533: parse error before `*'
/usr/include/pthread.h:535: parse error before `*'
/usr/include/pthread.h:537: parse error before `*'
/usr/include/pthread.h:541: parse error before `*'
/usr/include/pthread.h:544: parse error before `*'
/usr/include/pthread.h:556: parse error before `*'
/usr/include/pthread.h:557: parse error before `)'
/usr/include/pthread.h:560: parse error before `__key'
/usr/include/pthread.h:563: parse error before `__key'
/usr/include/pthread.h:567: parse error before `__key'
/usr/include/pthread.h:576: parse error before `*'
/usr/include/pthread.h:577: parse error before `)'
/usr/include/pthread.h:591: parse error before `__thread'
/usr/include/pthread.h:649: parse error before `__thread_id'
In file included from avl.c:35:
../thread/thread.h:45: parse error before `pthread_t'
../thread/thread.h:45: warning: no semicolon at end of struct or union
../thread/thread.h:46: warning: data definition has no type or storage class
../thread/thread.h:61: parse error before `pthread_mutex_t'
../thread/thread.h:61: warning: no semicolon at end of struct or union
../thread/thread.h:62: warning: data definition has no type or storage class
../thread/thread.h:68: parse error before `pthread_mutex_t'
../thread/thread.h:68: warning: no semicolon at end of struct or union
../thread/thread.h:69: warning: data definition has no type or storage class
../thread/thread.h:70: warning: data definition has no type or storage class
../thread/thread.h:83: parse error before `pthread_rwlock_t'
../thread/thread.h:83: warning: no semicolon at end of struct or union
../thread/thread.h:84: warning: data definition has no type or storage class
../thread/thread.h:113: parse error before `*'
../thread/thread.h:114: warning: data definition has no type or storage class
../thread/thread.h:115: parse error before `*'
../thread/thread.h:116: parse error before `*'
../thread/thread.h:117: parse error before `*'
../thread/thread.h:118: parse error before `*'
../thread/thread.h:119: parse error before `*'
../thread/thread.h:120: parse error before `*'
../thread/thread.h:121: parse error before `*'
../thread/thread.h:122: parse error before `*'
../thread/thread.h:123: parse error before `*'
../thread/thread.h:124: parse error before `*'
../thread/thread.h:125: parse error before `*'
../thread/thread.h:126: parse error before `*'
../thread/thread.h:127: parse error before `*'
../thread/thread.h:128: parse error before `*'
../thread/thread.h:129: parse error before `*'
../thread/thread.h:141: parse error before `*'
../thread/thread.h:141: warning: data definition has no type or storage class
../thread/thread.h:147: parse error before `*'
In file included from avl.c:36:
avl.h:28: parse error before `rwlock_t'
avl.h:28: warning: no semicolon at end of struct or union
avl.h:29: warning: data definition has no type or storage class
avl.h:57: parse error before `avl_node'
avl.h:57: warning: no semicolon at end of struct or union
avl.h:63: parse error before `rwlock'
avl.h:63: warning: data definition has no type or storage class
avl.h:64: warning: data definition has no type or storage class
avl.h:66: parse error before `*'
avl.h:66: warning: data definition has no type or storage class
avl.h:67: parse error before `*'
avl.h:67: parse error before `avl_node'
avl.h:67: warning: data definition has no type or storage class
avl.h:70: parse error before `*'
avl.h:75: parse error before `*'
avl.h:80: parse error before `*'
avl.h:86: parse error before `*'
avl.h:92: parse error before `*'
avl.h:98: parse error before `*'
avl.h:104: parse error before `*'
avl.h:112: parse error before `*'
avl.h:119: parse error before `*'
avl.h:126: parse error before `*'
avl.h:129: parse error before `*'
avl.h:133: parse error before `*'
avl.h:133: parse error before `*'
avl.h:133: warning: data definition has no type or storage class
avl.h:135: parse error before `*'
avl.h:135: parse error before `*'
avl.h:135: warning: data definition has no type or storage class
avl.h:137: parse error before `*'
avl.h:137: parse error before `*'
avl.h:137: warning: data definition has no type or storage class
avl.h:142: parse error before `*'
avl.h:148: parse error before `*'
avl.h:154: parse error before `*'
avl.h:155: parse error before `*'
avl.h:156: parse error before `*'
avl.h:157: parse error before `*'
avl.h:158: parse error before `*'
avl.h:159: parse error before `*'
avl.c:39: parse error before `*'
avl.c:41: parse error before `avl_node'
avl.c: In function `avl_node_new':
avl.c:43: `node' undeclared (first use in this function)
avl.c:43: (Each undeclared identifier is reported only once
avl.c:43: for each function it appears in.)
avl.c:43: parse error before `)'
avl.c:48: `parent' undeclared (first use in this function)
avl.c:49: `key' undeclared (first use in this function)
avl.c: At top level:
avl.c:60: parse error before `*'
avl.c: In function `avl_tree_new':
avl.c:64: `t' undeclared (first use in this function)
avl.c:64: parse error before `)'
avl.c:69: `root' undeclared (first use in this function)
avl.c:69: parse error before `)'
avl.c:69: invalid lvalue in assignment
avl.c: At top level:
avl.c:85: parse error before `*'
avl.c: In function `avl_tree_free_helper':
avl.c:87: `node' undeclared (first use in this function)
avl.c:88: `free_key_fun' undeclared (first use in this function)
avl.c:90: `free_key_fun' used prior to declaration
avl.c: At top level:
avl.c:98: parse error before `*'
avl.c: In function `avl_tree_free':
avl.c:100: `tree' undeclared (first use in this function)
avl.c:101: `free_key_fun' undeclared (first use in this function)
avl.c: At top level:
avl.c:110: parse error before `*'
avl.c: In function `avl_insert':
avl.c:113: `ob' undeclared (first use in this function)
avl.c:114: `node' undeclared (first use in this function)
avl.c:114: `key' undeclared (first use in this function)
avl.c:114: invalid lvalue in assignment
avl.c:123: `t' undeclared (first use in this function)
avl.c:123: `p' undeclared (first use in this function)
avl.c:123: `s' undeclared (first use in this function)
avl.c:123: `q' undeclared (first use in this function)
avl.c:123: `r' undeclared (first use in this function)
avl.c:124: parse error before `int'
avl.c:136: `q_node' undeclared (first use in this function)
avl.c:136: invalid lvalue in assignment
avl.c:154: invalid lvalue in assignment
avl.c:191: `a' undeclared (first use in this function)
avl.c: At top level:
avl.c:286: parse error before `*'
avl.c: In function `avl_get_by_index':
avl.c:290: `p' undeclared (first use in this function)
avl.c:290: `tree' undeclared (first use in this function)
avl.c:291: parse error before `unsigned'
avl.c:296: `m' undeclared (first use in this function)
avl.c:302: `value_address' undeclared (first use in this function)
avl.c: At top level:
avl.c:309: parse error before `*'
avl.c: In function `avl_get_by_key':
avl.c:313: `x' undeclared (first use in this function)
avl.c:313: `tree' undeclared (first use in this function)
avl.c:318: `key' undeclared (first use in this function)
avl.c:332: `value_address' undeclared (first use in this function)
avl.c: At top level:
avl.c:338: parse error before `*'
avl.c: In function `avl_delete':
avl.c:340: `x' undeclared (first use in this function)
avl.c:340: `y' undeclared (first use in this function)
avl.c:340: `p' undeclared (first use in this function)
avl.c:340: `q' undeclared (first use in this function)
avl.c:340: `r' undeclared (first use in this function)
avl.c:340: `top' undeclared (first use in this function)
avl.c:340: `x_child' undeclared (first use in this function)
avl.c:341: parse error before `int'
avl.c:343: `tree' undeclared (first use in this function)
avl.c:348: `key' undeclared (first use in this function)
avl.c:428: `shortened_side' undeclared (first use in this function)
avl.c:440: `shorter' undeclared (first use in this function)
avl.c:444: `free_key_fun' used prior to declaration
avl.c: At top level:
avl.c:610: parse error before `*'
avl.c: In function `avl_iterate_inorder_helper':
avl.c:615: `node' undeclared (first use in this function)
avl.c:616: `iter_fun' undeclared (first use in this function)
avl.c:616: `iter_arg' undeclared (first use in this function)
avl.c:621: `iter_fun' used prior to declaration
avl.c: At top level:
avl.c:635: parse error before `*'
avl.c: In function `avl_iterate_inorder':
avl.c:641: `tree' undeclared (first use in this function)
avl.c:642: `iter_fun' undeclared (first use in this function)
avl.c:642: `iter_arg' undeclared (first use in this function)
avl.c: At top level:
avl.c:649: parse error before `*'
avl.c:649: parse error before `*'
avl.c: In function `avl_get_first':
avl.c:651: `node' undeclared (first use in this function)
avl.c:653: `tree' undeclared (first use in this function)
avl.c: At top level:
avl.c:662: parse error before `*'
avl.c:662: parse error before `*'
avl.c: In function `avl_get_prev':
avl.c:664: `node' undeclared (first use in this function)
avl.c:672: `child' undeclared (first use in this function)
avl.c: At top level:
avl.c:685: parse error before `*'
avl.c:685: parse error before `*'
avl.c: In function `avl_get_next':
avl.c:687: `node' undeclared (first use in this function)
avl.c:695: `child' undeclared (first use in this function)
avl.c: At top level:
avl.c:711: parse error before `*'
avl.c: In function `avl_iterate_index_range':
avl.c:719: `node' undeclared (first use in this function)
avl.c:721: `high' undeclared (first use in this function)
avl.c:721: `tree' undeclared (first use in this function)
avl.c:724: `low' undeclared (first use in this function)
avl.c:741: `iter_fun' used prior to declaration
avl.c:741: `iter_arg' undeclared (first use in this function)
avl.c: At top level:
avl.c:754: parse error before `*'
avl.c:755: parse error before `*'
avl.c: In function `avl_get_index_by_key':
avl.c:759: `x' undeclared (first use in this function)
avl.c:759: `tree' undeclared (first use in this function)
avl.c:760: parse error before `unsigned'
avl.c:765: `m' undeclared (first use in this function)
avl.c:768: `key' undeclared (first use in this function)
avl.c:775: `index' undeclared (first use in this function)
avl.c: At top level:
avl.c:796: parse error before `*'
avl.c: In function `avl_get_span_by_key':
avl.c:802: `node' undeclared (first use in this function)
avl.c:804: `tree' undeclared (first use in this function)
avl.c:804: `key' undeclared (first use in this function)
avl.c:812: `left' undeclared (first use in this function)
avl.c:812: `right' undeclared (first use in this function)
avl.c:827: `low' undeclared (first use in this function)
avl.c:828: `high' undeclared (first use in this function)
avl.c: At top level:
avl.c:839: parse error before `*'
avl.c: In function `avl_get_span_by_two_keys':
avl.c:846: `low_node' undeclared (first use in this function)
avl.c:846: `high_node' undeclared (first use in this function)
avl.c:847: parse error before `int'
avl.c:850: `order' undeclared (first use in this function)
avl.c:850: `tree' undeclared (first use in this function)
avl.c:850: `low_key' undeclared (first use in this function)
avl.c:850: `high_key' undeclared (first use in this function)
avl.c:861: `left' undeclared (first use in this function)
avl.c:872: `right' undeclared (first use in this function)
avl.c:883: `low' undeclared (first use in this function)
avl.c:884: `high' undeclared (first use in this function)
avl.c: At top level:
avl.c:890: parse error before `*'
avl.c: In function `avl_get_item_by_key_most':
avl.c:894: `x' undeclared (first use in this function)
avl.c:894: `tree' undeclared (first use in this function)
avl.c:895: `value_address' undeclared (first use in this function)
avl.c:901: `key' undeclared (first use in this function)
avl.c: At top level:
avl.c:934: parse error before `*'
avl.c: In function `avl_get_item_by_key_least':
avl.c:938: `x' undeclared (first use in this function)
avl.c:938: `tree' undeclared (first use in this function)
avl.c:939: `value_address' undeclared (first use in this function)
avl.c:945: `key' undeclared (first use in this function)
avl.c: At top level:
avl.c:978: parse error before `*'
avl.c: In function `avl_verify_balance':
avl.c:980: `node' undeclared (first use in this function)
avl.c: At top level:
avl.c:998: parse error before `*'
avl.c: In function `avl_verify_parent':
avl.c:1000: `node' undeclared (first use in this function)
avl.c:1000: `parent' undeclared (first use in this function)
avl.c: At top level:
avl.c:1013: parse error before `*'
avl.c: In function `avl_verify_rank':
avl.c:1015: `node' undeclared (first use in this function)
avl.c: At top level:
avl.c:1036: parse error before `*'
avl.c: In function `avl_verify':
avl.c:1038: `tree' undeclared (first use in this function)
avl.c: At top level:
avl.c:1102: parse error before `avl_node'
avl.c: In function `print_node':
avl.c:1107: `node' undeclared (first use in this function)
avl.c:1111: `link' undeclared (first use in this function)
avl.c: At top level:
avl.c:1136: parse error before `*'
avl.c: In function `avl_print_tree':
avl.c:1139: `key_printer' undeclared (first use in this function)
avl.c:1142: `tree' undeclared (first use in this function)
avl.c: At top level:
avl.c:1150: parse error before `*'
avl.c: In function `avl_tree_rlock':
avl.c:1152: `tree' undeclared (first use in this function)
avl.c: At top level:
avl.c:1155: parse error before `*'
avl.c: In function `avl_tree_wlock':
avl.c:1157: `tree' undeclared (first use in this function)
avl.c: At top level:
avl.c:1160: parse error before `*'
avl.c: In function `avl_tree_unlock':
avl.c:1162: `tree' undeclared (first use in this function)
avl.c: At top level:
avl.c:1165: parse error before `*'
avl.c: In function `avl_node_rlock':
avl.c:1167: `node' undeclared (first use in this function)
avl.c: At top level:
avl.c:1170: parse error before `*'
avl.c: In function `avl_node_wlock':
avl.c:1172: `node' undeclared (first use in this function)
avl.c: At top level:
avl.c:1175: parse error before `*'
avl.c: In function `avl_node_unlock':
avl.c:1177: `node' undeclared (first use in this function)
make[2]: *** [avl.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
More information about the Icecast
mailing list