hi,

i have problem with qutecom compilation on f9 (gcc 4.3.0)

first problem
Scanning dependencies of target netlib
[ 32%] Building CXX object wifo/netlib/CMakeFiles/netlib.dir/src/netlib.o
/home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp: In function ‘int _parseProxyUrl(char*)’: /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp:153: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘for’ statement /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp:157: error: ‘memcpy’ was not declared in this scope /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp:160: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘for’ statement /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp: In function ‘char* ping_request_new(const char*, const char*, OWSLSocket)’: /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp:521: error: ‘strlen’ was not declared in this scope /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp: In function ‘int sip_ping(OWSLSocket, int, const char*, const char*)’: /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp:584: error: ‘strlen’ was not declared in this scope /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp: In function ‘HttpRet is_http_conn_allowed(const char*, const char*, int, const char*, const char*, int, int)’: /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp:805: error: ‘strdup’ was not declared in this scope /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp: In function ‘int is_connection_available()’: /home/cervajs/qutecom/qutecom-2.2/wifo/netlib/src/netlib.cpp:1006: error: ‘memset’ was not declared in this scope
make[2]: *** [wifo/netlib/CMakeFiles/netlib.dir/src/netlib.o] Error 1
make[1]: *** [wifo/netlib/CMakeFiles/netlib.dir/all] Error 2
make: *** [all] Error 2

i can bypass this problem by adding "#include <string.h>" to qutecom-2.2/wifo/netlib/src/netlib.cpp
(vadim pls commit if ok)

second problem i cannot solve now
Linking C shared module libsfp-plugin.so
[ 52%] Built target sfp-plugin
[ 52%] Building CXX object wengophone/src/buildid/CMakeFiles/owbuildid.dir/__/__/__/__/wengophone/src/WengoPhoneBuildId.o In file included from /home/cervajs/qutecom/qutecom-2.2/wengophone/src/WengoPhoneBuildId.cpp:20: /home/cervajs/qutecom/qutecom-2.2/wengophone/src/WengoPhoneBuildId.h:40: warning: type qualifiers ignored on function return type In file included from /home/cervajs/qutecom/qutecom-2.2/wengophone/src/WengoPhoneBuildId.cpp:32: /usr/include/ffmpeg/avcodec.h:2296: warning: ‘ImgReSampleContext’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2290) /usr/include/ffmpeg/avcodec.h:2306: warning: ‘ImgReSampleContext’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2290) /home/cervajs/qutecom/qutecom-2.2/wengophone/src/WengoPhoneBuildId.cpp:40: warning: type qualifiers ignored on function return type /home/cervajs/qutecom/qutecom-2.2/wengophone/src/WengoPhoneBuildId.cpp: In static member function ‘static const long long unsigned int WengoPhoneBuildId::getBuildId()’: /home/cervajs/qutecom/qutecom-2.2/wengophone/src/WengoPhoneBuildId.cpp:41: error: ‘LL’ was not declared in this scope make[2]: *** [wengophone/src/buildid/CMakeFiles/owbuildid.dir/__/__/__/__/wengophone/src/WengoPhoneBuildId.o] Error 1
make[1]: *** [wengophone/src/buildid/CMakeFiles/owbuildid.dir/all] Error 2
make: *** [all] Error 2

ffmpeg is ffmpeg-devel-0.4.9-0.46.20080225

do you have any ideas?
thanks

Marek Cervenka
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to