Skip to content

Instantly share code, notes, and snippets.

@jmpfbmx
Created December 26, 2019 10:32
Show Gist options
  • Save jmpfbmx/939e6efbfbeb5aad490681075a3b7695 to your computer and use it in GitHub Desktop.
Save jmpfbmx/939e6efbfbeb5aad490681075a3b7695 to your computer and use it in GitHub Desktop.
jmpfbmx@jmpfbmx-i5-9400F:~/Jose/LOS15.1$ brunch lineage_gohan-eng
including vendor/lineage/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
LINEAGE_VERSION=15.1-20191226-UNOFFICIAL-gohan
TARGET_PRODUCT=lineage_gohan
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-54-generic-x86_64-with-LinuxMint-19.2-tina
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM7.181205.001
OUT_DIR=/home/jmpfbmx/Jose/LOS15.1/out
AUX_OS_VARIANT_LIST=
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=lineage_gohan
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-54-generic-x86_64-with-LinuxMint-19.2-tina
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=OPM7.181205.001
OUT_DIR=/home/jmpfbmx/Jose/LOS15.1/out
============================================
[44/44] bootstrap /home/jmpfbmx/Jose/LOS15.1/out/soong/.minibootstrap/build.ninja.in
[4/4] /home/jmpfbmx/Jose/LOS15.1/out/soong/.bootstrap/bin/min...p /home/jmpfbmx/Jose/LOS15.1/out/soong/.bootstrap/build.ninja
[872/873] glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/Android.bp
[56/56] /home/jmpfbmx/Jose/LOS15.1/out/soong/.bootstrap/bin/soong_build /home/jmpfbmx/Jose/LOS15.1/out/soong/build.ninja
/home/jmpfbmx/Jose/LOS15.1/out/build-lineage_gohan.ninja is missing, regenerating...
[526/1072] including ./hardware/qcom/media-caf/msm8952/Android.mk ...
./hardware/qcom/media-caf/msm8952/Android.mk:4: warning: target list is : msm8952
[738/1072] including ./system/sepolicy/Android.mk ...
./system/sepolicy/Android.mk:99: warning: BOARD_SEPOLICY_VERS not specified, assuming current platform version
[1072/1072] including ./vendor/qcom/opensource/rcs-service/Android.mk ...
build/core/Makefile:34: warning: overriding commands for target `/home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/system/bin/wcnss_service'
build/core/base_rules.mk:391: warning: ignoring old commands for target `/home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/system/bin/wcnss_service'
build/core/Makefile:34: warning: overriding commands for target `/home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/system/framework/com.android.location.provider.jar'
build/core/base_rules.mk:391: warning: ignoring old commands for target `/home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/system/framework/com.android.location.provider.jar'
[ 99% 1276/1277] glob vendor/qcom/opensource/interfaces/display/config/1.0/Android.bp
[ 2% 2032/73869] target thumb C: libtar <= external/libtar/lib/handle.c
external/libtar/lib/handle.c:35:19: warning: unused parameter 'mode' [-Wunused-parameter]
int oflags, int mode, int options)
^
1 warning generated.
[ 2% 2155/73869] Building Kernel Headers
make: Entering directory '/home/jmpfbmx/Jose/LOS15.1/kernel/bq/msm8976'
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
HOSTCC scripts/basic/fixdep
WRAP arch/arm/include/generated/asm/cputime.h
WRAP arch/arm/include/generated/asm/current.h
WRAP arch/arm/include/generated/asm/bitsperlong.h
WRAP arch/arm/include/generated/asm/auxvec.h
WRAP arch/arm/include/generated/asm/emergency-restart.h
WRAP arch/arm/include/generated/asm/ioctl.h
WRAP arch/arm/include/generated/asm/errno.h
WRAP arch/arm/include/generated/asm/irq_regs.h
WRAP arch/arm/include/generated/asm/ipcbuf.h
WRAP arch/arm/include/generated/asm/local64.h
WRAP arch/arm/include/generated/asm/exec.h
WRAP arch/arm/include/generated/asm/local.h
WRAP arch/arm/include/generated/asm/mcs_spinlock.h
WRAP arch/arm/include/generated/asm/msgbuf.h
WRAP arch/arm/include/generated/asm/parport.h
WRAP arch/arm/include/generated/asm/param.h
WRAP arch/arm/include/generated/asm/poll.h
WRAP arch/arm/include/generated/asm/resource.h
WRAP arch/arm/include/generated/asm/sections.h
WRAP arch/arm/include/generated/asm/kdebug.h
WRAP arch/arm/include/generated/asm/sembuf.h
WRAP arch/arm/include/generated/asm/serial.h
WRAP arch/arm/include/generated/asm/simd.h
WRAP arch/arm/include/generated/asm/siginfo.h
WRAP arch/arm/include/generated/asm/segment.h
WRAP arch/arm/include/generated/asm/sizes.h
WRAP arch/arm/include/generated/asm/socket.h
WRAP arch/arm/include/generated/asm/sockios.h
WRAP arch/arm/include/generated/asm/shmbuf.h
WRAP arch/arm/include/generated/asm/timex.h
WRAP arch/arm/include/generated/asm/types.h
WRAP arch/arm/include/generated/asm/termbits.h
WRAP arch/arm/include/generated/asm/trace_clock.h
WRAP arch/arm/include/generated/asm/unaligned.h
WRAP arch/arm/include/generated/asm/termios.h
HOSTCC scripts/unifdef
INSTALL include/asm-generic (35 files)
INSTALL include/media (20 files)
INSTALL include/rdma (6 files)
INSTALL include/drm (18 files)
INSTALL include/linux/../../../usr/include/linux/staging/android/uapi (2 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/android (1 file)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/can (5 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/scsi/ufs (2 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/scsi (5 files)
INSTALL include/linux/hsi (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd/wcd9xxx (3 files)
INSTALL include/sound (18 files)
INSTALL include/linux/mmc (3 files)
INSTALL include/video (5 files)
INSTALL include/xen (2 files)
INSTALL include/uapi (0 file)
INSTALL include/linux/mfd (1 file)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter_bridge (18 files)
INSTALL include/linux/netfilter (78 files)
INSTALL include/linux/netfilter_ipv4 (11 files)
INSTALL include/linux/netfilter_ipv6 (12 files)
INSTALL include/linux/nfsd (5 files)
INSTALL include/linux/raid (2 files)
INSTALL include/linux/spi (1 file)
INSTALL include/linux/sunrpc (1 file)
INSTALL include/linux/tc_act (7 files)
INSTALL include/linux/tc_ematch (4 files)
INSTALL include/linux/wimax (1 file)
INSTALL include/linux (451 files)
INSTALL include/linux/usb (13 files)
INSTALL include/asm (33 files)
make: Leaving directory '/home/jmpfbmx/Jose/LOS15.1/kernel/bq/msm8976'
[ 2% 2161/73869] target thumb C: ipa_nat_test <= device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/ipa_nat_test000.c
device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/ipa_nat_test000.c:45:56: warning: unused parameter 'sep' [-Wunused-parameter]
int ipa_nat_test000(int total_entries, u32 tbl_hdl, u8 sep)
^
1 warning generated.
[ 2% 2181/73869] target thumb C: ipa_nat_test <= device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/main.c
In file included from device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/main.c:39:
device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/../../ipanat/inc/ipa_nat_drvi.h:429:32: warning: declaration of 'struct ipa_ioc_nat_pdn_entry' will not be visible outside of this function [-Wvisibility]
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry);
^
In file included from device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/main.c:40:
device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/ipa_nat_test.h:76:9: warning: 'IPADBG' macro redefined [-Wmacro-redefined]
#define IPADBG(fmt, args...) printf(" %s:%d " fmt, __FUNCTION__, __LINE__, ## args)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/../../ipanat/inc/ipa_nat_logi.h:64:9: note: previous definition is here
#define IPADBG(fmt, ...)
^
In file included from device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/main.c:40:
device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/ipa_nat_test.h:77:9: warning: 'IPAERR' macro redefined [-Wmacro-redefined]
#define IPAERR(fmt, args...) printf(" %s:%d " fmt, __FUNCTION__, __LINE__, ## args)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/test/../../ipanat/inc/ipa_nat_logi.h:56:9: note: previous definition is here
#define IPAERR(fmt, ...) printf("ERR: %s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
^
3 warnings generated.
[ 2% 2187/73869] target thumb C: libipanat <= device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drv.c
FAILED: /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/ipa_nat_drv.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4053586/bin/clang -I device/bq/gohan/include -I device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc -I device/bq/gohan/data-ipa-cfg-mgr/ipanat/src -I /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/KERNEL_OBJ/usr/include -I device/bq/gohan/data-ipa-cfg-mgr/ipanat/src -I /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates -I /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/gen/SHARED_LIBRARIES/libipanat_intermediates -I libnativehelper/include_deprecated \$(cat /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -D__ARM_FEATURE_LPAE=1 -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 -DDEBUG -Wall -Werror -DFEATURE_IPA_ANDROID -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/ipa_nat_drv.d -o /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/ipa_nat_drv.o device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drv.c"
In file included from device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drv.c:31:
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_drvi.h:429:32: error: declaration of 'struct ipa_ioc_nat_pdn_entry' will not be visible outside of this function [-Werror,-Wvisibility]
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry);
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drv.c:190:31: error: variable has incomplete type 'struct ipa_ioc_nat_pdn_entry'
struct ipa_ioc_nat_pdn_entry pdn_data;
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drv.c:190:9: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
struct ipa_ioc_nat_pdn_entry pdn_data;
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drv.c:202:18: error: use of undeclared identifier 'IPA_MAX_PDN_NUM'
if (pdn_index > IPA_MAX_PDN_NUM) {
^
3 errors generated.
[ 2% 2188/73869] target thumb C: libipanat <= device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c
FAILED: /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/ipa_nat_drvi.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4053586/bin/clang -I device/bq/gohan/include -I device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc -I device/bq/gohan/data-ipa-cfg-mgr/ipanat/src -I /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/KERNEL_OBJ/usr/include -I device/bq/gohan/data-ipa-cfg-mgr/ipanat/src -I /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates -I /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/gen/SHARED_LIBRARIES/libipanat_intermediates -I libnativehelper/include_deprecated \$(cat /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -D__ARM_FEATURE_LPAE=1 -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 -DDEBUG -Wall -Werror -DFEATURE_IPA_ANDROID -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/ipa_nat_drvi.d -o /home/jmpfbmx/Jose/LOS15.1/out/target/product/gohan/obj/SHARED_LIBRARIES/libipanat_intermediates/ipa_nat_drvi.o device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c"
In file included from device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:31:
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_drvi.h:429:32: error: declaration of 'struct ipa_ioc_nat_pdn_entry' will not be visible outside of this function [-Werror,-Wvisibility]
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry);
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:52:31: error: use of undeclared identifier 'IPA_MAX_PDN_NUM'
static ipa_nat_pdn_entry pdns[IPA_MAX_PDN_NUM];
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:179:37: error: use of undeclared identifier 'IPA_IOC_GET_HW_VERSION'
ret = ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_GET_HW_VERSION, &ipv4_nat_cache.ver);
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:305:28: error: use of undeclared identifier 'IPA_HW_v4_0'
if (ipv4_nat_cache.ver >= IPA_HW_v4_0)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: error: declaration of 'struct ipa_ioc_nat_pdn_entry' will not be visible outside of this function [-Werror,-Wvisibility]
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:5: error: conflicting types for 'ipa_nati_modify_pdn'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_drvi.h:429:5: note: previous declaration is here
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry);
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1069:11: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
if (entry->public_ip == 0)
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1070:55: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
IPADBG("PDN %d public ip will be set to 0\n", entry->pdn_index);
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_logi.h:59:89: note: expanded from macro 'IPADBG'
#define IPADBG(fmt, ...) printf("%s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
^~~~~~~~~~~
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1072:35: error: use of undeclared identifier 'IPA_IOC_NAT_MODIFY_PDN'
if (ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_NAT_MODIFY_PDN, entry)) {
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1076:9: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
entry->pdn_index, entry->public_ip, entry->src_metadata, entry->dst_metadata);
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_logi.h:56:95: note: expanded from macro 'IPAERR'
#define IPAERR(fmt, ...) printf("ERR: %s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
^~~~~~~~~~~
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1076:27: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
entry->pdn_index, entry->public_ip, entry->src_metadata, entry->dst_metadata);
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_logi.h:56:95: note: expanded from macro 'IPAERR'
#define IPAERR(fmt, ...) printf("ERR: %s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
^~~~~~~~~~~
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1076:45: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
entry->pdn_index, entry->public_ip, entry->src_metadata, entry->dst_metadata);
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_logi.h:56:95: note: expanded from macro 'IPAERR'
#define IPAERR(fmt, ...) printf("ERR: %s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
^~~~~~~~~~~
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1076:66: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
entry->pdn_index, entry->public_ip, entry->src_metadata, entry->dst_metadata);
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/../inc/ipa_nat_logi.h:56:95: note: expanded from macro 'IPAERR'
#define IPAERR(fmt, ...) printf("ERR: %s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
^~~~~~~~~~~
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1081:12: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
pdns[entry->pdn_index].public_ip = entry->public_ip;
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1081:42: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
pdns[entry->pdn_index].public_ip = entry->public_ip;
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1082:12: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
pdns[entry->pdn_index].dst_metadata = entry->dst_metadata;
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1082:45: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
pdns[entry->pdn_index].dst_metadata = entry->dst_metadata;
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1083:12: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
pdns[entry->pdn_index].src_metadata = entry->src_metadata;
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1083:45: error: incomplete definition of type 'struct ipa_ioc_nat_pdn_entry'
pdns[entry->pdn_index].src_metadata = entry->src_metadata;
~~~~~^
device/bq/gohan/data-ipa-cfg-mgr/ipanat/src/ipa_nat_drvi.c:1067:32: note: forward declaration of 'struct ipa_ioc_nat_pdn_entry'
int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 2% 2194/73869] target thumb C++: recovery <= bootable/recovery/recovery.cpp
ninja: build stopped: subcommand failed.
11:28:27 ninja failed with: exit status 1
#### failed to build some targets (47 seconds) ####
jmpfbmx@jmpfbmx-i5-9400F:~/Jose/LOS15.1$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment