[icecast] Adventures with icecast2
Michael Smith
msmith at labyrinth.net.au
Wed Jun 6 09:50:45 UTC 2001
At 07:38 PM 6/6/01 +1000, you wrote:
>On Wed, 6 Jun 2001, Michael Smith wrote:
>
>> Try linking it with an explicit library (like
>> gcc -o example example.c ../src/libshout.a (plus other arguments that it
>> needs)
>
>I *really* don't know about this stuff.
>
>I don't have a libshout.a. I have libshout.la which it didn't
>recognise, and shout.lo which resulted in a host of undefined references.
>
>So I guess I don't have a static lib. So How do I compile one, and is
>this what I want anyway?
I guess it doesn't build static libs - the .la/.lo stuff is just libtool
crap which does nothing except get in the way and be annoying. libtool
sucks.
You'd have to modify the makefiles to make it build a static library,
so it's probably best not to. I suggest you just rename the shout libs
to something else (libshout2.so, for example). Then just link the example
with -lshout2 instead of -lshout
Michael
--- >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