On 22 Apr, MJS wrote:
> 
> I have set up a Debian box today running potato, and yes ./configure works with 
>this,, I'm guessing
> that this is because the stable tree is still running libmysqclient6 (3.22), and the 
>development tree
> is up to libmysqlclient10 (3.23).  All that aside, ./configure went with out a 
>hitch, and the compile
> was fine up intil it started to include the libshout files.  I am using the latest 
>libshout found at
> developer.icecast.org, the ones already pre-packaged for Debian 1.0.1.  This is the 
>compile erorr I
> got. 
> 
> x 
> g++ -Wall -g -O2 -D_REENTRANT -c -I../volman -I../include -I../utils -I../mpegutils 
>HTTPTransmitter.cpp
> In file included from HTTPTransmitter.cpp:41:
> /usr/include/shout/shout.h:29: parse error before `public'
> HTTPTransmitter.cpp: In method `void HTTPTransmitter::WorkerThread_v()':
> HTTPTransmitter.cpp:137: `struct shout_conn_t' has no member named `ispublic'
> make[1]: *** [HTTPTransmitter.o] Error 1
> make[1]: Leaving directory `/usr/src/obs-0.3.0/xmit'
> make: *** [all] Error 2
> mjs@jolt:/usr/src/obs-0.3.0 #
> 
> 
> Has this error been seen before, and is there a known solution to it? 

I think the best solution for this would be to hack into the icecast CVS
tree so I can fix that dammned bug myself. :-) Jack still doesn't seem
to have applied my (verbal) patch. I guess the verbal part is the
problem here. Sigh.

The proper fix is to edit /usr/include/shout/shout.h and look the word
'public' and replace the two occurrances with 'ispublic'. The problem
here is that libshout is a C program that uses a struct member named
'public', which is fine in C, but a reserved word in C++, so when the
C++ compile compiles the HTTPTransmitter file, it encounters the public
keyword and horks up a smurf.

If you're not comfortable editing the shout.h file, uninstall that
libshout, and download the patched libshout on the obs.freeamp.org
webpage that already has this bug fixed.

Good luck!

--ruaok         Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye   --    [EMAIL PROTECTED]   --   http://www.mayhem-chaos.net

_______________________________________________
Obs-dev mailing list
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/obs-dev

Reply via email to