It looks like you don't have the Android SDK installed properly.  Try
following the instructions here: http://mzl.la/1hmmQN1

FWIW, I just build v1.4 for my Peak on Ubuntu 13.04 64-bit with these
environment variables:

Build Config:
  CC             = /usr/bin/gcc-4.6
  CXX            = /usr/bin/g++-4.6
  BRANCH         = v1.4
  B2G_DIR        = /opt/B2G-Peak
  GECKO_PATH     = /opt/B2G-Peak/gecko
  GECKO_OBJDIR   = /opt/B2G-Peak/objdir-gecko-v1.4
  ANDROIDFS_ROOT = /opt/Backups/Peak

You can find my blog post on my .userconfig file here: http://bit.ly/1hmn5Yx

Good luck!

-dave

On 04/02/2014 09:39 AM, Jovan Gerodetti wrote:
> Hello all,
> 
> I'm trying to build b2g for my Geeksphone Peak on openSUSE 13.1 x64. I
> installed all requirements listed on https://github.com/mozilla-b2g/b2g.
> I also build and installed gcc in to /home/jovan/gcc-4.6.3-bin/ and
> exported gcc and g++ with
> 
> export CC=/home/jovan/gcc-4.6.3-bin/bin/gcc
> export CXX=/home/jovan/gcc-4.6.3-bin/bin/g++
> 
> I could successfully run config (from /home/jovan/b2g/) with
> 
> BRANCH=v1.4 ./config.sh peak
> 
> But if I trynow to build with
> 
> ./build.sh -j1
> 
> It always fails with
> 
> prebuild/linux-86/toolchain/arm-linux-andriodeabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
> out/target/product/peak/obj/SHARED_LIBRARIES/libstagefright_intermediatets/MediaExtractor.o:
> in function
> android::MediaExtractor::Create(android::sp<android::DataSource> const&,
> char
> const*):frameworks/base/media/libstagefright/MediaExtractor.cpp:119:
> error: undefined reference to
> 'android::MPEG2PSExtractor::MPEG2PSExtractor(android::sp<android::DataSource>
> const&)'
> collect2: id returned 1 exit status
> make: ***
> [out/target/product/peak/obj/SHARED_LIBRARIES/libstagefright_intermediates/LINKED/libstagefright.so]
> Error 1
> 
> can anyone tell me why it fails and what I have to do to fix it?
> 
> Regards,
> Jovan Gerodetti
> 
> 
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to