Error in Building dce-linux-inkernel

493 views
Skip to first unread message

Basharat Ahmed

unread,
Jul 29, 2015, 10:00:54 AM7/29/15
to ns-3-...@googlegroups.com, Hajime Tazaki

Dear Sir,
I am following your manual https://plus.google.com/u/0/wm/4/+HajimeTazaki/posts/1QUmR3n3vNA to install ns-3-dce. I am making a few changes, like I am using 0.89 in place of 0.88 and 1.14.0 in place of 1.11.0 branch. I am facing the issue highlighted in red in the end. I am writing down the output of the command (make testbin -C arch/sim/test). Kindly see if there is a solution in your mind.

basharat@SmartBoy:~/mptcp$ make testbin -C arch/sim/test
make: Entering directory `/home/basharat/mptcp/arch/sim/test'
 > Bazaar - OK
 > autoreconf tool - OK
cd buildtop ; \
    ../bake/bake.py configure -e dce-linux-inkernel
cd buildtop ; \
    ../bake/bake.py show --enabledTree | grep -v  -E "pygoocanvas|graphviz|python-dev" | grep Missing && (echo "required packages are missing") || echo ""
 > libc - Missing
required packages are missing
cd buildtop ; \
    ../bake/bake.py download ; \
    ../bake/bake.py update ; \
    ../bake/bake.py build
 >> Searching for system dependency libpcap-dev - OK
 >> Searching for system dependency libexpat-dev - OK
 >> Downloading iperf - (Nothing to do, source directory already exists) - OK
 >> Searching for system dependency libdb-dev - OK
 >> Searching for system dependency bison - OK
 >> Searching for system dependency flex - OK
 >> Searching for system dependency libssl-dev - OK
 >> Downloading wget - OK
 >> Downloading thttpd - OK
 >> Downloading bash - OK
 >> Downloading gccxml-ns3 (target directory:gccxml) - OK
 >> Searching for system dependency python-dev - OK
 >> Searching for system dependency pygraphviz - OK
 >> Searching for system dependency pygoocanvas - OK
 >> Searching for system dependency setuptools - OK
 >> Searching for system dependency g++ - OK
 >> Searching for system dependency qt4 - OK
 >> Searching for system dependency libc - Problem
 > Problem: Optional dependency, module "libc" not available
   This may reduce the  functionality of the final build.
   However, bake will continue since "libc" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Downloading libaspect - OK
 >> Downloading ccnx - OK
 >> Downloading iproute-2.6.38-fix-01 - OK
 >> Downloading pygccxml - OK
 >> Searching for system dependency libc-debug - OK
 >> Downloading netanim - OK
 >> Downloading pybindgen - OK
 >> Downloading elf-loader - OK
 >> Downloading ns-3-dev-dce - OK
 >> Downloading dce-meta-dev (target directory:ns-3-dce) - OK
 >> Downloading dce-linux-inkernel (target directory:ns-3-dce) - (Nothing to do, source directory already exists) - OK
 >> Updating gccxml-ns3 (target directory:gccxml) - OK
OK
OK
OK
OK
OK
 >> Updating libaspect - OK
OK
OK
 >> Updating iperf - OK
OK
OK
OK
OK
OK
OK
 >> Updating wget - OK
 >> Updating thttpd - OK
 >> Updating bash - OK
 >> Updating pygccxml - OK
OK
 >> Updating netanim - OK
 >> Updating ccnx - OK
 >> Updating iproute-2.6.38-fix-01 - OK
 >> Updating pybindgen - OK
 >> Updating elf-loader - OK
 >> Updating ns-3-dev-dce - OK
 >> Updating dce-meta-dev (target directory:ns-3-dce) - OK
 >> Updating dce-linux-inkernel (target directory:ns-3-dce) - OK
 >> Building gccxml-ns3 - OK
 >> Building libaspect - OK
 >> Building iperf - OK
 >> Building wget - OK
 >> Building thttpd - OK
 >> Building bash - OK
 >> Building pygccxml - OK
 >> Building netanim - OK
 >> Building ccnx - OK
 >> Building iproute-2.6.38-fix-01 - OK
 >> Building pybindgen - Problem
 > Problem: Optional dependency, module "pybindgen" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "pybindgen" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Building elf-loader - OK
 >> Building ns-3-dev-dce - OK
 >> Building dce-linux-inkernel - Problem
 > Error:  Critical dependency, module "dce-linux-inkernel" failed
   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)
make: *** [testbin] Error 1
make: Leaving directory `/home/basharat/mptcp/arch/sim/test'
basharat@SmartBoy:~/mptcp$ python setup.py install
python: can't open file 'setup.py': [Errno 2] No such file or directory
basharat@SmartBoy:~/mptcp$ sudo apt-get install pygccxml
[sudo] password for basharat:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package pygccxml
basharat@SmartBoy:~/mptcp$ sudo apt-get install python-pygccxml
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  gccxml
The following NEW packages will be installed:
  gccxml python-pygccxml
0 upgraded, 2 newly installed, 0 to remove and 295 not upgraded.
Need to get 5,767 kB of archives.
After this operation, 26.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe gccxml amd64 0.9.0+git20130511-1ubuntu2 [4,358 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-pygccxml all 1.0.0-4 [1,409 kB]
Fetched 5,767 kB in 7s (796 kB/s)                                             
Selecting previously unselected package gccxml.
(Reading database ... 233595 files and directories currently installed.)
Preparing to unpack .../gccxml_0.9.0+git20130511-1ubuntu2_amd64.deb ...
Unpacking gccxml (0.9.0+git20130511-1ubuntu2) ...
Selecting previously unselected package python-pygccxml.
Preparing to unpack .../python-pygccxml_1.0.0-4_all.deb ...
Unpacking python-pygccxml (1.0.0-4) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Setting up gccxml (0.9.0+git20130511-1ubuntu2) ...
Setting up python-pygccxml (1.0.0-4) ...
Processing triggers for python-support (1.0.15) ...
basharat@SmartBoy:~/mptcp$ sudo apt-get install python-pybindgen
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package python-pybindgen
basharat@SmartBoy:~/mptcp$ make testbin -C arch/sim/test
make: Entering directory `/home/basharat/mptcp/arch/sim/test'
 > Bazaar - OK
 > autoreconf tool - OK
cd buildtop ; \
    ../bake/bake.py configure -e dce-linux-inkernel
cd buildtop ; \
    ../bake/bake.py show --enabledTree | grep -v  -E "pygoocanvas|graphviz|python-dev" | grep Missing && (echo "required packages are missing") || echo ""
 > libc - Missing
required packages are missing
cd buildtop ; \
    ../bake/bake.py download ; \
    ../bake/bake.py update ; \
    ../bake/bake.py build
 >> Searching for system dependency libpcap-dev - OK
 >> Searching for system dependency libexpat-dev - OK
 >> Downloading iperf - (Nothing to do, source directory already exists) - OK
 >> Searching for system dependency libdb-dev - OK
 >> Searching for system dependency bison - OK
 >> Searching for system dependency flex - OK
 >> Searching for system dependency libssl-dev - OK
 >> Downloading wget - (Nothing to do, source directory already exists) - OK
 >> Downloading thttpd - (Nothing to do, source directory already exists) - OK
 >> Downloading bash - (Nothing to do, source directory already exists) - OK
 >> Downloading gccxml-ns3 (target directory:gccxml) - (Nothing to do, source directory already exists) - OK
 >> Searching for system dependency python-dev - OK
 >> Searching for system dependency pygraphviz - OK
 >> Searching for system dependency pygoocanvas - OK
 >> Searching for system dependency setuptools - OK
 >> Searching for system dependency g++ - OK
 >> Searching for system dependency qt4 - OK
 >> Searching for system dependency libc - (Nothing to do, source directory already exists) - OK
 >> Downloading libaspect - (Nothing to do, source directory already exists) - OK
 >> Downloading ccnx - (Nothing to do, source directory already exists) - OK
 >> Downloading iproute-2.6.38-fix-01 - (Nothing to do, source directory already exists) - OK
 >> Downloading pygccxml - (Nothing to do, source directory already exists) - OK
 >> Searching for system dependency libc-debug - OK
 >> Downloading netanim - (Nothing to do, source directory already exists) - OK
 >> Downloading pybindgen - (Nothing to do, source directory already exists) - OK
 >> Downloading elf-loader - (Nothing to do, source directory already exists) - OK
 >> Downloading ns-3-dev-dce - (Nothing to do, source directory already exists) - OK
 >> Downloading dce-meta-dev (target directory:ns-3-dce) - (Nothing to do, source directory already exists) - OK
 >> Downloading dce-linux-inkernel (target directory:ns-3-dce) - (Nothing to do, source directory already exists) - OK
 >> Updating gccxml-ns3 (target directory:gccxml) - OK
OK
OK
OK
OK
OK
 >> Updating libaspect - OK
OK
OK
 >> Updating iperf - OK
OK
OK
OK
OK
OK
OK
 >> Updating wget - OK
 >> Updating thttpd - OK
 >> Updating bash - OK
 >> Updating pygccxml - OK
OK
 >> Updating netanim - OK
 >> Updating ccnx - OK
 >> Updating iproute-2.6.38-fix-01 - OK
 >> Updating pybindgen - OK
 >> Updating elf-loader - OK
 >> Updating ns-3-dev-dce - OK
 >> Updating dce-meta-dev (target directory:ns-3-dce) - OK
 >> Updating dce-linux-inkernel (target directory:ns-3-dce) - OK
 >> Building gccxml-ns3 - OK
 >> Building libaspect - OK
 >> Building iperf - OK
 >> Building wget - OK
 >> Building thttpd - OK
 >> Building bash - OK
 >> Building pygccxml - OK
 >> Building netanim - OK
 >> Building ccnx - OK
 >> Building iproute-2.6.38-fix-01 - OK
 >> Building pybindgen - Problem
 > Problem: Optional dependency, module "pybindgen" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "pybindgen" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

 >> Building elf-loader - OK
 >> Building ns-3-dev-dce - OK
 >> Building dce-linux-inkernel - Problem
 > Error:  Critical dependency, module "dce-linux-inkernel" failed
   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)
make: *** [testbin] Error 1
make: Leaving directory `/home/basharat/mptcp/arch/sim/test'


--
"Children are remarkably honest creatures until we teach them not to be"

Regards,
Basharat Ahmad

李程鹏

unread,
Jan 27, 2016, 3:25:51 AM1/27/16
to ns-3-users, taz...@wide.ad.jp
Hey man!

Have you fix this issue? I meet this issue same as you and I don't know how to fix it.
Could you please help me to fix this issue?

在 2015年7月29日星期三 UTC+8下午10:00:54,Ahmad写道:

Basharat Ahmad

unread,
Jan 27, 2016, 3:40:55 AM1/27/16
to ns-3-...@googlegroups.com, Hajime Tazaki
Hi Lichen,
I resolved this issue by installing the missing packages. If you see the output of the command "make testbin -C arch/sim/test", you will find "required packages are missing" somewhere in the output text (in my case that was libc and some others). Kindly install these missing packages and then run the make command, I hope you will resolve it.

Regards,
Ahmad

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/do0wdp2G21k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

李程鹏

unread,
Jan 27, 2016, 4:52:58 AM1/27/16
to ns-3-users, taz...@wide.ad.jp
Thanks bro! Already success now, that's cool!


在 2015年7月29日星期三 UTC+8下午10:00:54,Ahmad写道:

李程鹏

unread,
Jan 27, 2016, 4:58:02 AM1/27/16
to ns-3-users, taz...@wide.ad.jp
Sorry, It still build fail, and i don't see any missing lib in log:

 > autoreconf tool - OK
cd buildtop ; \
../bake/bake.py configure -e dce-linux-inkernel 
cd buildtop ; \
../bake/bake.py show --enabledTree | grep -v  -E "pygoocanvas|graphviz|python-dev" | grep Missing && (echo "required packages are missing") || echo ""

cd buildtop ; \
../bake/bake.py download ; \
../bake/bake.py update ; \
../bake/bake.py build 

this log is not same as yours...


在 2016年1月27日星期三 UTC+8下午4:40:55,Ahmad写道:

Basharat Ahmad

unread,
Jan 27, 2016, 5:01:23 AM1/27/16
to ns-3-...@googlegroups.com, Hajime Tazaki
Try #sudo apt-get update and then try the make command.

李程鹏

unread,
Jan 28, 2016, 5:00:30 AM1/28/16
to ns-3-users, taz...@wide.ad.jp
It's not working, still has error. I will try to use MPTCP version 0.9 + DCE 3.16 run make

在 2016年1月27日星期三 UTC+8下午6:01:23,Ahmad写道:
Reply all
Reply to author
Forward
0 new messages