yodamaster / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

compile failed on android #625

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add google-breakpad-read-only/android/google_breakpad/Android.mk into 
Android.mk
2. ndk_build

What is the expected output? What do you see instead?
google-breakpad-read-only/android/google_breakpad/../../src/client/linux/handler
/exception_handler.h:36:26: fatal error: sys/ucontext.h: No such file or 
directory

What version of the product are you using? On what operating system?
latest trunk android

Please provide any additional information below.

Original issue reported on code.google.com by baihaoping@gmail.com on 30 Dec 2014 at 3:39

GoogleCodeExporter commented 9 years ago
After I mv ucontext.h from include/ to include/sys, a new error occurred

../../../../SDK/software/google-breakpad-read-only/android/google_breakpad/../..
/src/common/android/include/sys/user.h:116

Original comment by baihaoping@gmail.com on 30 Dec 2014 at 3:48

GoogleCodeExporter commented 9 years ago
Are you using NDK r10c? Since 
https://code.google.com/p/google-breakpad/source/detail?r=1396 Breakpad now 
requires that version of the NDK or newer.

Original comment by ted.mielczarek on 30 Dec 2014 at 11:58