Is tis problem solved?. I am trying to build on Mac 10.12 with Xcode 9.2. I
am getting
*stdarg.h: No such file or directory error. *Below is the log.
In file included from system/core/include/cutils/log.h:1In file included
from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/libs/input/Input.cpp:23,
from frameworks/native/include/input/InputDevice.h:20:
,
from
frameworks/native/libs/input/InputDevice.cpp:23system/core/include/log/log.h:35:20::
system/core/include/log/log.h:35:20: error: error: stdarg.h: No such file
or directorystdarg.h: No such file or directory
In file included from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/include/input/Keyboard.h:20,
from frameworks/native/libs/input/Keyboard.cpp:23:
system/core/include/log/log.h:35:20: error: stdarg.h: No such file or
directory
In file included from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/include/input/KeyCharacterMap.h:26,
from frameworks/base/tools/validatekeymaps/Main.cpp:17:
system/core/include/log/log.h:35:20: error: stdarg.h: No such file or
directory
Any help on this?
On Monday, September 12, 2016 at 8:04:38 PM UTC+5:30, Nelson Glauber wrote:
>
> What did you do? I'm receiving this error:
>
> host C++: validatekeymaps <= frameworks/base/tools/validatekeymaps/Main.cpp
>
> In file included from system/core/include/cutils/log.h:1,
>
> from system/core/include/utils/KeyedVector.h:24,
>
> from frameworks/native/include/input/Input.h:26,
>
> from frameworks/native/include/input/KeyCharacterMap.h:26,
>
> from frameworks/base/tools/validatekeymaps/Main.cpp:17:
>
> system/core/include/log/log.h:35:20: error: stdarg.h: No such file or
> directory
>
> make: ***
> [out/host/darwin-x86/obj32/EXECUTABLES/validatekeymaps_intermediates/Main.o]
> Error 1
>
>
> #### make failed to build some targets (01:45 (mm:ss)) ####
>
> On Wednesday, January 21, 2015 at 2:02:37 AM UTC-3, Xing Gao wrote:
>>
>> Oh I missed one file, works now...
>>
>> On Tuesday, January 20, 2015 at 9:48:30 PM UTC-5, Xing Gao wrote:
>>>
>>> Hi,
>>>
>>> My error is
>>>
>>> In file included from system/core/include/cutils/log.h:1,
>>> from system/core/include/utils/KeyedVector.h:24,
>>> from frameworks/native/include/input/Input.h:26,
>>> from frameworks/native/libs/input/Input.cpp:23:
>>> system/core/include/log/log.h:35:20: error: stdarg.h: No such file or
>>> directory
>>> make: ***
>>> [out/host/darwin-x86/obj32/STATIC_LIBRARIES/libinput_intermediates/Input.o]
>>> Error 1
>>> make: *** Waiting for unfinished jobs....
>>> Note: Some input files use unchecked or unsafe operations.
>>> Note: Recompile with -Xlint:unchecked for details.
>>>
>>> I tried everything I can searched in google except re-installing xcode
>>> 5.
>>>
>>> I modified HOST_darwin-x86_64.mk, the problem is still there.
>>>
>>> ifneq ($(filter $(mac_sdk_version),10.8 10.9 10.10),)
>>> # Mac SDK 10.8 no longer has stdarg.h, etc
>>> host_toolchain_header :=
>>> $(HOST_TOOLCHAIN_ROOT)/lib/gcc/i686-apple-darwin$(gcc_darwin_version)/4.2.1/include
>>> HOST_GLOBAL_CFLAGS += -isystem $(host_toolchain_header)
>>> endif
>>>
>>>
>>> Any suggestion?!
>>>
>>> Thanks very much.....
>>>
>>
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.