[icecast-dev] icecast2 on solaris ... (fwd)
Thomas Vander Stichele
thomas at urgent.rug.ac.be
Fri Aug 30 02:48:53 PDT 2002
Ok,
for further info, below is the full compiler output when running gnu make.
The first error,
../thread/thread.h:78: parse error before `pthread_rwlock_t'
is the one that brings on all the others. I've checked
/usr/include/pthread.h and didn't find pthread_rwlock_t in it.
So my guess is, pthread on solaris 2.6 is too old (afaik, there are three
versions of solaris that are newer than this). Can somebody with solaris
(newer than 2.6) check if pthread.h has this identifier in it ?
If so, please send me the header, so I can look if anything can be done
about it (if it's a simple struct, then I can define it in a compatibility
header and work from there, and also provide a patch to icecast's
configure to either check for this struct and complain if not there, or
include the compatibility header, depending on icecast developer's
preferences).
Alternatively, if I'm looking at this the wrong way, let me know as well
;) I have zero experience on solaris.
Thanks,
Thomas
<p>
--
The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*- -*->
If I could be who you wanted
all the time
then I would
<-*- thomas at apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/
---------- Forwarded message ----------
Date: Fri, 30 Aug 2002 11:38:10 +0200 (CEST)
From: Wiebe De Porre <wiebe at belbone.be>
To: thomas at urgent.rug.ac.be
Subject: icecast2 on solaris ...
<p>In file included from avl.c:35:
../thread/thread.h:78: parse error before `pthread_rwlock_t'
../thread/thread.h:78: warning: no semicolon at end of struct or union
../thread/thread.h:79: warning: data definition has no type or storage class
../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 `*'
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: 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:90: `free_key_fun' used prior to declaration
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: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: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:621: `iter_fun' used prior to declaration
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
--
(Wiebe De Porre) =------------= (New Media Technology Engineer @ Belgacom IBU)
(wiebe at belbone.be) =----------------------------= (Koning Albert II - Laan 27)
(Voice +32-2-2039737 Fax +32-2-2026601) =-----------= (1030 Brussels, Belgium)
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast-dev
mailing list