[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ubuntu Touch build libobjc2 error
From: |
Patryk Laurent |
Subject: |
Ubuntu Touch build libobjc2 error |
Date: |
Wed, 29 Jan 2014 22:39:19 -0800 |
Greetings Fellow GNUSteppers,
I’m attempting to build Objective C 2.0 / GNUStep on Ubuntu Touch on a Nexus 4.
(Ubuntu Touch is a chrooted Ubuntu 13.10 running over a Dalvik-less Android.)
LLVM compiles ok, even if it takes a couple of hours. (Also, it runs out of
memory with make -j3 + only 2GB of RAM, but if I remove the zero-byte binary
file from the failed make, then make again without the -j flag, it builds fine).
However, when I try to build libobjc2 using the latest SVN, about 60% of the
way through, I get some errors similar to what Ivan has gotten before on
Android builds. The errors are pasted below.
Any suggestions for getting this to work would be much appreciated!
Thank you,
Patryk
phablet@ubuntu-phablet:~/libobjc2/build$ make -j3
[ 1%] Built target objcxx
[ 45%] Built target objc
[ 47%] Built target AllocatePair
[ 48%] Built target AllocatePair_optimised
[ 50%] Built target AssociatedObject
[ 51%] Built target AssociatedObject_optimised
[ 52%] Built target BlockImpTest
[ 54%] Built target BlockImpTest_optimised
[ 55%] Built target BlockTest_arc
[ 57%] Built target BlockTest_arc_optimised
[ 58%] Building CXX object
Test/CMakeFiles/BoxedForeignException.dir/BoxedForeignException.m.o
[ 60%] [ 62%] Built target CXXExceptions
Building CXX object
Test/CMakeFiles/BoxedForeignException_optimised.dir/BoxedForeignException.m.o
Scanning dependencies of target CXXExceptions_optimised
In file included from /home/phablet/libobjc2/Test/BoxedForeignException.m:2:
In file included from /home/phablet/libobjc2/Test/../unwind.h:2:
/home/phablet/libobjc2/unwind-arm.h:17:9: error: unknown type name 'uint32_t'
typedef uint32_t _Unwind_State;
^
/home/phablet/libobjc2/unwind-arm.h:32:9: error: unknown type name 'uint32_t'
typedef uint32_t _Unwind_EHT_Header;
^
/home/phablet/libobjc2/unwind-arm.h:36:2: error: unknown type name 'uint64_t'
uint64_t exception_class;
^
/home/phablet/libobjc2/unwind-arm.h:41:3: error: unknown type name 'uint32_t'
uint32_t reserved1;
^
/home/phablet/libobjc2/unwind-arm.h:42:3: error: unknown type name 'uint32_t'
uint32_t reserved2;
^
[ 64%] /home/phablet/libobjc2/unwind-arm.h:43:3: error: unknown type name
'uint32_t'
uint32_t reserved3;
^
/home/phablet/libobjc2/unwind-arm.h:44:3: error: unknown type name 'uint32_t'
uint32_t reserved4;
^
/home/phablet/libobjc2/unwind-arm.h:45:3: error: unknown type name 'uint32_t'
uint32_t reserved5;
^
/home/phablet/libobjc2/unwind-arm.h:51:3: error: unknown type name 'uint32_t'
uint32_t sp;
^
/home/phablet/libobjc2/unwind-arm.h:52:3: error: unknown type name 'uint32_t'
uint32_t bitpattern[5];
^
/home/phablet/libobjc2/unwind-arm.h:57:3: error: unknown type name 'uint32_t'
uint32_t bitpattern[4];
^
/home/phablet/libobjc2/unwind-arm.h:63:3: error: unknown type name 'uint32_t'
uint32_t fnstart;
^
In file included from /home/phablet/libobjc2/Test/BoxedForeignException.m:2:
In file included from /home/phablet/libobjc2/Test/../unwind.h:2:
/home/phablet/libobjc2/unwind-arm.h:17:9: error: unknown type nameBuilding CXX
object Test/CMakeFiles/CXXExceptions_optimised.dir/CXXException.m.o
'uint32_t'
typedef uint32_t _Unwind_State;
^
/home/phablet/libobjc2/unwind-arm.h:67:3: error: unknown type name 'uint32_t'
uint32_t additional;
^
/home/phablet/libobjc2/unwind-arm.h:32:9: error: unknown type name 'uint32_t'
typedef uint32_t _Unwind_EHT_Header;
^
/home/phablet/libobjc2/unwind-arm.h:68:3: error: unknown type name 'uint32_t'
/home/phablet/libobjc2/unwind-arm.h:36:2: error: unknown type name 'uint64_t'
uint32_t reserved1;
^
uint64_t exception_class;
^
/home/phablet/libobjc2/unwind-arm.h:41:3: error: unknown type name 'uint32_t'
uint32_t reserved1;
^
/home/phablet/libobjc2/unwind-arm.h:42:3: error: unknown type name 'uint32_t'
uint32_t reserved2;
^
/home/phablet/libobjc2/unwind-arm.h:105:36: error: unknown type name 'uint32_t'
uint32_t regno,
^
/home/phablet/libobjc2/unwind-arm.h:110:36: error: unknown type name 'uint32_t'
uint32_t regno,
^
/home/phablet/libobjc2/unwind-arm.h:43:3: error: unknown type name 'uint32_t'
uint32_t reserved3;
^
/home/phablet/libobjc2/unwind-arm.h:44:3: error: unknown type name 'uint32_t'
uint32_t reserved4;
^
/home/phablet/libobjc2/unwind-arm.h:45:3: error: unknown type name 'uint32_t'
uint32_t reserved5;
^
/home/phablet/libobjc2/unwind-arm.h:51:3: error: unknown type name 'uint32_t'
uint32_t sp;
^
/home/phablet/libobjc2/unwind-arm.h:52:3: error: unknown type name 'uint32_t'
uint32_t bitpattern[5];
^
/home/phablet/libobjc2/unwind-arm.h:57:3: error: unknown type name 'uint32_t'
uint32_t bitpattern[4];
^
/home/phablet/libobjc2/unwind-arm.h:63:3: error: unknown type name 'uint32_t'
uint32_t fnstart;
^
/home/phablet/libobjc2/unwind-arm.h:67:3: error: unknown type name 'uint32_t'
uint32_t additional;
^
/home/phablet/libobjc2/unwind-arm.h:68:3: error: unknown type name 'uint32_t'
uint32_t reserved1;
^
/home/phablet/libobjc2/unwind-arm.h:105:36: error: unknown type name 'uint32_t'
uint32_t regno,
^
/home/phablet/libobjc2/unwind-arm.h:110:36: error: unknown type name 'uint32_t'
uint32_t regno,
^
/home/phablet/libobjc2/Test/BoxedForeignException.m:69:2: warning: implicit
declaration of function '_Unwind_Resume_or_Rethrow' is invalid
in C99 [-Wimplicit-function-declaration]
_Unwind_Resume_or_Rethrow(ex);
^
1 warning and 16 errors generated.
make[2]: ***
[Test/CMakeFiles/BoxedForeignException.dir/BoxedForeignException.m.o] Error 1
make[1]: *** [Test/CMakeFiles/BoxedForeignException.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 65%] Building CXX object
Test/CMakeFiles/CXXExceptions_optimised.dir/CXXException.cc.o
/home/phablet/libobjc2/Test/BoxedForeignException.m:69:2: warning: implicit
declaration of function '_Unwind_Resume_or_Rethrow' is invalid
in C99 [-Wimplicit-function-declaration]
_Unwind_Resume_or_Rethrow(ex);
^
1 warning and 16 errors generated.
make[2]: ***
[Test/CMakeFiles/BoxedForeignException_optimised.dir/BoxedForeignException.m.o]
Error 1
make[1]: *** [Test/CMakeFiles/BoxedForeignException_optimised.dir/all] Error 2
Linking C executable CXXExceptions_optimised
[ 65%] Built target CXXExceptions_optimised
make: *** [all] Error 2
- Ubuntu Touch build libobjc2 error,
Patryk Laurent <=