error to compile avetana

"[email protected]" <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
Hi, i tried to compile avetanaBT-20070719.tgz but it return me the follow     error:

g++ -shared -lbluetooth -I /opt/jdk1.6.0_03/include -I /opt/jdk1.6.0_03/include//opt/jdk1.6.0_03/include BlueZ.cpp -o /home/gianfranco/Desktop/Cartella/binaries/libavetanaBT.so 
BlueZ.cpp: In function ‘int gen_dataseq_pdu(char*, const sdp_list_t*, uint8_t)’:
BlueZ.cpp:198: error: invalid conversion from ‘uint8_t*’ to ‘char*’
BlueZ.cpp: In function ‘jint Java_de_avetana_bluetooth_stack_BlueZ_getLinkQuality(JNIEnv*, _jclass*, _jstring*)’:
BlueZ.cpp:407: error: ‘read_link_quality_rp’ was not declared in this scope
BlueZ.cpp:407: error: expected `;' before ‘rp’
BlueZ.cpp:456: error: ‘OCF_READ_LINK_QUALITY’ was not declared in this scope
BlueZ.cpp:459: error: ‘rp’ was not declared in this scope
BlueZ.cpp:460: error: ‘READ_LINK_QUALITY_RP_SIZE’ was not declared in this scope
BlueZ.cpp: In function ‘jint Java_de_avetana_bluetooth_stack_BlueZ_updateService(JNIEnv*, _jclass*, _jobject*, jlong)’:
BlueZ.cpp:1203: error: ‘sdp_gen_tid’ was not declared in this scope
BlueZ.cpp: In function ‘jint Java_de_avetana_bluetooth_stack_BlueZ_createService(JNIEnv*, _jclass*, _jobject*)’:
BlueZ.cpp:1385: error: ‘sdp_gen_tid’ was not declared in this scope
BlueZ.cpp: In function ‘_jobject* my_sdp_service_attr_req(JNIEnv*, _jclass*, sdp_session_t*, uint32_t, sdp_attrreq_type_t, const sdp_list_t*)’:
BlueZ.cpp:2139: error: ‘sdp_gen_tid’ was not declared in this scope
BlueZ.cpp:2170: error: invalid conversion from ‘uint8_t*’ to ‘char*’
BlueZ.cpp: In function ‘int my_sdp_service_search_attr_req(JNIEnv*, _jclass*, sdp_session_t*, const sdp_list_t*, sdp_attrreq_type_t, const sdp_list_t*, sdp_list_t**, sdp_list_t*, _jstring*, jint)’:
BlueZ.cpp:2275: error: ‘sdp_gen_tid’ was not declared in this scope
BlueZ.cpp:2313: error: invalid conversion from ‘uint8_t*’ to ‘char*’
make[1]: *** [libavetanaBT.so] Error 1
make[1]: Leaving directory `/home/gianfranco/Desktop/Cartella/c'
make: *** [csource] Error 2

Can you help me?

Thanks


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.