Geoff Shang
2004-Aug-06 14:23 UTC
[icecast] My turn to have issues with compiling libshout
Hi: WARNING: This is long. Just updated libshout and configured. Configure didn't bomb so I guess it went OK and found what it wanted. But when I ran make I got this: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -g -O2 -Wp,-MD,.deps/avl.pp -c avl.c -fPIC -DPIC -o .libs/avl.lo In file included from ../stream.h:20, from ../config.h:17, from avl.c:33: ../thread/thread.h:90: syntax error before "pthread_rwlock_t" ../thread/thread.h:90: warning: no semicolon at end of struct or union ../thread/thread.h:91: warning: data definition has no type or storage class ../thread/thread.h:132: syntax error before '*' token ../thread/thread.h:133: syntax error before '*' token ../thread/thread.h:134: syntax error before '*' token ../thread/thread.h:135: syntax error before '*' token ../thread/thread.h:136: syntax error before '*' token In file included from avl.c:33: ../config.h:62: syntax error before "FILE" ../config.h:62: warning: no semicolon at end of struct or union ../config.h:73: syntax error before '}' token ../config.h:73: warning: data definition has no type or storage class ../config.h:98: syntax error before "instance_t" ../config.h:98: warning: no semicolon at end of struct or union ../config.h:109: conflicting types for `next' ../config.h:72: previous declaration of `next' ../config.h:110: syntax error before '}' token ../config.h:110: warning: data definition has no type or storage class ../config.h:112: syntax error before '*' token ../config.h:112: warning: data definition has no type or storage class ../config.h:120: syntax error before '*' token In file included from avl.c:39: avl.h:36: syntax error before "rwlock_t" avl.h:36: warning: no semicolon at end of struct or union avl.h:38: warning: data definition has no type or storage class avl.h:66: syntax error before "avl_node" avl.h:66: warning: no semicolon at end of struct or union avl.h:72: syntax error before "rwlock" avl.h:72: warning: data definition has no type or storage class avl.h:74: warning: data definition has no type or storage class avl.h:76: syntax error before '*' token avl.h:76: warning: data definition has no type or storage class avl.h:77: syntax error before '*' token avl.h:77: syntax error before "avl_node" avl.h:77: warning: data definition has no type or storage class avl.h:80: syntax error before '*' token avl.h:85: syntax error before '*' token avl.h:90: syntax error before '*' token avl.h:96: syntax error before '*' token avl.h:102: syntax error before '*' token avl.h:108: syntax error before '*' token avl.h:114: syntax error before '*' token avl.h:122: syntax error before '*' token avl.h:129: syntax error before '*' token avl.h:136: syntax error before '*' token avl.h:139: syntax error before '*' token avl.h:143: syntax error before '*' token avl.h:143: syntax error before '*' token avl.h:143: warning: data definition has no type or storage class avl.h:145: syntax error before '*' token avl.h:145: syntax error before '*' token avl.h:145: warning: data definition has no type or storage class avl.h:147: syntax error before '*' token avl.h:147: syntax error before '*' token avl.h:147: warning: data definition has no type or storage class avl.h:152: syntax error before '*' token avl.h:158: syntax error before '*' token avl.h:164: syntax error before '*' token avl.h:165: syntax error before '*' token avl.h:166: syntax error before '*' token avl.h:167: syntax error before '*' token avl.h:168: syntax error before '*' token avl.h:169: syntax error before '*' token avl.c:41: syntax error before '*' token avl.c:43: syntax error before "avl_node" avl.c: In function `avl_node_new': avl.c:45: `node' undeclared (first use in this function) avl.c:45: (Each undeclared identifier is reported only once avl.c:45: for each function it appears in.) avl.c:45: syntax error before ')' token avl.c:50: `parent' undeclared (first use in this function) avl.c:51: `key' undeclared (first use in this function) avl.c: At top level: avl.c:62: syntax error before '*' token avl.c: In function `avl_tree_new': avl.c:66: `t' undeclared (first use in this function) avl.c:66: syntax error before ')' token avl.c:71: `root' undeclared (first use in this function) avl.c:71: syntax error before ')' token avl.c: At top level: avl.c:87: syntax error before '*' token avl.c: In function `avl_tree_free_helper': avl.c:89: `node' undeclared (first use in this function) avl.c:90: `free_key_fun' undeclared (first use in this function) avl.c:92: `free_key_fun' used prior to declaration avl.c: At top level: avl.c:100: syntax error before '*' token avl.c: In function `avl_tree_free': avl.c:102: `tree' undeclared (first use in this function) avl.c:103: `free_key_fun' undeclared (first use in this function) avl.c:103: `free_key_fun' undeclared (first use in this function) avl.c: At top level: avl.c:113: syntax error before '*' token avl.c: In function `avl_insert': avl.c:116: `ob' undeclared (first use in this function) avl.c:117: `node' undeclared (first use in this function) avl.c:117: `key' undeclared (first use in this function) avl.c:126: `t' undeclared (first use in this function) avl.c:126: `p' undeclared (first use in this function) avl.c:126: `s' undeclared (first use in this function) avl.c:126: `q' undeclared (first use in this function) avl.c:126: `r' undeclared (first use in this function) avl.c:139: `q_node' undeclared (first use in this function) avl.c: At top level: avl.c:289: syntax error before '*' token avl.c: In function `avl_get_by_index': avl.c:293: `p' undeclared (first use in this function) avl.c:293: `tree' undeclared (first use in this function) avl.c:294: `index' undeclared (first use in this function) avl.c:305: `value_address' undeclared (first use in this function) avl.c: At top level: avl.c:312: syntax error before '*' token avl.c: In function `avl_get_by_key': avl.c:316: `x' undeclared (first use in this function) avl.c:316: `tree' undeclared (first use in this function) avl.c:321: `key' undeclared (first use in this function) avl.c:335: `value_address' undeclared (first use in this function) avl.c: At top level: avl.c:341: syntax error before '*' token avl.c: In function `avl_delete': avl.c:343: `x' undeclared (first use in this function) avl.c:343: `y' undeclared (first use in this function) avl.c:343: `p' undeclared (first use in this function) avl.c:343: `q' undeclared (first use in this function) avl.c:343: `r' undeclared (first use in this function) avl.c:343: `top' undeclared (first use in this function) avl.c:343: `x_child' undeclared (first use in this function) avl.c:346: `tree' undeclared (first use in this function) avl.c:351: `key' undeclared (first use in this function) avl.c:447: `free_key_fun' used prior to declaration avl.c: At top level: avl.c:614: syntax error before '*' token avl.c: In function `avl_iterate_inorder_helper': avl.c:619: `node' undeclared (first use in this function) avl.c:620: `iter_fun' undeclared (first use in this function) avl.c:620: `iter_arg' undeclared (first use in this function) avl.c:625: `iter_fun' used prior to declaration avl.c: At top level: avl.c:639: syntax error before '*' token avl.c: In function `avl_iterate_inorder': avl.c:645: `tree' undeclared (first use in this function) avl.c:646: `iter_fun' undeclared (first use in this function) avl.c:646: `iter_arg' undeclared (first use in this function) avl.c: At top level: avl.c:653: syntax error before '*' token avl.c:653: syntax error before '*' token avl.c: In function `avl_get_first': avl.c:655: `node' undeclared (first use in this function) avl.c:657: `tree' undeclared (first use in this function) avl.c: At top level: avl.c:666: syntax error before '*' token avl.c:666: syntax error before '*' token avl.c: In function `avl_get_prev': avl.c:668: `node' undeclared (first use in this function) avl.c:676: `child' undeclared (first use in this function) avl.c: At top level: avl.c:689: syntax error before '*' token avl.c:689: syntax error before '*' token avl.c: In function `avl_get_next': avl.c:691: `node' undeclared (first use in this function) avl.c:699: `child' undeclared (first use in this function) avl.c: At top level: avl.c:715: syntax error before '*' token avl.c: In function `avl_iterate_index_range': avl.c:723: `node' undeclared (first use in this function) avl.c:725: `high' undeclared (first use in this function) avl.c:725: `tree' undeclared (first use in this function) avl.c:728: `low' undeclared (first use in this function) avl.c:745: `iter_fun' used prior to declaration avl.c:745: `iter_arg' undeclared (first use in this function) avl.c: At top level: avl.c:758: syntax error before '*' token avl.c:759: syntax error before '*' token avl.c: In function `avl_get_index_by_key': avl.c:763: `x' undeclared (first use in this function) avl.c:763: `tree' undeclared (first use in this function) avl.c:772: `key' undeclared (first use in this function) avl.c:779: `index' undeclared (first use in this function) avl.c: At top level: avl.c:800: syntax error before '*' token avl.c: In function `avl_get_span_by_key': avl.c:806: `node' undeclared (first use in this function) avl.c:808: `tree' undeclared (first use in this function) avl.c:808: `key' undeclared (first use in this function) avl.c:816: `left' undeclared (first use in this function) avl.c:816: `right' undeclared (first use in this function) avl.c:831: `low' undeclared (first use in this function) avl.c:832: `high' undeclared (first use in this function) avl.c: At top level: avl.c:843: syntax error before '*' token avl.c: In function `avl_get_span_by_two_keys': avl.c:850: `low_node' undeclared (first use in this function) avl.c:850: `high_node' undeclared (first use in this function) avl.c:854: `tree' undeclared (first use in this function) avl.c:854: `low_key' undeclared (first use in this function) avl.c:854: `high_key' undeclared (first use in this function) avl.c:865: `left' undeclared (first use in this function) avl.c:876: `right' undeclared (first use in this function) avl.c:887: `low' undeclared (first use in this function) avl.c:888: `high' undeclared (first use in this function) avl.c: At top level: avl.c:894: syntax error before '*' token avl.c: In function `avl_get_item_by_key_most': avl.c:898: `x' undeclared (first use in this function) avl.c:898: `tree' undeclared (first use in this function) avl.c:899: `value_address' undeclared (first use in this function) avl.c:905: `key' undeclared (first use in this function) avl.c: At top level: avl.c:938: syntax error before '*' token avl.c: In function `avl_get_item_by_key_least': avl.c:942: `x' undeclared (first use in this function) avl.c:942: `tree' undeclared (first use in this function) avl.c:943: `value_address' undeclared (first use in this function) avl.c:949: `key' undeclared (first use in this function) avl.c: At top level: avl.c:982: syntax error before '*' token avl.c: In function `avl_verify_balance': avl.c:984: `node' undeclared (first use in this function) avl.c: At top level: avl.c:1002: syntax error before '*' token avl.c: In function `avl_verify_parent': avl.c:1004: `node' undeclared (first use in this function) avl.c:1004: `parent' undeclared (first use in this function) avl.c: At top level: avl.c:1017: syntax error before '*' token avl.c: In function `avl_verify_rank': avl.c:1019: `node' undeclared (first use in this function) avl.c: At top level: avl.c:1040: syntax error before '*' token avl.c: In function `avl_verify': avl.c:1042: `tree' undeclared (first use in this function) avl.c: At top level: avl.c:1106: syntax error before "avl_node" avl.c: In function `print_node': avl.c:1111: `node' undeclared (first use in this function) avl.c:1115: `link' undeclared (first use in this function) avl.c: At top level: avl.c:1140: syntax error before '*' token avl.c: In function `avl_print_tree': avl.c:1143: `key_printer' undeclared (first use in this function) avl.c:1146: `tree' undeclared (first use in this function) avl.c: At top level: avl.c:1154: syntax error before '*' token avl.c: In function `avl_tree_rlock': avl.c:1156: `tree' undeclared (first use in this function) avl.c: At top level: avl.c:1159: syntax error before '*' token avl.c: In function `avl_tree_wlock': avl.c:1161: `tree' undeclared (first use in this function) avl.c: At top level: avl.c:1164: syntax error before '*' token avl.c: In function `avl_tree_unlock': avl.c:1166: `tree' undeclared (first use in this function) avl.c: At top level: avl.c:1169: syntax error before '*' token avl.c: In function `avl_node_rlock': avl.c:1171: `node' undeclared (first use in this function) avl.c: At top level: avl.c:1174: syntax error before '*' token avl.c: In function `avl_node_wlock': avl.c:1176: `node' undeclared (first use in this function) avl.c: At top level: avl.c:1179: syntax error before '*' token avl.c: In function `avl_node_unlock': avl.c:1181: `node' undeclared (first use in this function) make[3]: *** [avl.lo] Error 1 make[3]: Leaving directory `/usr/src/ices2/src/avl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/libshout2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/libshout2' make: *** [all-recursive-am] Error 2 I suspect this is another simptom of the threads stuff that's being worked on. I suspect I'm missing something important, something configure wasn't too bothered about however. Any help most appreciated. Geoff. <p> -- Geoff Shang <gshang@uq.net.au> ICQ number 43634701 Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html <p>--- >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-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Thu, 2003-03-13 at 15:33, Geoff Shang wrote:> Hi: > > WARNING: This is long. > > Just updated libshout and configured. Configure didn't bomb so I guess it > went OK and found what it wanted. But when I ran make I got this: > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -g -O2 -Wp,-MD,.deps/avl.pp -c > avl.c > -fPIC -DPIC -o .libs/avl.lo > In file included from ../stream.h:20, > from ../config.h:17, > from avl.c:33: > ../thread/thread.h:90: syntax error before "pthread_rwlock_t"This is the key point, what system is this, and can you send me the config.log> I suspect this is another simptom of the threads stuff that's being worked > on. I suspect I'm missing something important, something configure wasn't > too bothered about however.yep, although I'm surprised configure passed this bit though. the config.log will explain more. <p>karl. <p><p>--- >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-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Geoff Shang
2004-Aug-06 14:23 UTC
[icecast] My turn to have issues with compiling libshout
On 13 Mar 2003, Karl Heyes wrote:> > ../thread/thread.h:90: syntax error before "pthread_rwlock_t" > > This is the key point, what system is this, and can you send me the > config.logThis system is running Debian unstable and has the following auto* versions: automake (GNU automake) 1.4-p6 autoconf (GNU Autoconf) 2.57 Unstable has automake 1.4, 1.5, 1.6 and 1.7 available. Is this the likely problem and is there a suggested version to upgrade to? I'll send the log privately as it's 31k. Geoff. <p>--- >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-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.