Error while Building Android

744 views
Skip to first unread message

feras ahmed

unread,
Aug 26, 2010, 1:09:00 PM8/26/10
to Android Building
Hello..

I checked android source code and start building it using make command
but I got the following error .

doc tag do not match
target SharedLib: libc (out/target/product/generic/obj/
SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/
arch-arm/bionic/exidx_dynamic.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/
libc_intermediates/LINKED/libc.so] Error 1

Thanks

Jean-Baptiste Queru

unread,
Aug 26, 2010, 1:19:23 PM8/26/10
to android-...@googlegroups.com
If this is a one-time issue, you can try to delete the offending file
out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/arch-arm/bionic/exidx_dynamic.o
and try to build again. The issue might disappear on its own.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Feras Odeh

unread,
Aug 26, 2010, 11:51:54 PM8/26/10
to android-...@googlegroups.com
Thanks

I tried to delete this file but I got a new error

target SharedLib: libc (out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so)
out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/bionic/dlmalloc.o: file not recognized: File truncated

collect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so] Error 1
 


Jean-Baptiste Queru

unread,
Aug 27, 2010, 4:44:34 AM8/27/10
to android-...@googlegroups.com
Sounds like something is/was wrong on your machine that causes object
files to be created corrupted. It's hard to guess what that might be,
though.

JBQ

Feras Odeh

unread,
Aug 27, 2010, 6:27:51 AM8/27/10
to android-...@googlegroups.com
So what should I do?

Feras Odeh

unread,
Aug 27, 2010, 7:52:36 AM8/27/10
to android-...@googlegroups.com
I ' ve looked at the build trace and found this line
 find: `drm/java': No such file or directory

does this have something to do with this error?

Thanks

Jean-Baptiste Queru

unread,
Aug 27, 2010, 10:22:47 AM8/27/10
to android-...@googlegroups.com
That's definitely unrelated.

My best guess would be to delete the out/ directory, and try building
again, possibly without a -j option to put less stress on the system
and maybe get a better understanding of what happens when those files
get compiled.

JBQ

Feras Odeh

unread,
Aug 30, 2010, 12:21:31 AM8/30/10
to android-...@googlegroups.com
Hello Jean

Thanks for your help I got it, It was that I followed the instructions on  android site. really I start by using java 5 and ubuntu 32 then I found on the mail list that only java 6 and 64bit is the only platform supported. Isn't this confusing?

Thanks
Feras
Reply all
Reply to author
Forward
0 new messages