This code was added so the debugging from openssl would hit the sofia callbacks. if you don't need tls support, you could easily build without and not have the issue at all, otherwise, commenting that out should be fine. Maybe we need to add a configure check if that function is there and if so use it, otherwise, just print to stdout like it has??
Mike On Jan 30, 2008, at 2:00 PM, Fabio Margarido wrote: > Hi there, > > I tried to compile sofia-sip-1.12.8 today on a machine with an older > kernel and older libraries and got this error: > > gcc -Wall -g -O2 -o .libs/sip-options sip-options.o > ../libsofia-sip-ua/.libs/libsofia-sip-ua.so -lssl -lcrypto -lpthread > -Wl,--rpath -Wl,/usr/local/lib > ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to > `ERR_print_errors_cb' > > I dug around and googled a bit and found out that my machine's openssl > is version 0.9.6, and apparently ERR_print_errors_cb isn't present in > 0.9.6, only from 0.9.7 on. Is it really a pre-requisite for sofia now > to have openssl >= 0.9.7? If so, shouldn't the configure script check > for this? > As I cannot change the library version on this machine, I simply > commented out the lines in tport_tls.c which called > ERR_print_errors_cb. This shouldn't give me major headaches, right? > Thanks. > > Fabio Margarido > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel