[Icecast] Trouble compiling Icecast 2.3.1

Robert Muchnick hostmaster at xenterra.net
Tue Dec 13 23:10:39 UTC 2005


It is almost certain to be the old compiler. Try upgrading to around 
gcc-3.3.6. If that doesn't work, try dropping back to libxml-2.6.21 with 
the upgraded compiler. Icecast 2.3.1 compiles wihout problems with that 
lib and gcc on Slackware Linux with both 2.4.29 and 2.4.31 kernels.

On Wed, 14 Dec 2005, Geoff Shang wrote:

> Hi,
>
> Sorry if this has been posted about before.
>
> I'm trying to upgrade my personal Icecast from some ancient pre-release CVS 
> version, and I've hit trouble:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -ffast-math -fsigned-char 
> -I/usr/local/include -I/usr/local/include/libxml2  -pthread -g -O2 -c `test 
> -f 'main.c' || echo './'`main.c
> In file included from /usr/local/include/libxslt/xsltInternals.h:20,
>                 from xslt.h:18,
>                 from main.c:49:
> /usr/local/include/libxml2/libxml/dict.h:30: syntax error before `xmlDictPtr'
> /usr/local/include/libxml2/libxml/dict.h:31: warning: data definition has no 
> type or storage class
> /usr/local/include/libxml2/libxml/dict.h:32: syntax error before `xmlDictPtr'
> /usr/local/include/libxml2/libxml/dict.h:33: warning: data definition has no 
> type or storage class
> ...
>
> Details are as follows:
>
> Linux Debian 2.2 (x86)
> gcc version 2.95.2 20000220 (Debian GNU/Linux)
> libogg 1.1.2
> Libvorbis aoTuV b3
> libxml2 2.6.22
> libxslt 1.1.15
>
> Is my compiler just too old, or is there something else I can do?
>
> Geoff.


Robert Muchnick
Xenterra.net
720-276-7917



More information about the Icecast mailing list