[Xperia Z5 Premium Android Development] BustyLoli-Chan:
[MENTION=2112104]auras76[/MENTION] Can I have the defconfig for the E6853 for this? It would help immensely while actually trying to compile it.

Also,

https://github.com/auras76/MM_6.0_32.1.A.1.185

Is this your latest source repo? It seems to have been worked on the most recently, but I can't actually get it to compile.

More specifically,

https://github.com/auras76/MM_6.0_32.1.A.1.185/blob/master/net/netfilter/xt_mark.c

appears to have some syntax related errors, although I don't know how much of that become irrelevant when given a proper defconfig.

UPDATE:

I found the diffconfig located ./arch/arm64/configs/diffconfig/satsuki_diffconfig

I catted it with ./arch/arm64/configs/diffconfig/common_diffconfig

and output both the result to ./satsuki_diffconfig

from there upon building I still few lines of the make process flipping out e.g. I get about a hundred of these

Using /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/msm8994-perf_defconfig as base
Merging /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig
Value of CONFIG_CFG80211_INTERNAL_REGDB is redefined by fragment /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig:
Previous value: CONFIG_CFG80211_INTERNAL_REGDB=y
New value: # CONFIG_CFG80211_INTERNAL_REGDB is not set

Value of CONFIG_CHR_DEV_SCH is redefined by fragment /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig:
Previous value: CONFIG_CHR_DEV_SCH=y
New value: # CONFIG_CHR_DEV_SCH is not set

Value of CONFIG_CHR_DEV_SG is redefined by fragment /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig:
Previous value: CONFIG_CHR_DEV_SG=y
New value: # CONFIG_CHR_DEV_SG is not set

Value of CONFIG_CNSS is redefined by fragment /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig:
Previous value: CONFIG_CNSS=y
New value: # CONFIG_CNSS is not set

Value of CONFIG_CORESIGHT is redefined by fragment /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig:
Previous value: CONFIG_CORESIGHT=y
New value: # CONFIG_CORESIGHT is not set

Value of CONFIG_DEBUG_BUGVERBOSE is redefined by fragment /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig:
Previous value: # CONFIG_DEBUG_BUGVERBOSE is not set
New value: CONFIG_DEBUG_BUGVERBOSE=y

Value of CONFIG_EXT2_FS is redefined by fragment /home/busty/MM_6.0_32.1.A.1.185/arch/arm64/configs/diffconfig/common_diffconfig:
Previous value: CONFIG_EXT2_FS=y
New value: # CONFIG_EXT2_FS is not set

and end up with the same end result

CC net/netfilter/xt_mark.o
net/netfilter/xt_mark.c: In function 'mark_tg':
net/netfilter/xt_mark.c:32:32: error: dereferencing pointer to incomplete type
skb->mark = (skb->mark & ~info->mask) ^ info->mark;
^
net/netfilter/xt_mark.c:32:46: error: dereferencing pointer to incomplete type
skb->mark = (skb->mark & ~info->mask) ^ info->mark;
^
net/netfilter/xt_mark.c: In function 'mark_mt':
net/netfilter/xt_mark.c:41:27: error: dereferencing pointer to incomplete type
return ((skb->mark & info->mask) == info->mark) ^ info->invert;
^
net/netfilter/xt_mark.c:41:42: error: dereferencing pointer to incomplete type
return ((skb->mark & info->mask) == info->mark) ^ info->invert;
^
net/netfilter/xt_mark.c:41:56: error: dereferencing pointer to incomplete type
return ((skb->mark & info->mask) == info->mark) ^ info->invert;
^
net/netfilter/xt_mark.c: At top level:
net/netfilter/xt_mark.c:49:27: error: invalid application of 'sizeof' to incomplete type 'struct xt_mark_tginfo2'
.targetsize = sizeof(struct xt_mark_tginfo2),
^
net/netfilter/xt_mark.c:58:27: error: invalid application of 'sizeof' to incomplete type 'struct xt_mark_mtinfo1'
.matchsize = sizeof(struct xt_mark_mtinfo1),
^
scripts/Makefile.build:308: recipe for target 'net/netfilter/xt_mark.o' failed
make[2]: *** [net/netfilter/xt_mark.o] Error 1
scripts/Makefile.build:455: recipe for target 'net/netfilter' failed
make[1]: *** [net/netfilter] Error 2
Makefile:822: recipe for target 'net' failed
make: *** [net] Error 2
checking for compiled kernel...
error: could not load kernel 'arch/arm64/boot/Image.gz-dtb'

please advise.