I downloaded the other SDK version, and I'm having this error:

------ config.log ------
configure:24898: /usr/bin/ccache
/home/arancha/b2g-n7/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc
-c -mandroid -fno-short-enums -fno-exceptions  -march=armv7-a -mthumb
-mfpu=neon -mfloat-abi=softfp -fno-strict-aliasing -ffunction-sections
-fdata-sections -fno-math-errno -pipe -DANDROID -isystem
/home/arancha/b2g-n7/bionic/libc/include/ -isystem
/home/arancha/b2g-n7/bionic/libc/kernel/common -isystem
/home/arancha/b2g-n7/bionic/libc/arch-arm/include -isystem
/home/arancha/b2g-n7/bionic/libc/kernel/arch-arm -isystem
/home/arancha/b2g-n7/bionic/libm/include
-I/home/arancha/b2g-n7/frameworks/base/opengl/include
-I/home/arancha/b2g-n7/frameworks/base/native/include
-I/home/arancha/b2g-n7/hardware/libhardware/include
-I/home/arancha/b2g-n7/hardware/libhardware_legacy/include
-I/home/arancha/b2g-n7/system/core/include -isystem
/home/arancha/b2g-n7/bionic -I/home/arancha/b2g-n7/frameworks/base/include
-I/home/arancha/b2g-n7/external/dbus
-I/home/arancha/b2g-n7/frameworks/base/services/sensorservice conftest.c
1>&5
configure:24892:27: fatal error: sys/int_types.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 24890 "configure"
#include "confdefs.h"

#include <sys/int_types.h>
int main() {

; return 0; }
configure:26186: checking for posix_fallocate
configure:26196: /usr/bin/ccache
/home/arancha/b2g-n7/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc
-o conftest -pedantic -Wall -Wpointer-arith -Wdeclaration-after-statement
-Werror=return-type -Wtype-limits -Wempty-body -Wno-unused
-Wno-overlength-strings -Wno-long-long -mandroid -fno-short-enums
-fno-exceptions -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=softfp
-fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno
-pipe -DANDROID -isystem /home/arancha/b2g-n7/bionic/libc/include/ -isystem
/home/arancha/b2g-n7/bionic/libc/kernel/common -isystem
/home/arancha/b2g-n7/bionic/libc/arch-arm/include -isystem
/home/arancha/b2g-n7/bionic/libc/kernel/arch-arm -isystem
/home/arancha/b2g-n7/bionic/libm/include
-I/home/arancha/b2g-n7/frameworks/base/opengl/include
-I/home/arancha/b2g-n7/frameworks/base/native/include
-I/home/arancha/b2g-n7/hardware/libhardware/include
-I/home/arancha/b2g-n7/hardware/libhardware_legacy/include
-I/home/arancha/b2g-n7/system/core/include -isystem
/home/arancha/b2g-n7/bionic -I/home/arancha/b2g-n7/frameworks/base/include
-I/home/arancha/b2g-n7/external/dbus
-I/home/arancha/b2g-n7/frameworks/base/services/sensorservice  -mandroid
-L/home/arancha/b2g-n7/out/target/product/grouper/obj/lib
-Wl,-rpath-link=/home/arancha/b2g-n7/out/target/product/grouper/obj/lib
--sysroot=/home/arancha/b2g-n7/out/target/product/grouper/obj/ -llog
-mthumb -Wl,-z,noexecstack -Wl,--icf=safe conftest.c  -lstlport  1>&5
configure: In function 'main':
configure:26192:1: warning: implicit declaration of function
'posix_fallocate' [-Wimplicit-function-declaration]
/home/arancha/b2g-n7/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:
/tmp/ccQLaQoP.o: in function main:conftest.c(.text.main+0x10): error:
undefined reference to 'posix_fallocate'
collect2: ld returned 1 exit status
configure: failed program was:
#line 26188 "configure"
#include "confdefs.h"
#define _XOPEN_SOURCE 600
  #include <fcntl.h>
int main() {
posix_fallocate(0, 0, 0);
; return 0; }
*** Fix above errors and then restart with               "make -f
client.mkbuild"
make[3]: *** [configure] Error 1
make[2]: *** [/home/arancha/b2g-n7/objdir-gecko/Makefile] Error 2
make[1]: *** [build] Error 2
make: *** [out/target/product/grouper/obj/DATA/gecko_intermediates/gecko]
Error 2

real    21m26.590s
user    137m42.952s
sys    6m23.568s

> Build failed! <

Thank you!

Cheers, A.


2013/10/17 Arancha Muelas Ruiz <[email protected]>

> I try to access but the webside doesn't work, could you please check it?
> Thanks, sorry for bother.
>
>
> Cheers, A.
>
>
> 2013/10/17 Thomas Zimmermann <[email protected]>
>
>>  On 17.10.2013 17:59, Arancha Muelas Ruiz wrote:
>>
>>  Or how can I do it, for no change other files, because ndk is inside
>> b2g-n7 ?
>>
>>
>> I don't know the details of the build scripts. I have the repo 'git://
>> codeaurora.org/platform/ndk' with branch 'android-4.3_r2.1' as source
>> for my ndk/. Switching to this version works similar to what you did for
>> Gecko and Gaia. That might already do the job.
>>
>>
>> Best regards
>> Thomas
>>
>>
>>  Thank you, A.
>>
>>
>> 2013/10/17 Arancha Muelas Ruiz <[email protected]>
>>
>>>   ok, I'm going to download this version,
>>> http://developer.android.com/sdk/index.html
>>>
>>>  First Should I remove the last one, or just it will be overwrite?
>>>
>>>  And later, I just to build or before config?
>>>
>>>  Thank you very much!
>>>  Cheers,A.
>>>
>>>
>>> 2013/10/17 Thomas Zimmermann <[email protected]>
>>>
>>>>  The error says that you're on Android version 17, Android 4.3 is
>>>> version 18. You should update your SDK and NDK.
>>>>
>>>> Best regards
>>>> Thomas
>>>>
>>>>
>>>>
>>>> On 17.10.2013 17:26, Arancha Muelas Ruiz wrote:
>>>>
>>>>   At first it was looking very well and I was very happy but finally
>>>> the error again :-(
>>>>
>>>> Also creating executable in
>>>> /home/arancha/b2g-n7/objdir-gecko/_virtualenv/bin/python
>>>> Installing
>>>> Setuptools..............................................................................................................................................................................................................................done.
>>>> Installing
>>>> Pip.....................................................................................................................................................................................................................................................................................................................................done.
>>>> running build_ext
>>>> building '_psutil_linux' extension
>>>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
>>>> -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
>>>> psutil/_psutil_linux.c -o 
>>>> build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
>>>> In file included from /usr/include/python2.7/Python.h:8:0,
>>>>                  from psutil/_psutil_linux.c:10:
>>>> /usr/include/python2.7/pyconfig.h:1139:0: warning: "_GNU_SOURCE"
>>>> redefined [enabled by default]
>>>> psutil/_psutil_linux.c:9:0: note: this is the location of the previous
>>>> definition
>>>> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
>>>> -Wl,-Bsymbolic-functions -Wl,-z,relro
>>>> build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o
>>>> build/lib.linux-x86_64-2.7/_psutil_linux.so
>>>> building '_psutil_posix' extension
>>>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
>>>> -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c
>>>> psutil/_psutil_posix.c -o 
>>>> build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
>>>> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
>>>> -Wl,-Bsymbolic-functions -Wl,-z,relro
>>>> build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o
>>>> build/lib.linux-x86_64-2.7/_psutil_posix.so
>>>> copying build/lib.linux-x86_64-2.7/_psutil_linux.so ->
>>>> copying build/lib.linux-x86_64-2.7/_psutil_posix.so ->
>>>>
>>>> checking Python environment is Mozilla virtualenv... yes
>>>> checking for perl5... no
>>>> checking for perl... /usr/bin/perl
>>>> configure: error: Unsupported platform version: 17
>>>> ------ config.log ------
>>>> This file contains any messages produced by compilers while
>>>> running configure, to aid debugging if configure makes a mistake.
>>>>
>>>> configure:1184: checking host system type
>>>> configure:1205: checking target system type
>>>> configure:1223: checking build system type
>>>> configure:1298: checking for mawk
>>>> configure:1372: checking for python2.7
>>>> configure:1482: checking Python environment is Mozilla virtualenv
>>>> configure:1685: checking for perl5
>>>> configure:1685: checking for perl
>>>> configure: error: Unsupported platform version: 17
>>>> *** Fix above errors and then restart with               "make -f
>>>> client.mk build"
>>>> make[3]: *** [configure] Error 1
>>>> make[2]: *** [/home/arancha/b2g-n7/objdir-gecko/Makefile] Error 2
>>>> make[1]: *** [build] Error 2
>>>> make: ***
>>>> [out/target/product/grouper/obj/DATA/gecko_intermediates/gecko] Error 2
>>>>
>>>> real    22m16.521s
>>>> user    138m26.231s
>>>> sys    6m23.468s
>>>>
>>>> > Build failed! <
>>>>
>>>>
>>>>  How can I do?
>>>>  And another question, it's not necessary have conect the nexus 7
>>>> during build, right?
>>>>
>>>>  Thank you,
>>>>
>>>>  Cheers, A.
>>>>
>>>>
>>>> 2013/10/17 Thomas Zimmermann <[email protected]>
>>>>
>>>>>  On 17.10.2013 16:49, Arancha Muelas Ruiz wrote:
>>>>>
>>>>>  ah! another thing while (it taking time), then I can try directly
>>>>> build.sh or is it necessary do config.sh again before?
>>>>>
>>>>>
>>>>>  You shouldn't need config.sh, but deleting 'out' and 'objdir-gecko'
>>>>> is probably necessary.
>>>>>
>>>>> Best regards
>>>>> Thomas
>>>>>
>>>>>
>>>>>
>>>>>  Best, A.
>>>>>
>>>>>
>>>>>  2013/10/17 Arancha Muelas Ruiz <[email protected]>
>>>>>
>>>>>>  No, please.
>>>>>>  It's totally ok, thank you for your help, I'm going to try it now:-)
>>>>>> .
>>>>>>
>>>>>>  Cheers,A.
>>>>>>
>>>>>>
>>>>>> 2013/10/17 Thomas Zimmermann <[email protected]>
>>>>>>
>>>>>>>  Sorry again, my explanations are not very good today. After 'git
>>>>>>> remote ...' you need to run
>>>>>>>
>>>>>>>   git fetch mozillaorg
>>>>>>>
>>>>>>> to get the repository. Afterwards you can do 'git checkout ...'.
>>>>>>>
>>>>>>> Best regards
>>>>>>> Thomas
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 17.10.2013 16:31, Arancha Muelas Ruiz wrote:
>>>>>>>
>>>>>>>  Oh sorry:
>>>>>>>
>>>>>>> >>~/b2g-n7/gecko$ git remote add mozillaorg
>>>>>>> https://git.mozilla.org/releases/gecko.git
>>>>>>> >>~/b2g-n7/gecko$ git checkout mozillaorg/master
>>>>>>> error: pathspec 'mozillaorg/master' did not match any file(s) known
>>>>>>> to git.
>>>>>>> >>:~/b2g-n7/gecko$
>>>>>>>
>>>>>>>
>>>>>>>  Cheers, A.
>>>>>>>
>>>>>>>
>>>>>>> 2013/10/17 Thomas Zimmermann <[email protected]>
>>>>>>>
>>>>>>>>  On 17.10.2013 16:16, Arancha Muelas Ruiz wrote:
>>>>>>>>
>>>>>>>>  >>~/b2g-n7/gecko$ git remote show
>>>>>>>> vlad
>>>>>>>>
>>>>>>>>
>>>>>>>>  Oh, I see. Your template port uses it's own repository for Gecko.
>>>>>>>> That's why it's out of date.
>>>>>>>>
>>>>>>>> You can change Gecko to the official repository by running
>>>>>>>>
>>>>>>>>   git remote add mozillaorg
>>>>>>>> https://git.mozilla.org/releases/gecko.git
>>>>>>>>   git checkout mozillaorg/master
>>>>>>>>
>>>>>>>> and for Gaia in the gaia directory
>>>>>>>>
>>>>>>>>   git remote add mozillaorg
>>>>>>>> https://git.mozilla.org/releases/gaia.git
>>>>>>>>   git checkout mozillaorg/master
>>>>>>>>
>>>>>>>> This should give you the latest release, which also comes with
>>>>>>>> support for Android 4.3.
>>>>>>>>
>>>>>>>>  Best regards
>>>>>>>> Thomas
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  Thank you,
>>>>>>>>
>>>>>>>>  Best, A.
>>>>>>>>
>>>>>>>>
>>>>>>>> 2013/10/17 Thomas Zimmermann <[email protected]>
>>>>>>>>
>>>>>>>>>  On 17.10.2013 16:06, Arancha Muelas Ruiz wrote:
>>>>>>>>>
>>>>>>>>>  I have a problem already here.
>>>>>>>>>
>>>>>>>>> >>:~/b2g-n7$  cd gecko
>>>>>>>>> >>~/b2g-n7/gecko$ git stash
>>>>>>>>> Saved working directory and index state WIP on (no branch):
>>>>>>>>> 22508ae More JB fixes
>>>>>>>>> HEAD is now at 22508ae More JB fixes
>>>>>>>>> arancha@arancha-CELSIUS-H910:~/b2g-n7/gecko$ git pull origin
>>>>>>>>> fatal: 'origin' does not appear to be a git repository
>>>>>>>>> fatal: The remote end hung up unexpectedly
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  Sorry, my fault. :)
>>>>>>>>>
>>>>>>>>> In gecko/, enter 'git remote show'. I'll tell you the correct name
>>>>>>>>> of the remote repository, probably 'mozillaorg' instead of 'origin'.
>>>>>>>>>
>>>>>>>>> Best regards
>>>>>>>>> Thomas
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to