[Icecast-dev] Adding dependencies
Karl Heyes
karl at xiph.org
Tue Nov 30 10:32:36 PST 2010
On 30/11/10 18:24, Nicholas Young wrote:
> I'm tinkering with adding another C program into my fork of icecast. I've
> installed the libraries on my machine, as well as added both the .c and .h
> files for the library to my icecast source folder. However, while running
> make, I get:
>
> ad.a httpp/.libs/libicehttpp.a log/.libs/libicelog.a avl/.libs/libiceavl.a
> timing/.libs/libicetiming.a -lssl -lcrypto -lcurl -lvorbis -logg -lxslt
> -lxml2 -lz -lpthread -licucore -lm
> Undefined symbols:
> "_redisConnect", referenced from:
> _logging_playlist in logging.o
> "_redisFree", referenced from:
> _logging_playlist in logging.o
> "_freeReplyObject", referenced from:
> _logging_playlist in logging.o
> "_redisCommand", referenced from:
> _logging_playlist in logging.o
> ld: symbol(s) not found
>
> I see the various -l statements above, and wonder how to get my library
> included in that list. I'm just attempting to understand how you've
> configured the build process for Icecast.
Welcome to the wonderful world of autofoo, the configure.in and m4/*
macros are what you want to look at. You will want to add to the XIPH_*
variables then re-run autogen.sh
karl.
More information about the Icecast-dev
mailing list