LineageOS 14.1 빌드 오류 도와주세요..
로그 첨부합니다.
컴퓨터 사양
Intel Celeron 1019Y (1GHz)
RAM 6GB, swap 2GB (총 8GB)
Ubuntu 16.10
------
[ 78% 26443/33770] target thumb C: power.smdk4x12 <= device/samsung/c1skt/power/power.c
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-2690385/bin/clang -I device/samsung/smdk4412-common/include -I device/samsung/c1skt/include -I device/samsung/c1skt/power -I /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates -I /home/penguin97/android/system/out/target/product/c1skt/gen/SHARED_LIBRARIES/power.smdk4x12_intermediates -I libnativehelper/include/nativehelper \$(cat /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril/include -isystem /home/penguin97/android/system/out/target/product/c1skt/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -DEXYNOS4_ENHANCEMENTS -DEXYNOS4X12_ENHANCEMENTS -DFORCE_SCREENSHOT_CPU_PATH -DDISABLE_ASHMEM_TRACKING -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=softfp -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -DUSE_PEGASUSQ_BOOSTING -fPIC -D_USING_LIBCXX -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/power.d -o /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/power.o device/samsung/c1skt/power/power.c ) && (cp /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/power.d /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/power.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/power.d >> /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/power.P; rm -f /home/penguin97/android/system/out/target/product/c1skt/obj/SHARED_LIBRARIES/power.smdk4x12_intermediates/power.d )"
device/samsung/c1skt/power/power.c:343:14: error: use of undeclared identifier 'POWER_HINT_LAUNCH_BOOST'; did you mean 'POWER_HINT_CPU_BOOST'?
case POWER_HINT_LAUNCH_BOOST:
^~~~~~~~~~~~~~~~~~~~~~~
POWER_HINT_CPU_BOOST
hardware/libhardware/include/hardware/power.h:71:5: note: 'POWER_HINT_CPU_BOOST' declared here
POWER_HINT_CPU_BOOST = 0x00000110,
^
device/samsung/c1skt/power/power.c:357:14: error: duplicate case value 'POWER_HINT_CPU_BOOST'
case POWER_HINT_CPU_BOOST:
^
device/samsung/c1skt/power/power.c:343:14: note: previous case defined here
case POWER_HINT_LAUNCH_BOOST:
^
2 errors generated.
[ 78% 26443/33770] target thumb C++: sensors.smdk4x12 <= device/samsung/c1skt/libsensors/sensors.cpp
device/samsung/c1skt/libsensors/sensors.cpp:111:63: warning: unused parameter 'module' [-Wunused-parameter]
static int sensors__get_sensors_list(struct sensors_module_t* module,
^
device/samsung/c1skt/libsensors/sensors.cpp:119:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
open: open_sensors
^~~~~
.open =
device/samsung/c1skt/libsensors/sensors.cpp:123:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
common: {
^~~~~~~
.common =
device/samsung/c1skt/libsensors/sensors.cpp:124:17: warning: use of GNU old-style field designator extension [-Wgnu-designator]
tag: HARDWARE_MODULE_TAG,
^~~~
.tag =
device/samsung/c1skt/libsensors/sensors.cpp:125:17: warning: use of GNU old-style field designator extension [-Wgnu-designator]
version_major: 1,
^~~~~~~~~~~~~~
.module_api_version =
hardware/libhardware/include/hardware/hardware.h:112:23: note: expanded from macro 'version_major'
#define version_major module_api_version
^
device/samsung/c1skt/libsensors/sensors.cpp:126:17: warning: use of GNU old-style field designator extension [-Wgnu-designator]
version_minor: 0,
^~~~~~~~~~~~~~
.hal_api_version =
hardware/libhardware/include/hardware/hardware.h:130:23: note: expanded from macro 'version_minor'
#define version_minor hal_api_version
^
device/samsung/c1skt/libsensors/sensors.cpp:127:17: warning: use of GNU old-style field designator extension [-Wgnu-designator]
id: SENSORS_HARDWARE_MODULE_ID,
^~~
.id =
device/samsung/c1skt/libsensors/sensors.cpp:128:17: warning: use of GNU old-style field designator extension [-Wgnu-designator]
name: "Samsung Sensor module",
^~~~~
.name =
device/samsung/c1skt/libsensors/sensors.cpp:129:17: warning: use of GNU old-style field designator extension [-Wgnu-designator]
author: "Samsung Electronic Company",
^~~~~~~
.author =
device/samsung/c1skt/libsensors/sensors.cpp:130:17: warning: use of GNU old-style field designator extension [-Wgnu-designator]
methods: &sensors_module_methods,
^~~~~~~~
.methods =
device/samsung/c1skt/libsensors/sensors.cpp:132:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
get_sensors_list: sensors__get_sensors_list,
^~~~~~~~~~~~~~~~~
.get_sensors_list =
device/samsung/c1skt/libsensors/sensors.cpp:370:71: warning: unused parameter 'id' [-Wunused-parameter]
static int open_sensors(const struct hw_module_t* module, const char* id,
^
12 warnings generated.
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/penguin97/android/system'
#### make failed to build some targets (03:14:59 (hh:mm:ss)) ####