How to run make defconfig ARCH=sim and make library ARC=sim

253 views
Skip to first unread message

Faris Syariati

unread,
Sep 17, 2015, 7:23:47 AM9/17/15
to ns-3-users
Dear All.

I am trying to use mptcp 0.89 and find a difficulties on some part.
So far, I have try to buid using mptcp 0.88 using tutorial attached by Mr. Ming Li. but it is not working on 0.89

farissyariati@ubuntu:~/mptcp-0.89/mptcp$ make defconfig ARCH=sim
make[1]: Nothing to be done for `/home/farissyariati/mptcp-0.89/mptcp/.config'.
scripts/kconfig/conf --defconfig arch/sim/Kconfig
make[1]: *** [defconfig] Segmentation fault (core dumped)
make: *** [defconfig] Error 2

In that case, I run make menuconfig

Another, I would like to build liblinux.so by running

root@ubuntu:/home/farissyariati/mptcp-0.89/mptcp# make library ARCH=sim
make[2]: Nothing to be done for `/home/farissyariati/mptcp-0.89/mptcp/.config'.
scripts/kconfig/conf --silentoldconfig arch/sim/Kconfig
make[2]: *** [silentoldconfig] Segmentation fault (core dumped)
make[1]: *** [silentoldconfig] Error 2
  CC   arch/sim/fs.o
In file included from /home/farissyariati/mptcp-0.89/mptcp/include/linux/spinlock.h:50:0,
                 from /home/farissyariati/mptcp-0.89/mptcp/include/linux/wait.h:8,
                 from /home/farissyariati/mptcp-0.89/mptcp/include/linux/fs.h:6,
                 from arch/sim/fs.c:1:
/home/farissyariati/mptcp-0.89/mptcp/include/linux/preempt.h:20:25: fatal error: asm/preempt.h: No such file or directory
compilation terminated.
make: *** [arch/sim/fs.o] Error 1

Do you have any hint how to fix this.
Any feedback will be very pleased.

Thank You.
installation step by step.txt

Faris Syariati

unread,
Sep 17, 2015, 8:24:37 AM9/17/15
to ns-3-users
The problem was fixed.
I run the tutorial from this site.


Thank You.
Reply all
Reply to author
Forward
0 new messages