git clone from: https://android.googlesource.com/kernel/goldfish.git
branch: remotes/origin/android-goldfish-3.18
Original make is succeed.

After add the following config to ./arch/arm64/configs/ranchu_defconfig

CONFIG_MODULES=y

CONFIG_MODULE_UNLOAD=y

I get a compile error:

net/built-in.o: In function `qtaguid_find_sk':

/big/src/goldfish/net/netfilter/xt_qtaguid.c:1592: undefined reference to 
`xt_socket_get6_sk'

/big/src/goldfish/net/netfilter/xt_qtaguid.c:1595: undefined reference to 
`xt_socket_get4_sk'

Makefile:936: recipe for target 'vmlinux' failed

make: *** [vmlinux] Error 1


cmd used:

export ARCH=arm64

export 
CROSS_COMPILE=xxx/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-

make ranchu_defconfig

make


How to fix this?
Thank you 

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" 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.

Reply via email to