i written an user level program which can access i2c devices.

 once i compile this by using arm cross compiler and port into debian file 
system.

which is executing fine.

but in android i compile this program by using android -ndk.

but giving errr like this.

/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1508: 
undefined reference to `__aeabi_ui2d'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1510: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1510: 
undefined reference to `__aeabi_ui2d'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1510: 
undefined reference to `__aeabi_dadd'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1549: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1549: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1557: 
undefined reference to `__aeabi_ddiv'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1569: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1583: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1586: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1604: 
undefined reference to `__aeabi_ddiv'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1612: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1615: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1616: 
undefined reference to `__aeabi_dcmpeq'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1618: 
undefined reference to `__aeabi_dadd'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1618: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1619: 
undefined reference to `__aeabi_dcmpeq'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1757: 
undefined reference to `__aeabi_dadd'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1760: 
undefined reference to `__aeabi_dsub'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1762: 
undefined reference to `__aeabi_dcmpeq'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1769: 
undefined reference to `__aeabi_dcmple'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1784: 
undefined reference to `__aeabi_dcmplt'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1787: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1792: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1816: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1816: 
undefined reference to `__aeabi_dadd'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1863: 
undefined reference to `__aeabi_dcmpge'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1864: 
undefined reference to `__aeabi_dadd'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1864: 
undefined reference to `__aeabi_d2iz'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1864: 
undefined reference to `__aeabi_i2d'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1869: 
undefined reference to `__aeabi_dmul'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1869: 
undefined reference to `__aeabi_dadd'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1876: 
undefined reference to `__aeabi_d2iz'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1876: 
undefined reference to `__aeabi_i2d'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1876: 
undefined reference to `__aeabi_dsub'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1879: 
undefined reference to `__aeabi_dcmplt'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1879: 
undefined reference to `__aeabi_dcmpgt'
/usr/local/google/digit/repo/opensource/bionic/libc/stdlib/strtod.c:1882: 
undefined reference to `__aeabi_dcmplt'

Kindly help me.

i addedd library path and include path also in Makefile.


Kindly help me.

Where i am wrong.

Thanks
Punith



-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to