Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem with compilation

494 views
Skip to first unread message

Pawel Junak

unread,
Mar 8, 2012, 8:13:08 AM3/8/12
to mozilla...@lists.mozilla.org
Hi

I'm newbie but i wanted to compile and check out B2G because i think it's great idea.
But i have little problem, i compile for Emulator and these are my errors:
(links to whole out:
http://dl.dropbox.com/u/57736525/gonk.out.txt
http://dl.dropbox.com/u/57736525/make.out.txt
)


with make gonk:

In file included from include/libbb.h:31,
from include/busybox.h:8,
from libbb/appletlib.c:29:
../../bionic/libc/include/stdlib.h:83: warning: declaration of 'abs' shadows a built-in function
../../bionic/libc/include/stdlib.h:87: warning: declaration of 'labs' shadows a built-in function
../../bionic/libc/include/stdlib.h:91: warning: declaration of 'llabs' shadows a built-in function
AR libbb/lib.a
LINK busybox_unstripped
Trying libraries: c dl gcc m
Library c is needed, can't exclude it (yet)
Library dl is not needed, excluding it
Library gcc is needed, can't exclude it (yet)
Library m is needed, can't exclude it (yet)
Library c is needed, can't exclude it (yet)
Library gcc is needed, can't exclude it (yet)
Library m is needed, can't exclude it (yet)
Final link with: c gcc m
BFD: busybox: warning: sh_link not set for section `.ARM.exidx'
make[2]: Leaving directory `/android/B2G/glue/gonk/external/busybox'
make[1]: Leaving directory `/android/B2G/glue/gonk'


and then in make:

checking size of int *... 4
checking for ccache... no
configure: error: ccache not found
*** Fix above errors and then restart with "make -f client.mk build"
make[3]: *** [configure] Error 1
make[2]: *** [/android/B2G/gecko/objdir-prof-gonk/Makefile] Error 2
make[1]: *** [build] Error 2
make: *** [gecko] Error 2

Justin Lebar

unread,
Mar 8, 2012, 12:24:01 PM3/8/12
to Pawel Junak, mozilla...@lists.mozilla.org
> configure: error: ccache not found

Have you tried installing ccache?
> _______________________________________________
> dev-b2g mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-b2g

Pawel Junak

unread,
Mar 8, 2012, 12:54:29 PM3/8/12
to mozilla...@googlegroups.com, Pawel Junak, mozilla...@lists.mozilla.org
On Thursday, March 8, 2012 6:24:01 PM UTC+1, Justin Lebar wrote:
> > configure: error: ccache not found
>
> Have you tried installing ccache?
>

i think i tried something, but i don't know exactly if it was with ccache (i'm stuck for few days, and don't remember everything i did). i thought that 'make gonk' went bad so 'make' alone won't work.
i'll try tomorrow again.
Message has been deleted

Pawel Junak

unread,
Mar 9, 2012, 5:25:08 AM3/9/12
to mozilla...@googlegroups.com, Pawel Junak, mozilla...@lists.mozilla.org
On Thursday, March 8, 2012 6:24:01 PM UTC+1, Justin Lebar wrote:
> > configure: error: ccache not found
>
> Have you tried installing ccache?
>

it worked, my stupid mistake. I concentrated on busybox warning and left 'make' error for later.

thanks.
Message has been deleted
0 new messages