Failed to compile the android-goldfish-3.18 kernel after Enable "Loadable Kernel Module".

373 views
Skip to first unread message

xfran...@gmail.com

unread,
Jun 5, 2017, 10:26:23 AM6/5/17
to Android Linux Kernel Development
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 

xudong...@gmail.com

unread,
Jun 4, 2018, 2:16:59 PM6/4/18
to Android Linux Kernel Development
Hi, have you succeeded? I think I am facing the same problem here :(

在 2017年6月5日星期一 UTC+8下午10:26:23,xfran...@gmail.com写道:

xudong...@gmail.com

unread,
Jun 4, 2018, 9:06:22 PM6/4/18
to android...@googlegroups.com
Take a look at my website, I provided an example there. xdshao.com

--
--
unsubscribe: android-kernel+unsubscribe@googlegroups.com
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 android-kernel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages