I have made 2 patches to fix my last reported issue, and now i have a new problem.
I am posting my patchs, my PKGBUILD and my error here:
https://code.google.com/p/ios-toolchain-based-on-clang-for-linux/issues/detail?id=6
I think that 2 patchs could be added and the other one problem fixed.
Any ideas?
Search Criteria
Package Details: ios-toolchain 1.1-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2014-02-22)
| Package Base: | ios-toolchain |
|---|---|
| Description: | A simple and clean ios toolchain based on llvm/clang under linux(cctools-836,ld64-134.9) |
| Upstream URL: | http://code.google.com/p/ios-toolchain-based-on-clang-for-linux |
| Category: | devel |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 5 |
| First Submitted: | 2012-11-26 15:37 |
| Last Updated: | 2013-03-13 08:43 |
Dependencies (0)
Required by (2)
Sources
Latest Comments
Comment by semeion
Comment by semeion
Can anyone help me a bit here please? I don´t know what is happening.
No work for me.
checking for pthread_create in -lpthread... yes
checking for uuid_generate_random in -luuid... yes
checking for MD5_Init in -lcrypto... yes
checking whether byte ordering is bigendian... no
checking for llvm-config... yes
configure: "Your system is 32bit, enable ld_classic build"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libstuff/Makefile
config.status: creating ar/Makefile
config.status: creating as/Makefile
config.status: creating as/arm/Makefile
config.status: creating as/i386/Makefile
config.status: creating as/x86_64/Makefile
config.status: creating as/ppc/Makefile
config.status: creating as/ppc64/Makefile
config.status: creating misc/Makefile
config.status: creating otool/Makefile
config.status: creating libobjc2/Makefile
config.status: creating ld/Makefile
config.status: creating ld64/Makefile
config.status: creating ld64/src/Makefile
config.status: creating ld64/src/3rd/Makefile
config.status: creating ld64/src/3rd/BlocksRuntime/Makefile
config.status: creating ld64/src/ld/Makefile
config.status: creating ld64/src/ld/parsers/Makefile
config.status: creating ld64/src/ld/passes/Makefile
config.status: creating ld64/src/other/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Configuration:
Target: arm-apple-darwin11
C Compiler: clang
CCAS Compiler: gcc
CXX Compiler: clang++
OBJC Compiler: clang
OBJCXX Compiler: clang++
Enable ld_classic: yes
make all-recursive
make[1]: Entering directory '/home/mnemonic/.aur/ios-toolchain/ios-toolchain/src/ios-toolchain-1.1'
Making all in libstuff
make[2]: Entering directory '/home/mnemonic/.aur/ios-toolchain/ios-toolchain/src/ios-toolchain-1.1/libstuff'
/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-invalid-offsetof -DLTO_SUPPORT=1 -DPROGRAM_PREFIX="\"arm-apple-darwin11-\"" -fno-stack-protector -MT libstuff_la-allocate.lo -MD -MP -MF .deps/libstuff_la-allocate.Tpo -c -o libstuff_la-allocate.lo `test -f 'allocate.c' || echo './'`allocate.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I../include -I../include/foreign -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-invalid-offsetof -DLTO_SUPPORT=1 -DPROGRAM_PREFIX=\"arm-apple-darwin11-\" -fno-stack-protector -MT libstuff_la-allocate.lo -MD -MP -MF .deps/libstuff_la-allocate.Tpo -c allocate.c -fPIC -DPIC -o .libs/libstuff_la-allocate.o
In file included from allocate.c:23:
In file included from /usr/include/stdlib.h:24:
/usr/include/features.h:328:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
In file included from allocate.c:26:
In file included from ../include/foreign/mach/mach.h:65:
In file included from ../include/foreign/mach/std_types.h:69:
In file included from ../include/foreign/mach/port.h:92:
In file included from ../include/foreign/mach/machine/vm_types.h:35:
In file included from ../include/foreign/mach/i386/vm_types.h:72:
../include/foreign/i386/_types.h:46:19: error: typedef redefinition with different types ('long' vs 'long long')
typedef long int __int64_t;
^
/usr/include/bits/types.h:46:44: note: previous definition is here
__extension__ typedef signed long long int __int64_t;
^
In file included from allocate.c:26:
In file included from ../include/foreign/mach/mach.h:65:
In file included from ../include/foreign/mach/std_types.h:69:
In file included from ../include/foreign/mach/port.h:92:
In file included from ../include/foreign/mach/machine/vm_types.h:35:
In file included from ../include/foreign/mach/i386/vm_types.h:72:
../include/foreign/i386/_types.h:47:27: error: typedef redefinition with different types ('unsigned long' vs 'unsigned long long')
typedef unsigned long int __uint64_t;
^
/usr/include/bits/types.h:47:46: note: previous definition is here
__extension__ typedef unsigned long long int __uint64_t;
^
In file included from allocate.c:29:
../include/stuff/errors.h:35:26: warning: use of __private_extern__ on a declaration may not produce external symbol private to the linkage unit and is deprecated [-Wprivate-extern]
__private_extern__ char *progname;
^
../include/stuff/errors.h:35:26: note: use __attribute__((visibility("hidden"))) attribute instead
../include/stuff/errors.h:39:29: warning: use of __private_extern__ on a declaration may not produce external symbol private to the linkage unit and is deprecated [-Wprivate-extern]
__private_extern__ uint32_t errors;
^
../include/stuff/errors.h:39:29: note: use __attribute__((visibility("hidden"))) attribute instead
3 warnings and 2 errors generated.
Makefile:461: recipe for target 'libstuff_la-allocate.lo' failed
make[2]: *** [libstuff_la-allocate.lo] Error 1
make[2]: Leaving directory '/home/mnemonic/.aur/ios-toolchain/ios-toolchain/src/ios-toolchain-1.1/libstuff'
Makefile:393: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/mnemonic/.aur/ios-toolchain/ios-toolchain/src/ios-toolchain-1.1'
Makefile:324: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Comment by MoritzAdams
can you add this patch? http://code.google.com/p/ios-toolchain-based-on-clang-for-linux/issues/detail?id=8
its not from me but it helped me.
P.S. i mean the helper.patch