[icecast] Trouble compiling ices 0.2.3

Geoff Shang gshang at uq.net.au
Thu Oct 31 07:47:57 PST 2002



Hi:

I'm wanting to compile ices 0.2.3 in order to have a play with it.  Since
I'm doing this on a box that also has libshout2, I don't want libshout1 to
be installed (I wish they both used the same lib).  Anyway, configure was
invoked as follows:

./configure  --disable-shared --enable-static

to try and achieve this.

anyway, it runs quite happily, reporting nothing unexpected.  When I try to
make it, I get this:

Making all in playlist
make[3]: Entering directory `/usr/src/ices-0.2.3/src/playlist'
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"         -I../../src
-I../../libshout  -I/usr/include/libxml2/libxml -I/usr/include/libxml2  -g
-O2 -Wall -c playlist.c
In file included from ../../src/definitions.h:107,
                 from playlist.c:22:
../../src/icestypes.h:34: parse error before `shout_conn_t'
../../src/icestypes.h:34: warning: no semicolon at end of struct or union
../../src/icestypes.h:60: parse error before `}'
../../src/icestypes.h:60: warning: type defaults to `int' in declaration of
`ices_stream_t'
../../src/icestypes.h:60: warning: data definition has no type or storage
class
../../src/icestypes.h:83: parse error before `ices_stream_t'
../../src/icestypes.h:83: warning: no semicolon at end of struct or union
../../src/icestypes.h:85: parse error before `}'
../../src/icestypes.h:85: warning: type defaults to `int' in declaration of
`ices_config_t'
../../src/icestypes.h:85: warning: data definition has no type or storage
class
In file included from ../../src/definitions.h:109,
                 from playlist.c:22:
../../src/setup.h:26: parse error before `*'
In file included from ../../src/definitions.h:117,
                 from playlist.c:22:
../../src/reencode.h:27: parse error before `*'
../../src/reencode.h:29: parse error before `*'
In file included from ../../src/definitions.h:118,
                 from playlist.c:22:
../../src/ices_config.h:22: parse error before `*'
playlist.c:25: parse error before `ices_config'
playlist.c:25: warning: type defaults to `int' in declaration of
`ices_config'
playlist.c:25: warning: data definition has no type or storage class
playlist.c: In function `ices_playlist_get_current_lineno':
playlist.c:36: request for member `pm' in something not a structure or
union
playlist.c:37: request for member `pm' in something not a structure or
union
playlist.c: In function `ices_playlist_get_next':
playlist.c:48: request for member `pm' in something not a structure or
union
playlist.c:49: warning: control reaches end of non-void function
playlist.c: In function `ices_playlist_get_metadata':
playlist.c:56: request for member `pm' in something not a structure or
union
playlist.c:57: request for member `pm' in something not a structure or
union
playlist.c: In function `ices_playlist_initialize':
playlist.c:70: request for member `pm' in something not a structure or
union
playlist.c:72: request for member `pm' in something not a structure or
union
playlist.c:74: request for member `pm' in something not a structure or
union
playlist.c:74: warning: unreachable code at beginning of switch statement
playlist.c: In function `ices_playlist_reload':
playlist.c:108: request for member `pm' in something not a structure or
union
playlist.c:109: request for member `pm' in something not a structure or
union
playlist.c: In function `ices_playlist_shutdown':
playlist.c:119: request for member `pm' in something not a structure or
union
make[3]: *** [playlist.o] Error 1
make[3]: Leaving directory `/usr/src/ices-0.2.3/src/playlist'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/ices-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ices-0.2.3'
make: *** [all-recursive-am] Error 2

I'm no expert, but it looks like something is missing.  Any ideas?  I wish
to evaluate ices for use in a project so this is kinda important.

Geoff.

<p>
-- 
Geoff Shang <gshang at 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 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 mailing list