host C: libdvm <= dalvik/vm/native/dalvik_system_Zygote.c | |
In file included from dalvik/vm/Dalvik.h:87:0, | |
from dalvik/vm/native/dalvik_system_Zygote.c:20: | |
dalvik/vm/oo/ObjectInlines.h: In function ‘dvmSetObjectArrayElement’: | |
dalvik/vm/oo/ObjectInlines.h:29:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
dalvik/vm/native/dalvik_system_Zygote.c: In function ‘setgroupsIntarray’: | |
dalvik/vm/native/dalvik_system_Zygote.c:171:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
dalvik/vm/native/dalvik_system_Zygote.c: In function ‘setrlimitsFromArray’: | |
dalvik/vm/native/dalvik_system_Zygote.c:191:19: error: storage size of ‘rlim’ isn’t known | |
dalvik/vm/native/dalvik_system_Zygote.c:199:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
dalvik/vm/native/dalvik_system_Zygote.c:203:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] | |
dalvik/vm/native/dalvik_system_Zygote.c:214:9: warning: implicit declaration of function ‘setrlimit’ [-Wimplicit-function-declaration] | |
dalvik/vm/native/dalvik_system_Zygote.c:191:19: warning: unused variable ‘rlim’ [-Wunused-variable] | |
make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/native/dalvik_system_Zygote.o] Error 1 |
This comment has been minimized.
This comment has been minimized.
me too, im using archlinux with gcc 4.7.x maybe we can insert another CFLAGS ? :confused |
This comment has been minimized.
This comment has been minimized.
at the top of file dalvik_system_Zygote.c include <sys/resource.h> |
This comment has been minimized.
This comment has been minimized.
thanks lucatib. it worked :) i tried building android on my fedora 18 with gcc 4.7.2 and it solved the problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
i also have this error on my archlinux. how do you fix this error??
is it related to gcc & glibc?? because archlinux gcc version is 4.7.1.
but when i compile from ubuntu 10.04, i dont have this error