Hi there!

I'm seeking help because of a build error I experienced yesterday. I
downloaded the 2.1 svn branch, installed (then upgraded) cmake (2.4.6),
then switched to gcc 3.4.6 because 4.1 wasn't supported. Finally I got the
build script running without complaints but it stopped in the process:
make[2]: Entering directory `/usr/local/src/wengophone/wengophone-2.1/build'
/usr/bin/cmake -E cmake_progress_report
/usr/local/src/wengophone/wengophone-2.1/build/CMakeFiles[ 32%] Building C 
object
wifo/httptunnel/CMakeFiles/httptunnel.dir/httptunnel.o/usr/bin/gcc  
-Wmissing-prototypes -g
-I/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel  
-D_FORTIFY_SOURCE=2 -Wall -Wstrict-aliasing -Wextra -Wno-unused-parameter
-DDEBUG -fmessage-length=0 -DHT_USE_SSL -o
wifo/httptunnel/CMakeFiles/httptunnel.dir/httptunnel.o   -c
/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:61:
warning: no previous prototype for 
'closesocket'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:62:
warning: no previous prototype for 
'WSAGetLastError'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:63:
warning: no previous prototype for 
'GetLastError'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:123:
warning: no previous prototype for 
'_curloutputcbk'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:151:
warning: no previous prototype for 
'make_error_string'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:
 In
function 
`make_error_string':/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:153:
warning: unused variable 
`ptr'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c: At
top 
level:/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:175:
warning: no previous prototype for 
'get_ip_addr'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:212:
warning: no previous prototype for 
'locking_callback'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:238:
warning: no previous prototype for 
'pthreads_thread_id'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:247:
warning: no previous prototype for 
'http_tunnel_init_ssl'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:283:
warning: no previous prototype for 
'http_tunnel_uninit_ssl'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:355:
warning: no previous prototype for 
'http_tunnel_clean_up'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:
 In
function 
`easy_get_sock':/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:385:
error: `CURLINFO_LASTSOCKET' undeclared (first use in this 
function)/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:385:
error: (Each undeclared identifier is reported only 
once/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:385:
error: for each function it appears 
in.)/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c: At
top 
level:/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:394:
warning: no previous prototype for 
'get_https_response'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:454:
warning: no previous prototype for 
'get_http_response'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:503:
warning: no previous prototype for 
'get_proxy_auth_type_h'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:531:
warning: no previous prototype for 
'http_make_connection'/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:
 In
function 
`http_make_connection':/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:563:
error: `CURLOPT_CONNECT_ONLY' undeclared (first use in this 
function)/usr/local/src/wengophone/wengophone-2.1/wifo/httptunnel/httptunnel.c:616:
warning: unused variable `i'make[2]: *** 
[wifo/httptunnel/CMakeFiles/httptunnel.dir/httptunnel.o] Error 1
make[2]: Leaving directory `/usr/local/src/wengophone/wengophone-2.1/build'
make[1]: *** [wifo/httptunnel/CMakeFiles/httptunnel.dir/all] Error 2
make[1]: Leaving directory `/usr/local/src/wengophone/wengophone-2.1/build'
make: *** [all] Error 2


On IRC it was suggested to use internal curl support, something using
-DHAVE_CURL_INTERNAL="1" or something like that. Unfortunately, I'm not
familiar enough with how cmake works at all so I'm still kinda lost here.
Also, I think reporting this makes sense anyway because, if my curl
version (7.15.1) isn't supported for some reason, the build script should
know about it, right?

Another question: For other bug reports, ie not real errors but feature
suggestions, small enhancement nits and stuff like that, is this the right
place/mailing list to write to as well? I tried the trac system yesterday
but unfortunately standard permissions are not enough to create tickets.I tried 
the forum as well but there you only get the standard answer "go
to openwengo.org to get in contact with developers"..

Thanks,


Sebastian


_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to