[icecast] trouble compiling ices

pharkawik at hampshire.edu pharkawik at hampshire.edu
Thu Mar 13 15:56:48 UTC 2003



i am getting this error in ices:

root at yurt:~/ices-0.2.3# ices -c /etc/icecast/ices.conf
Cannot use config file (no XML support).
Ices Exiting...

o i tried to recompile it with XML support but...

root at yurt:~/ices-0.2.3# make install
Making install in src
make[1]: Entering directory `/root/ices-0.2.3/src'
Making install in playlist
make[2]: Entering directory `/root/ices-0.2.3/src/playlist'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
-DICES_MODULEDIR=\"/usr/local/icecast/etc/modules\"         -I../../src 
   -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[2]: *** [playlist.o] Error 1
make[2]: Leaving directory `/root/ices-0.2.3/src/playlist'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/ices-0.2.3/src'
make: *** [install-recursive] Error 1

any help appreciated!!

thanks,
peter

--- >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