[Ekiga-list] compile error ekiga 3.2.5 / xcap module



Hi everybody,

After a short skim through the archives, I was not able to find the answer (which of course does not mean it's not there).

I have an issue building ekiga 3.2.5. The build stops with the following errors:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/engine/framework -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fmessage-length=0 -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fstack-protector -fexceptions -Wall -Wextra -Winit-self
-Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -MT xcap-core.lo -MD -MP -MF .deps/xcap-core.Tpo -c
../../../../lib/engine/components/xcap//xcap-core.cpp -fPIC -DPIC -o .libs/xcap-core.o
../../../../lib/engine/components/xcap//xcap-core.cpp: In member function 'void XCAP::CoreImpl::read(gmref_ptr<XCAP::Path>, sigc::slot2<void, bool,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
../../../../lib/engine/components/xcap//xcap-core.cpp:236: error: invalid conversion from 'void*' to 'const char*'
../../../../lib/engine/components/xcap//xcap-core.cpp:236: error: initializing argument 1 of 'SoupMessage* soup_message_new(const char*, const
char*)'
../../../../lib/engine/components/xcap//xcap-core.cpp: In member function 'void XCAP::CoreImpl::write(gmref_ptr<XCAP::Path>, std::string,
std::string, sigc::slot1<void, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
../../../../lib/engine/components/xcap//xcap-core.cpp:265: error: invalid conversion from 'void*' to 'const char*'
../../../../lib/engine/components/xcap//xcap-core.cpp:265: error: initializing argument 1 of 'SoupMessage* soup_message_new(const char*, const
char*)'
../../../../lib/engine/components/xcap//xcap-core.cpp: In member function 'void XCAP::CoreImpl::erase(gmref_ptr<XCAP::Path>, sigc::slot1<void,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
../../../../lib/engine/components/xcap//xcap-core.cpp:296: error: invalid conversion from 'void*' to 'const char*'
../../../../lib/engine/components/xcap//xcap-core.cpp:296: error: initializing argument 1 of 'SoupMessage* soup_message_new(const char*, const
char*)'
make[6]: *** [xcap-core.lo] Error 1

The code in question on those 3 lines is:
236: message = soup_message_new (SOUP_METHOD_GET, path->to_uri ().c_str ());
265: message = soup_message_new (SOUP_METHOD_PUT, path->to_uri ().c_str ());
296: message = soup_message_new (SOUP_METHOD_DELETE, path->to_uri ().c_str ());


Any simple idea on how to change the code for this to work?

Best regards and thanks in advance,
Dominique


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]