[icecast] libshout compile errors (os.h)

Karl Heyes karl at pts.tele2.co.uk
Sun Dec 1 00:44:17 UTC 2002

On 2002.12.01 00:21 smoerk wrote:

> thanks, it compiled. little strange this error. I'm on debian (testing)...

probably a left over from some merge.

> But now I have another problem when compiling ices
> make[2]: Entering directory `/opt/ices2/ices/src'
> gcc-3.2 -DPACKAGE=\"ices\" -DVERSION=\"2.0\" -DHAVE_DLFCN_H=1 
> -DSTDC_HEADERS=1 -DHAVE_STDINT_H=1  -I. -I.  -Inet -Ithread -Iavl -Ilog 
> -Itiming -DHAVE_OSS     -O20 -ffast-math -fsigned-char -D_REENTRANT 
> -D_GNU_SOURCE -I/usr/include/libxml2/libxml -I/usr/include/libxml2 
> -I/include -I/include -I/include -c input.c
> In file included from input.c:29:
> input.h:34: parse error before "shout_t"
> input.h:34: warning: no semicolon at end of struct or union
> input.h:36: parse error before '}' token
> input.h:36: warning: data definition has no type or storage class
> input.c: In function `input_loop':
> input.c:269: `arg' undeclared (first use in this function)
> input.c:269: (Each undeclared identifier is reported only once
> input.c:269: for each function it appears in.)
> make[2]: *** [input.o] Error 1
> make[2]: Leaving directory `/opt/ices2/ices/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/ices2/ices/src'
> make: *** [all-recursive] Error 1

The parse error before shout_t is typical of a duff libshout install.
Namely it didn't install the shout.h header. Make sure you did an
install from the libshout directory not from the src directory. I get
it building no problem here.

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