avetana problem

[email protected]
Newsgroups gmane.comp.java.sun.kvm
Message-ID <9212925.898841197619712323.JavaMail.tomcat@sdcst12.sjc.collab.net>
hi, i want installing avetana on S.O. ubuntu but when i compile with "./install", it return 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
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

My PC is an AMD 64.

Please help me, thanks
M
[Message sent by forum member 'russogia' (russogia)]

http://forums.java.net/jive/thread.jspa?messageID=250078

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
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.