Any clue on below error when building gonk/libdisplay ? nsBrowserApp.cpp /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol '__dso_handle' in /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/out/target/product/xmm6321_svb/obj//lib/crtbegin_dynamic.o is referenced by DSO /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/objdir-gecko/dist/lib/libmozglue.so /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol 'atexit' in /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/out/target/product/xmm6321_svb/obj//lib/crtbegin_dynamic.o is referenced by DSO /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/objdir-gecko/dist/lib/libmozglue.so /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/lab2/workspace/b2g-github-repo/b2g-xmm6321/objdir-gecko/b2g/app/../../widget/gonk/libdisplay/FramebufferSurface.o: in function android::BufferQueue::ConsumerListener::~ConsumerListener():/home/lab2/workspace/b2g-github-repo/b2g-xmm6321/frameworks/native/include/gui/BufferQueue.h:53: error: undefined reference to 'android::RefBase::~RefBase()'
Perhaps RefBase already there in utils/RefBase.h -----Original Message----- From: dev-b2g [mailto:[email protected]] On Behalf Of Singh, Arun Kumar Sent: Saturday, September 21, 2013 5:22 PM To: dev-b2g Subject: [b2g] building libdisplay Hi, I have cloned b2g repo based on JB from https://github.com/vvuk/B2G.git And later added libdisplay under gecko/widget/gonk to use with JB display where I took libdisplay from B2G repo based on ICS But problem here that while building gecko (./build.sh gecko), seems that libdisplay make file(Makefile.in) is not getting called and reason being libdisplay.a is not building And finally getting error nsBrowserApp.cpp arm-linux-androideabi-g++: error: arm-linux-androideabi-g++../../widget/gonk/libdisplay/libdisplay.a: No arm-linux-androideabi-g++such file or directory also diff I found that in ICS based b2g repo there are build make files like moz.build & Makefile.in but in my repo no moz.build for any b2g component only Makefile.in is present could someone answer my query, I guess should be known to those who are working since long time on b2g and know about b2g gecko makefile build system -Arun _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
