Linux kernel stack compiled using net-next-nuse failing in ns-3-dce

84 views
Skip to first unread message

neha thakur

unread,
Dec 31, 2019, 5:37:10 AM12/31/19
to ns-3-users
Hi,

After compiling new kernel stack in net-next-nuse to use MPTCP in ns-3-dce, getting error.

linuxdce@neha-Inspiron-N5010:~/bake/dce/source/ns-3-dce$ sudo ./waf --run "dce-iperf-mptcp" --command-template="gdb %s"
Waf: Entering directory `/data/linuxdce/bake/dce/source/ns-3-dce/build'

--------------------------------------------------------------------
 Python bindings compilation
--------------------------------------------------------------------
[ 10/374] Creating build/lib/pkgconfig/libns3-dev-netlink-debug.pc
[116/374] Creating build/lib/pkgconfig/libns3-dev-dce-debug.pc
Waf: Leaving directory `/data/linuxdce/bake/dce/source/ns-3-dce/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (0.593s)
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /data/linuxdce/bake/dce/source/ns-3-dce/build/bin/dce-iperf-mptcp...done.
(gdb) run
Starting program: /data/linuxdce/bake/dce/source/ns-3-dce/build/bin/dce-iperf-mptcp
warning: the debug information found in "/lib64/ld-2.23.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
msg="Oops. Can't find initialization function", file=../model/kernel-socket-fd-factory.cc, line=575
terminate called without an active exception

Program received signal SIGABRT, Aborted.
0x00007fffeda3e428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54    ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) info source
Current source file is ../sysdeps/unix/sysv/linux/raise.c
Compilation directory is /build/glibc-LK5gWL/glibc-2.23/signal
Source language is c.
Producer is GNU C11 5.4.0 20160609 -mtune=generic -march=x86-64 -g -O2 -O3 -std=gnu11 -fgnu89-inline -fno-stack-protector -fmerge-all-constants -frounding-math -fPIC -ftls-model=initial-exec.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.

===========================
Compilation of new kernel stack...copied to build/bin_dce


-rwxrwxr-x 1 linuxdce linuxdce 50685992 Dec 31 13:26 liblinux-4.1.0.so
lrwxrwxrwx 1 linuxdce linuxdce       17 Dec 31 13:34 liblinux.so -> liblinux-4.1.0.so

neha thakur

unread,
Jan 1, 2020, 4:42:05 AM1/1/20
to ns-3-users
Hi,

Thanks for the view, I was able to map finally the correct liblinux.so -> libsim-linux-4.1.0.so file and not liblinux-4.1.0.so which gets created in the net-next-nuse-4.4.0 directory.

This can be closed now.

regards
Reply all
Reply to author
Forward
0 new messages