On Fri, 2007-07-13 at 00:41 +0400, Alexander Chemeris wrote:
> You should define it for sipXmediaLib, sipXmediaAdapterLib and sipXtackLib.
> It's a good practise to search through all source files for preprocessor 
> entries
> you're defining to be sure that you have not missed part of code. Preprocessor
> is a insidious guy, it will not give you errors during compilation.

Yes, you should be careful to set preprocessor symbols only through the
correct build environment variable, and they should be the same for all
components.  In this case, something like:

export CFLAGS="-DHAVE_SPEEX"
export CXXFLAGS="-DHAVE_SPEEX"
./configure ...

(The values of the env. vars. are sampled and saved when ./configure is
run.)

Also, "make clean" if you are going to change an env. var., as the
makefiles do not know to recompile .o files that are affected.

Dale


_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to