ahmadvand / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Problem with building ImsDroid_V2 (tinyWrap and Java Code) #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (wireshark) or Android log (DDMS output)
if you want quick response

Description of the problem :
I want to compile, build, test and deploy ImsDroid_V2 on my Samsung Galaxy S 
and my Samsung Galaxy Tab.
I follow the instructions and the first things I have to do is to build the 
tinyWrap Librairy, isn't it ?
And after the librairy is built I have to import the project into eclipse, 
compile and test it on a VM ? Is there any tutorial for that, because I already 
build and deploy simple applications with Android SDK and Eclipse but I can't 
import this project into the Workspace ...

What steps will reproduce the problem?
1. Install Cygwin
2. Install Android-ndk-r4b
3. Install Android-sdk
4. Try to build with the advices of 
http://code.google.com/p/imsdroid/wiki/Building_IMSDroid_v2_x

What is the expected output? What do you see instead?
I excepted to have the tinyWrap.so librairy but I have a lot of errors

What version of the product are you using? On what operating system?

PC-Operation System : Windows Xp SP3

Android devices : Android 2.2 and Android 2.3

IMSDroid : imsdroid_v2 revision 607
URL : http://doubango.googlecode.com/svn/branches/2.0/doubango
Link : G:\TB\developpement\imsdroid

Cygwin : 

$ cygcheck --version
cygcheck version 1.126
System Checker for Cygwin
Copyright (C) 1998 - 2008 Red Hat, Inc.
Compiled on Mar 28 2011

$ uname
CYGWIN_NT-5.1

Link : F:\cygwin\Cygwin.bat

Eclipse :

Eclipse SDK

Version: 3.6.0
Build id: I20100608-0911

Link : F:\eclipse\eclipse.exe

Android SDK :

Hierarchy Viewer

Version: 10.0.1.v201103111512-110841

Link : F:\eclipse\android-sdk-windows

Android NDK :

Version : android-ndk-r4b

Link : F:\eclipse\android-ndk-r4b

Please provide any additional information below.

So i try to respect the instructions here : 
http://code.google.com/p/imsdroid/wiki/Building_IMSDroid_v2_x

I use TortoiseSVN to checkout 
http://doubango.googlecode.com/svn/branches/2.0/doubango and copy it to my 
directory : G:\TB\developpement\imsdroid

Then I found that I can't build the Java Code because I can't import the 
existing project into the directory, and I don't know why, can you help me ?

Where is the Java Code located ? http://imsdroid.googlecode.com/svn/trunk/ ? 
With my first checkout, do I get only the librairies, right ?

Should I continue with the procedure descripted here ? : 
http://doubango.org/android-ngn-stack/page___setting__up__n_g_n_project.html?

I got the following errors with Eclipse :

2011-06-23 16:10:12 - imsdroid] Unable to resolve target 'android-5'
[2011-06-23 16:11:35 - imsdroid] ERROR: Unable to open class file 
G:\TB\developpement\imsdroid2\imsdroid\gen\org\doubango\imsdroid\R.java: No 
such file or directory

Can I build the Java Code without TinyWrap.so ?

So I have the idea that I must build the native librairies before building the 
Java Code so I continue :

I adjust the root.mk like that :

export ANDROID_NDK_ROOT=/cygdrive/f/eclipse/android-ndk-r4b
export ANDROID_SDK_ROOT=/cygdrive/f/eclipse/android-sdk-windows
export ANDROID_PLATFORM=$(ANDROID_NDK_ROOT)/build/platforms/android-8
export ANDROID_HOST=windows
export ANDROID_GCC_VER=4.2.1

then I add to my windows XP path :

F:\eclipse\android-ndk-r4b\build\prebuilt\windows\arm-eabi-4.2.1\bin;

and then i use compilation flags with cygwin like this :

export CFLAGS="–Os –DDEBUG_LEVEL=DEBUG_LEVEL_ERROR"

And I chose to build tinyWrap.so without G729AB, so i go to the right directory 
(DOUBANGO_HOME)/android-projects

And I build all projects like you said without the Neon optimization because 
I'm not sure if it is compatible with my 2 smartphones.

../bindings/java/android/buildAll.sh

and this is what I got :

The first few lines :

$ ../bindings/java/android/buildAll.sh
building tinySAK with parameters=

(cd ../tinySAK; make -f droid-makefile clean)
make[1]: Entering directory `/cygdrive/g/TB/developpement/imsdroid/tinySAK'
make[1]: Leaving directory `/cygdrive/g/TB/developpement/imsdroid/tinySAK'
(cd ../tinySAK ; make -f droid-makefile all; cp -f libtinySAK_armv5te.a /cygdr
e/g/TB/developpement/imsdroid/android-projects/output)
make[1]: Entering directory `/cygdrive/g/TB/developpement/imsdroid/tinySAK'
arm-eabi-gcc-4.2.1 -c  -Os -DDEBUG_LEVEL=DEBUG_LEVEL_ERROR  -I/cygdrive/f/ecli
e/android-ndk-r4b/build/platforms//cygdrive/f/eclipse/android-ndk-r4b/build/pl
forms/android-8/arch-arm/usr/include -msoft-float -fpic -mthumb-interwork -ffu
tion-sections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_
__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -MMD -MP -fno-short-enums -DANDROID  -
rch=armv5te -mtune=xscale -Os -fomit-frame-pointer -fno-strict-aliasing -finli
-limit=64 -DANDROID -static src/tsk.c -o src/tsk.o
In file included from src/tsk.h:34,
                 from src/tsk.c:25:
src/tinysak_config.h:95:20: warning: stdint.h: No such file or directory
In file included from src/tsk_object.h:36,
                 from src/tsk_list.h:35,
                 from src/tsk.h:38,
                 from src/tsk.c:25:
/cygdrive/f/eclipse/android-ndk-r4b/build/prebuilt/windows/arm-eabi-4.2.1/bin/
/lib/gcc/arm-eabi/4.2.1/include/stdio.h:160: error: expected '=', ',', ';', 'a
' or '__attribute__' before 'extern'
/cygdrive/f/eclipse/android-ndk-r4b/build/prebuilt/windows/arm-eabi-4.2.1/bin/
/lib/gcc/arm-eabi/4.2.1/include/stdio.h:229: error: expected '=', ',', ';', 'a
' or '__attribute__' before '__BEGIN_DECLS'
/cygdrive/f/eclipse/android-ndk-r4b/build/prebuilt/windows/arm-eabi-4.2.1/bin/
/lib/gcc/arm-eabi/4.2.1/include/stdio.h:377: error: expected '=', ',', ';', 'a
' or '__attribute__' before '__BEGIN_DECLS'
/cygdrive/f/eclipse/android-ndk-r4b/build/prebuilt/windows/arm-eabi-4.2.1/bin/
/lib/gcc/arm-eabi/4.2.1/include/stdio.h:388: error: expected '=', ',', ';', 'a
' or '__attribute__' before 'static'
In file included from src/tsk.h:39,
                 from src/tsk.c:25:
src/tsk_string.h:73: error: expected ')' before 'i'
src/tsk_string.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' b
ore 'tsk_atoll'
src/tsk_string.h:77: error: expected ';', ',' or ')' before '*' token
src/tsk_string.h:78: error: expected declaration specifiers or '...' before 'u
t8_t'
In file included from src/tsk.h:41,
                 from src/tsk.c:25:
src/tsk_memory.h:35:37: warning: stdlib.h: No such file or directory
In file included from src/tsk.h:47,
                 from src/tsk.c:25:
src/tsk_time.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' bef
e 'tsk_time_get_ms'
src/tsk_time.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' bef
e 'tsk_time_epoch'
In file included from src/tsk.h:48,
                 from src/tsk.c:25:
src/tsk_timer.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' be
re 'tsk_timer_id_t'
src/tsk_timer.h:65: error: expected declaration specifiers or '...' before 'ts
timer_id_t'
src/tsk_timer.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' be
re 'tsk_timer_manager_schedule'
src/tsk_timer.h:76: error: expected declaration specifiers or '...' before 'ts
timer_id_t'
src/tsk_timer.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' be
re 'tsk_timer_mgr_global_schedule'
src/tsk_timer.h:83: error: expected ')' before 'id'
In file included from src/tsk.h:49,
                 from src/tsk.c:25:
src/tsk_condwait.h:45: error: expected declaration specifiers or '...' before
int64_t'
In file included from src/tsk.h:52,
                 from src/tsk.c:25:
src/tsk_thread.h:37: error: expected ')' before 'ms'
src/tsk_thread.h:39: error: expected declaration specifiers or '...' before 'i
32_t'
src/tsk_thread.h:40: error: expected ')' before 'priority'
In file included from src/tsk.h:59,
                 from src/tsk.c:25:
src/tsk_ppfcs16.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__'
fore 'tsk_pppfcs16'
In file included from src/tsk.h:60,
                 from src/tsk.c:25:
src/tsk_sha1.h:95: error: expected specifier-qualifier-list before 'uint32_t'
src/tsk_sha1.h:114: error: expected ';', ',' or ')' before '*' token
src/tsk_sha1.h:116: error: expected ')' before '*' token
In file included from src/tsk.h:61,
                 from src/tsk.c:25:
src/tsk_md5.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' befo
 'tsk_md5digest_t'
src/tsk_md5.h:79: error: expected specifier-qualifier-list before 'uint32_t'
src/tsk_md5.h:86: error: expected declaration specifiers or '...' before 'uint
t'
src/tsk_md5.h:87: error: expected ')' before 'digest'
src/tsk_md5.h:88: error: expected ')' before 'buf'
In file included from src/tsk.h:62,
                 from src/tsk.c:25:
src/tsk_hmac.h:41: error: expected ';', ',' or ')' before '*' token
src/tsk_hmac.h:42: error: expected ';', ',' or ')' before '*' token
src/tsk_hmac.h:44: error: expected ';', ',' or ')' before '*' token
src/tsk_hmac.h:45: error: expected ';', ',' or ')' before '*' token
In file included from src/tsk.h:63,
                 from src/tsk.c:25:
src/tsk_base64.h:48: error: expected ';', ',' or ')' before '*' token
src/tsk_base64.h:49: error: expected ';', ',' or ')' before '*' token
In file included from src/tsk.h:65,
                 from src/tsk.c:25:
src/tsk_ragel_state.h:36:20: warning: string.h: No such file or directory
make[1]: *** [src/tsk.o] Error 1
make[1]: Leaving directory `/cygdrive/g/TB/developpement/imsdroid/tinySAK'
cp: cannot stat `libtinySAK_armv5te.a': No such file or directory
make: *** [all] Error 1
building tinyNET with parameters=

(cd ../tinyNET; make -f droid-makefile clean)
make[1]: Entering directory `/cygdrive/g/TB/developpement/imsdroid/tinyNET'
make[1]: Leaving directory `/cygdrive/g/TB/developpement/imsdroid/tinyNET'

Original issue reported on code.google.com by sebastie...@gmail.com on 23 Jun 2011 at 2:29

GoogleCodeExporter commented 9 years ago

And the last lines :

src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:237: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:240: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:248: warning: incompatible implicit declaration of built-in function
'strlen'
src/tsip.c:249: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:249: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:249: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:249: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:252: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:267: error: 'struct <anonymous>' has no member named 'mode_server'
src/tsip.c:281: error: 'struct <anonymous>' has no member named 'enable_secagree
_ipsec'
src/tsip.c:283: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:286: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:286: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:286: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:286: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:292: error: 'struct <anonymous>' has no member named 'enable_secagree
_tls'
src/tsip.c:300: error: 'struct <anonymous>' has no member named 'amf'
src/tsip.c:301: error: 'struct <anonymous>' has no member named 'amf'
src/tsip.c:307: warning: incompatible implicit declaration of built-in function
'strlen'
src/tsip.c:315: warning: incompatible implicit declaration of built-in function
'memset'
src/tsip.c:315: error: 'struct <anonymous>' has no member named 'operator_id'
src/tsip.c:315: error: 'struct <anonymous>' has no member named 'operator_id'
src/tsip.c:319: error: 'operator_id_t' undeclared (first use in this function)
src/tsip.c:325: error: 'struct <anonymous>' has no member named 'operator_id'
src/tsip.c:337: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:338: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:339: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:340: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:345: error: 'struct <anonymous>' has no member named 'tls'
src/tsip.c:346: error: 'struct <anonymous>' has no member named 'tls'
src/tsip.c:347: error: 'struct <anonymous>' has no member named 'tls'
src/tsip.c:374: error: 'struct <anonymous>' has no member named 'port'
src/tsip.c:381: error: 'struct <anonymous>' has no member named 'login'
src/tsip.c:382: error: 'struct <anonymous>' has no member named 'pwd'
src/tsip.c: In function 'tsip_stack_create':
src/tsip.c:446: error: '__sF' undeclared (first use in this function)
src/tsip.c:470: error: 'struct <anonymous>' has no member named 'local_port'
src/tsip.c:472: error: 'struct <anonymous>' has no member named 'proxy_cscf_port
'
src/tsip.c:473: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c: In function 'tsip_stack_start':
src/tsip.c:532: error: '__sF' undeclared (first use in this function)
src/tsip.c:542: error: 'struct <anonymous>' has no member named 'mode_server'
src/tsip.c:563: error: 'struct <anonymous>' has no member named 'enable_secagree
_ipsec'
src/tsip.c:564: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:570: error: 'struct <anonymous>' has no member named 'mode_server'
src/tsip.c:571: error: 'struct <anonymous>' has no member named 'proxy_cscf'
src/tsip.c:571: error: 'struct <anonymous>' has no member named 'discovery_dhcp'

src/tsip.c:571: error: 'struct <anonymous>' has no member named 'discovery_naptr
'
src/tsip.c:572: error: 'struct <anonymous>' has no member named 'discovery_dhcp'

src/tsip.c:578: error: 'tnet_port_t' undeclared (first use in this function)
src/tsip.c:578: error: expected ';' before 'port'
src/tsip.c:580: error: 'struct <anonymous>' has no member named 'realm'
src/tsip.c:581: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:582: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:583: error: 'port' undeclared (first use in this function)
src/tsip.c:583: error: too many arguments to function 'tnet_dns_query_naptr_srv'

src/tsip.c:584: error: 'struct <anonymous>' has no member named 'proxy_cscf'
src/tsip.c:585: error: 'struct <anonymous>' has no member named 'proxy_cscf_port
'
src/tsip.c:585: error: 'struct <anonymous>' has no member named 'proxy_cscf_port
'
src/tsip.c:586: error: 'struct <anonymous>' has no member named 'proxy_cscf_port
'
src/tsip.c:598: error: 'struct <anonymous>' has no member named 'proxy_cscf'
src/tsip.c:610: error: 'struct <anonymous>' has no member named 'mode_server'
src/tsip.c:617: error: 'struct <anonymous>' has no member named 'proxy_cscf'
src/tsip.c:617: error: 'struct <anonymous>' has no member named 'proxy_cscf_port
'
src/tsip.c:617: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:617: error: too many arguments to function 'tnet_getbestsource'
src/tsip.c:622: warning: passing argument 2 of 'tsk_strupdate' makes pointer fro
m integer without a cast
src/tsip.c:639: error: 'struct <anonymous>' has no member named 'port'
src/tsip.c:641: error: 'struct <anonymous>' has no member named 'port'
src/tsip.c:643: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:644: error: 'struct <anonymous>' has no member named 'login'
src/tsip.c:644: error: 'struct <anonymous>' has no member named 'pwd'
src/tsip.c:645: error: 'struct <anonymous>' has no member named 'port'
src/tsip.c:645: error: too many arguments to function 'tnet_nat_set_server'
src/tsip.c:650: error: 'struct <anonymous>' has no member named 'local_port'
src/tsip.c:650: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c:650: error: too many arguments to function 'tsip_transport_layer_add'

src/tsip.c:665: error: too many arguments to function 'tnet_transport_get_ip_n_p
ort_2'
src/tsip.c:666: warning: passing argument 1 of 'tsk_strdup' makes pointer from i
nteger without a cast
src/tsip.c:678: error: 'struct <anonymous>' has no member named 'proxy_cscf_type
'
src/tsip.c: In function 'tsip_stack_set':
src/tsip.c:736: error: '__sF' undeclared (first use in this function)
src/tsip.c: In function 'tsip_stack_get_userdata':
src/tsip.c:751: error: '__sF' undeclared (first use in this function)
src/tsip.c: In function 'tsip_stack_get_dnsctx':
src/tsip.c:764: error: '__sF' undeclared (first use in this function)
src/tsip.c: In function 'tsip_stack_get_preferred_id':
src/tsip.c:777: error: '__sF' undeclared (first use in this function)
src/tsip.c: At top level:
src/tsip.c:784: error: expected declaration specifiers or '...' before 'tnet_por
t_t'
src/tsip.c: In function 'tsip_stack_get_local_ip_n_port':
src/tsip.c:788: error: 'port' undeclared (first use in this function)
src/tsip.c:789: error: '__sF' undeclared (first use in this function)
src/tsip.c:799: error: 'tsip_transport_t' has no member named 'protocol'
src/tsip.c:800: error: 'tsip_transport_t' has no member named 'net_transport'
src/tsip.c:800: error: 'tsip_transport_t' has no member named 'connectedFD'
src/tsip.c:800: error: too many arguments to function 'tnet_transport_get_public
_ip_n_port'
src/tsip.c: In function 'tsip_stack_stop':
src/tsip.c:881: error: 'struct <anonymous>' has no member named 'aor'
src/tsip.c:882: error: 'struct <anonymous>' has no member named 'aor'
src/tsip.c: In function 'tsip_stack_get_contacturi':
src/tsip.c:905: error: 'tsip_transport_t' has no member named 'protocol'
src/tsip.c:908: error: 'tsip_uri_t' has no member named 'user_name'
src/tsip.c:908: error: 'tsip_uri_t' has no member named 'user_name'
src/tsip.c: In function 'tsip_stack_get_pcscf_uri':
src/tsip.c:927: error: 'const struct <anonymous>' has no member named 'proxy_csc
f'
src/tsip.c:927: error: 'const struct <anonymous>' has no member named 'proxy_csc
f'
src/tsip.c:927: warning: incompatible implicit declaration of built-in function
'strlen'
src/tsip.c:927: error: 'const struct <anonymous>' has no member named 'proxy_csc
f'
src/tsip.c:931: error: 'tsip_transport_t' has no member named 'scheme'
src/tsip.c:933: error: 'const struct <anonymous>' has no member named 'proxy_csc
f'
src/tsip.c:935: error: 'const struct <anonymous>' has no member named 'proxy_csc
f_port'
src/tsip.c:937: error: 'tsip_transport_t' has no member named 'protocol'
src/tsip.c: In function 'tsip_stack_dtor':
src/tsip.c:1037: error: 'struct <anonymous>' has no member named 'realm'
src/tsip.c:1037: error: 'struct <anonymous>' has no member named 'realm'
src/tsip.c:1037: error: 'struct <anonymous>' has no member named 'realm'
src/tsip.c:1038: error: 'struct <anonymous>' has no member named 'proxy_cscf'
src/tsip.c:1041: error: 'struct <anonymous>' has no member named 'aor'
src/tsip.c:1051: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:1052: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:1053: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:1054: error: 'struct <anonymous>' has no member named 'ipsec'
src/tsip.c:1056: error: 'struct <anonymous>' has no member named 'tls'
src/tsip.c:1057: error: 'struct <anonymous>' has no member named 'tls'
src/tsip.c:1058: error: 'struct <anonymous>' has no member named 'tls'
src/tsip.c:1066: error: 'struct <anonymous>' has no member named 'login'
src/tsip.c:1067: error: 'struct <anonymous>' has no member named 'pwd'
make[1]: *** [src/tsip.o] Error 1
make[1]: Leaving directory `/cygdrive/g/TB/developpement/imsdroid/tinySIP'
cp: cannot stat `libtinySIP_armv5te.a': No such file or directory
make: *** [all] Error 1
building tinyWRAP....
(cd ../bindings/java/android; make -f droid-makefile clean)
make[1]: Entering directory `/cygdrive/g/TB/developpement/imsdroid/bindings/java
/android'
make[1]: Leaving directory `/cygdrive/g/TB/developpement/imsdroid/bindings/java/
android'
(cd ../bindings/java/android; make -f droid-makefile all; cp -f libtinyWRAP_armv
5te.so /cygdrive/g/TB/developpement/imsdroid/android-projects/output)
make[1]: Entering directory `/cygdrive/g/TB/developpement/imsdroid/bindings/java
/android'
arm-eabi-g++ -c  -Os -DDEBUG_LEVEL=DEBUG_LEVEL_ERROR  -I/cygdrive/f/eclipse/andr
oid-ndk-r4b/build/platforms//cygdrive/f/eclipse/android-ndk-r4b/build/platforms/
android-8/arch-arm/usr/include -msoft-float -fpic -mthumb-interwork -ffunction-s
ections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D_
_ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -MMD -MP -fno-short-enums -DANDROID  -march=ar
mv5te -mtune=xscale -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit
=64 -DANDROID -fno-rtti -fno-exceptions -I../../_common -I../../. -I../../../tin
ySAK/src -I../../../tinyNET/src -I../../../tinyHTTP/include -I../../../tinyXCAP/
include -I../../../tinySMS/include -I../../../tinySDP/include -I../../../tinyMED
IA/include -I../../../tinyMSRP/include -I../../../tinyDAV/include -I../../../tin
ySIP/include tinyWRAP_wrap.cxx -o tinyWRAP_wrap.o
tinyWRAP_wrap.cxx:160:17: warning: jni.h: No such file or directory
tinyWRAP_wrap.cxx:161:20: warning: stdlib.h: No such file or directory
tinyWRAP_wrap.cxx:162:20: warning: string.h: No such file or directory
tinyWRAP_wrap.cxx:409:52: warning: stdint.h: No such file or directory
In file included from ../../../tinyNET/src/stun/tnet_stun_attribute.h:35,
                 from ../../../tinyNET/src/stun/tnet_stun_message.h:34,
                 from ../../../tinyNET/src/stun/tnet_stun.h:34,
                 from ../../../tinyNET/src/tnet_nat.h:35,
                 from ../../../tinyNET/src/tinynet.h:39,
                 from ../../../tinySIP/include/tinysip.h:37,
                 from ../../_common/ActionConfig.h:25,
                 from tinyWRAP_wrap.cxx:416:
../../../tinyNET/src/tnet_types.h:41:25: warning: sys/socket.h: No such file or
directory
../../../tinyNET/src/tnet_types.h:42:25: warning: sys/select.h: No such file or
directory
../../../tinyNET/src/tnet_types.h:43:25: warning: netinet/in.h: No such file or
directory
../../../tinyNET/src/tnet_types.h:44:24: warning: arpa/inet.h: No such file or d
irectory
../../../tinyNET/src/tnet_types.h:45:20: warning: netdb.h: No such file or direc
tory
../../../tinyNET/src/tnet_types.h:46:20: warning: fcntl.h: No such file or direc
tory
../../../tinyNET/src/tnet_types.h:47:24: warning: sys/ioctl.h: No such file or d
irectory
../../../tinyNET/src/tnet_types.h:48:21: warning: unistd.h: No such file or dire
ctory
../../../tinyNET/src/tnet_types.h:49:21: warning: net/if.h: No such file or dire
ctory
../../../tinyNET/src/tnet_types.h:54:20: warning: poll.h: No such file or direct
ory
In file included from ../../../tinyNET/src/tnet_types.h:62,
                 from ../../../tinyNET/src/stun/tnet_stun_attribute.h:35,
                 from ../../../tinyNET/src/stun/tnet_stun_message.h:34,
                 from ../../../tinyNET/src/stun/tnet_stun.h:34,
                 from ../../../tinyNET/src/tnet_nat.h:35,
                 from ../../../tinyNET/src/tinynet.h:39,
                 from ../../../tinySIP/include/tinysip.h:37,
                 from ../../_common/ActionConfig.h:25,
                 from tinyWRAP_wrap.cxx:416:
../../../tinySAK/src/tsk_errno.h:38:20: warning: errno.h: No such file or direct
ory
tinyWRAP_wrap.cxx:184: error: variable or field 'SWIG_JavaThrowException' declar
ed void
tinyWRAP_wrap.cxx:184: error: 'JNIEnv' was not declared in this scope
tinyWRAP_wrap.cxx:184: error: 'jenv' was not declared in this scope
tinyWRAP_wrap.cxx:184: error: expected primary-expression before 'code'
tinyWRAP_wrap.cxx:184: error: expected primary-expression before 'const'
make[1]: *** [tinyWRAP_wrap.o] Error 1
make[1]: Leaving directory `/cygdrive/g/TB/developpement/imsdroid/bindings/java/
android'
cp: cannot stat `libtinyWRAP_armv5te.so': No such file or directory
make: *** [all] Error 1

Remarks : What's wrong ? Is there a problem of compatibility ? Windows or 
cygwin Path ? Does something miss me ? What can I do to find/solve the problem ?

I just try your last built IMSdroid_v2 version, it works very fine in local 
between my Galaxy S and my Galaxy Tab, I try it with a proxy machine (Sipx) and 
the quality is very very good. Synchronisation between audio and video is good, 
video quality is good, no late transmission, and so on.

Very good job.

Best regards

Sebastian.

Original comment by sebastie...@gmail.com on 23 Jun 2011 at 2:29

GoogleCodeExporter commented 9 years ago
You don't need to build tinyWRAP.so, it's already part of the projects.

Error1: Unable to resolve target 'android-5'

This means that you don't have this target installed with your Android SDK. 
Just select any other target: Right click on the project -> Properties -> 
Android -> Select any traget (android-5 or later)

Error2: Unable to open class file 
G:\TB\developpement\imsdroid2\imsdroid\gen\org\doubango\imsdroid\R.java: No 
such file or directory

"R.java" is the resource file where all identifiers are stored. This file is 
generated by eclipse every time you build the project and MUST not be part of 
the project. Eclipse will only generate this file after successful build. 
Please try to fix error1 and try again.

Original comment by boss...@yahoo.fr on 27 Jun 2011 at 12:30

GoogleCodeExporter commented 9 years ago
Ok, thank you very much for your informations and advices, everything is 
working very well.

I have one more question for you

I download the imsdroid with this link : 
http://imsdroid.googlecode.com/svn/trunk

Compile, sign, make a imsdroid.apk, transfer it via bluetooth to my smartphone 
et install it. 

But I discover it is the IMSDroid/v1.2.366(doubango r550) Application. Is there 
any possibiliy to download the last V2 version source code ? If yes, can you 
give me the link for the svn checkout ?

Thank you a lot for this programm, it's work like a charm 

Original comment by sebastie...@gmail.com on 29 Jun 2011 at 9:14

GoogleCodeExporter commented 9 years ago
just want to thank you for such an awesome application.

Original comment by abidkhan...@gmail.com on 1 Jul 2011 at 12:52

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 13 Jul 2011 at 11:50