[icecast] Build problems with libshout on Mac OS X 10.2

Brendan Cully brendan at xiph.org
Fri Jun 13 21:08:42 UTC 2003



This bug, which affects libshout 1, was fixed in CVS, but I don't
remember whether a subsequent release was made. I'd encourage you to
try a libshout 2 snaphsot. This version is very close to release, I
believe.

You can find the snapshot at xiph.org/~brendan/

Note you will also need the ogg and vorbis libraries installed in
order to build libshout 2.

-b

PS changing urlencstring[16] to urlencstring[17] should also have
worked.

On Friday, 13 June 2003 at 15:55, Zachary Hamm wrote:
> FYI,
> 
> For anyone trying to build libshout on Mac OS X 10.2 and having 
> problems change line 16 of
> encode.c from:
> 
> const char urlencstring[16] = "0123456789abcdef";
> 
> to
> 
> const char urlencstring[16] = { '0', '1', '2', '3', '4', '5', '6', '7', 
> '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };
> 
> Apparently Apple's gcc (or maybe its just gcc 3.1) (stupidly) has 
> issues with literal strings without \0 terminators.
> 
> Just thought this might interest someone...
> 
--- >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