Error in DCE

475 views
Skip to first unread message

Hamid

unread,
Mar 11, 2022, 3:46:32 AM3/11/22
to ns-3-users
Hello,
I want to run mmwave module examples. I installed ns3-35 and after that I downloaded mmwave module from
https://apps.nsnam.org/app/mmwave/
After building DCE I tried to run an example about mptcp but I got this error.
fatal error : ns3/dce-module.h: No such file or directory
    31 |  #include  "ns3/dce-module.h"
I searched in dce and ns3 directory but I didn't find dce-module.h. How can I create it?
I should put DCE in ns3 directory?
Thanks,
Hamid

tarcian...@gmail.com

unread,
Mar 11, 2022, 6:15:01 AM3/11/22
to ns-3-users
Hello, Hamid,

As far as I'm aware, the ns3-mmwave only works if you download the whole ns3 from this link: https://github.com/nyuwireless-unipd/ns3-mmwave. This happens because, to make some MmWave features work, the developers have changed some classes in the other modules, like the LTE one.

Sincerely,
Tarciana

Hamid

unread,
Mar 11, 2022, 10:44:39 AM3/11/22
to ns-3-users
Thanks for reply

tarcian...@gmail.com در تاریخ جمعه ۱۱ مارس ۲۰۲۲ ساعت ۱۴:۴۵:۰۱ (UTC+3:30) نوشت:

Hamid

unread,
Mar 11, 2022, 10:53:59 AM3/11/22
to ns-3-users
My problem was not solved.
I builded DCE but  I dont have dce-module.h in my repository and I get this error:






Capture3.PNG

Hamid در تاریخ جمعه ۱۱ مارس ۲۰۲۲ ساعت ۱۹:۱۴:۳۹ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 11, 2022, 11:41:08 AM3/11/22
to ns-3-...@googlegroups.com
On 3/11/22 07:53, Hamid wrote:
> My problem was not solved.
> I builded DCE but  I dont have dce-module.h in my repository and I get
> this error:

You have to add your program to DCE, not the scratch directory of ns-3. 
It would be nice if we could support DCE directly in ns-3 like you are
trying to do, but we are not there yet (maybe this is a further build
system project that we undertake after we make a CMake-based release).

Currently, DCE is set up to use ns-3 libraries that are installed into
the bake build/ directory.  So, if you want to create a new program that
uses both ns-3 and DCE, you should locate it in the DCE 'example/'
directory, and add some support in DCE's wscript for it, similar to this
example program:


    module.add_example(needed = ['core', 'internet', 'dce'],
                       target='bin/dce-tcp-simple',
                       source=['example/dce-tcp-simple.cc'])

- Tom


Hamid

unread,
Mar 11, 2022, 12:49:58 PM3/11/22
to ns-3-users
Thanks for your reply. I made the changes you said. But I got into trouble again.  Thanks if you can guide me again Capture6.PNG

Tom Henderson در تاریخ جمعه ۱۱ مارس ۲۰۲۲ ساعت ۲۰:۱۱:۰۸ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 11, 2022, 2:49:28 PM3/11/22
to ns-3-...@googlegroups.com
On 3/11/22 09:49, Hamid wrote:
> Thanks for your reply. I made the changes you said. But I got into
> trouble again. Thanks if you can guide me again Capture6.PNG

I'm sorry but that doesn't really have enough information displayed to
debug. It is indicating that line 874 of your wscript may have an error.

- Tom
Message has been deleted
Message has been deleted

Hamid

unread,
Mar 11, 2022, 3:47:17 PM3/11/22
to ns-3-users
Should both ns3.34 and the dce be in the same directory? 
I use Ubuntu20 and DCE1.11. Can the dce run on Ubuntu20 or I have to install Ubuntu16?
Thanks,
Hamid


Tom Henderson در تاریخ جمعه ۱۱ مارس ۲۰۲۲ ساعت ۲۳:۱۹:۲۸ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 11, 2022, 4:13:12 PM3/11/22
to ns-3-...@googlegroups.com
On 3/11/22 12:47, Hamid wrote:
> Should both ns3.34 and the dce be in the same directory?
> I use Ubuntu20 and DCE1.11. Can the dce run on Ubuntu20 or I have to
> install Ubuntu16?
> Thanks,
> Hamid

DCE 1.11 only runs on Ubuntu 16.

DCE 1.12 is designed for Ubuntu 20.  DCE 1.12 has not yet been released
but I have an experimental branch posted here:

https://gitlab.com/tomhenderson/bake/-/tree/dce-1.12

It relies on a custom build of glibc.  It incorporates the code from
last year's GSoC project, reported on here:
https://ns-3-dce-linux-upgrade.github.io/

- Tom

Hamid

unread,
Mar 11, 2022, 4:56:00 PM3/11/22
to ns-3-users
Can I use dce-dev for run mptcp examples or I have to use dce 1.11?
Thanks a lot

Tom Henderson در تاریخ شنبه ۱۲ مارس ۲۰۲۲ ساعت ۰:۴۳:۱۲ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 12, 2022, 12:31:26 AM3/12/22
to ns-3-...@googlegroups.com
On 3/11/22 13:56, Hamid wrote:
> Can I use dce-dev for run mptcp examples or I have to use dce 1.11?
> Thanks a lot


You can use the dce-ns3-1.12 target that I pointed to (on my branch) to
run the same mptcp examples. dce-ns3-dev does not yet work on Ubuntu 20
(the changes in that branch are not merged yet).

- Tom

Hamid

unread,
Mar 12, 2022, 6:27:52 AM3/12/22
to ns-3-users
Thanks agian.
As you said, I downloaded DCE1.12 from
and  I used the following commands to build it:

./bake.py configure -e dce-linux-1.12

./bake.py check
./bake.py show
./bake.py download
./bake.py build
After that I put dce-example-mptcp-mmwave.cc in this directory:
back-dce-1.12/source/ns-3-dce/example
and I ran it. I couldn't get output. Did I make a mistake in any of these steps?



Tom Henderson در تاریخ شنبه ۱۲ مارس ۲۰۲۲ ساعت ۹:۰۱:۲۶ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 12, 2022, 10:32:05 AM3/12/22
to ns-3-...@googlegroups.com
On 3/12/22 03:27, Hamid wrote:
> Thanks agian.
> As you said, I downloaded DCE1.12 from
> https://gitlab.com/tomhenderson/bake/-/tree/dce-1.12
> <https://gitlab.com/tomhenderson/bake/-/tree/dce-1.12>
> and I used the following commands to build it:
>
> ./bake.py configure -e dce-linux-1.12
>
> ./bake.py check
> ./bake.py show
> ./bake.py download
> ./bake.py build
> After that I put dce-example-mptcp-mmwave.cc in this directory:
> back-dce-1.12/source/ns-3-dce/example
> and I ran it. I couldn't get output. Did I make a mistake in any of
> these steps?


In the ns-3-dce directory, run './test.py' to check the unit tests and
example program. 45 of 47 should pass (the two that do not pass are
CCNX tests which are not yet compatible with the newer Ubuntu).

If you can repeat that result, then the problem may lie with the new
program, and needs to be debugged in the usual way (print statements,
logging, gdb, etc.).

- Tom

Hamid

unread,
Mar 13, 2022, 3:39:28 AM3/13/22
to ns-3-users

Hi Tom,

 Thank you very much for answering my questions so far.

I think my errors are due to incorrect build DCE.

This site

https://www.nsnam.org/docs/dce/manual/html/getting-started.html

 lists three ways to build DCE :

1-      Building DCE basic mode

2-      Building DCE Advance mode

3-      Building DCE using waf

Which one do you suggest?

Thanks,

Hamid

 



Tom Henderson در تاریخ شنبه ۱۲ مارس ۲۰۲۲ ساعت ۱۹:۰۲:۰۵ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 13, 2022, 5:52:09 PM3/13/22
to ns-3-...@googlegroups.com, Hamid
On 3/12/22 23:39, Hamid wrote:

Hi Tom,

 Thank you very much for answering my questions so far.

I think my errors are due to incorrect build DCE.

This site

https://www.nsnam.org/docs/dce/manual/html/getting-started.html

 lists three ways to build DCE :

1-      Building DCE basic mode

2-      Building DCE Advance mode

3-      Building DCE using waf

Which one do you suggest?

Basic mode, with build target 'dce-ns3-1.12'

There will be two optional components that fail to build (ccnx and elf-loader) but DCE itself should build if prerequisites are installed.

- Tom

Hasna Haddoud

unread,
Mar 13, 2022, 5:55:18 PM3/13/22
to ns-3-users
can u help me plz how i cant implement rpl protocol in  ns3 and blockchain   or share with me links that can help 

Hamid

unread,
Mar 14, 2022, 2:23:34 PM3/14/22
to ns-3-users

I went through the steps to reach this problem And I did not receive output .


Capture44.PNG

Do I have to run the section ns3 installation, Kernel and DCE installation commands from the site below to resolve this error?

https://www.nsnam.org/docs/dce/manual/html/getting-started.html

I also ran this section, but encountered the following error

arch/sim/Makefile: No such file or directory in net-next-nuse

Thanks,

Hamid



Tom Henderson در تاریخ دوشنبه ۱۴ مارس ۲۰۲۲ ساعت ۱:۲۲:۰۹ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 14, 2022, 9:40:05 PM3/14/22
to ns-3-...@googlegroups.com, Hamid
On 3/14/22 11:23, Hamid wrote:
> I went through the steps to reach this problem And I did not receive
> output .
>
>

That is a very simple program that only leaves a minimal amount of
output in the 'files-0' directory.

Try running './test.py'; you should see 45 of 47 tests pass (only the
ccnx tests should not run).

- Tom

Hamid

unread,
Mar 15, 2022, 2:34:58 AM3/15/22
to ns-3-users
I do not know why but  I saw  7 of 9 tests passed.Capture55.PNG
Thanks,
Hamid
Tom Henderson در تاریخ سه‌شنبه ۱۵ مارس ۲۰۲۲ ساعت ۵:۱۰:۰۵ (UTC+3:30) نوشت:

Hamid

unread,
Mar 19, 2022, 2:23:26 PM3/19/22
to ns-3-users
Hi Tom,
I am building dce 1.11 in Ubuntu 16.
In ./bake.py download step I got this error:
Downloading dce-meta-1.11 (target directory:ns-3-dce) - Problem
 > Error:  Critical dependency, module "dce-meta-1.11" failed
   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)
Do you know how can I fix it?

Thanks,
Hamid

Hamid در تاریخ سه‌شنبه ۱۵ مارس ۲۰۲۲ ساعت ۱۰:۰۴:۵۸ (UTC+3:30) نوشت:

Tom Henderson

unread,
Mar 20, 2022, 8:41:51 PM3/20/22
to ns-3-...@googlegroups.com
On 3/19/22 11:23, Hamid wrote:
> Hi Tom,
> I am building dce 1.11 in Ubuntu 16.
> In ./bake.py download step I got this error:
> Downloading dce-meta-1.11 (target directory:ns-3-dce) - Problem
>  > Error:  Critical dependency, module "dce-meta-1.11" failed
>    For more information call Bake with --debug and/or -v, -vvv, for
> full verbose mode (bake --help)
> Do you know how can I fix it?

For more information about what may not be downloading, try:

./bake.py check
./bake.py show

and try to resolve whatever may be missing, and then try this command:

./bake.py download -v

which should provide more information about what is not being downloaded.

- Tom

Hamid

unread,
Mar 22, 2022, 10:42:17 AM3/22/22
to ns-3-users
Hi,
:I tried ./bake.py download -v and I got this result

./bake.py download -v

 >> Downloading bash -

  >>> No actions needed, the source directory for bash already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download bash - OK

 >> Downloading thttpd -

  >>> No actions needed, the source directory for thttpd already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download thttpd - OK

 >> Downloading wget -

  >>> No actions needed, the source directory for wget already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download wget - OK

 >> Downloading iperf -

  >>> No actions needed, the source directory for iperf already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download iperf - OK

 >> Searching for system dependency libpcap-dev -

 >> Search libpcap-dev - OK

 >> Searching for system dependency libexpat-dev -

 >> Search libexpat-dev - OK

 >> Searching for system dependency gir-bindings -

 >> Search gir-bindings - OK

 >> Searching for system dependency pygobject -

 >> Search pygobject - OK

 >> Searching for system dependency pygraphviz -

 >> Search pygraphviz - OK

 >> Searching for system dependency python3-dev -

 >> Search python3-dev - OK

 >> Searching for system dependency libc -

 >> Search libc - OK

 >> Searching for system dependency qt -

 >> Search qt - OK

 >> Searching for system dependency g++ -

 >> Search g++ - OK

 >> Searching for system dependency setuptools -

 >> Search setuptools - OK

 >> Searching for system dependency gi-cairo -

 >> Search gi-cairo - OK

 >> Searching for system dependency mercurial -

 >> Search mercurial - OK

 >> Downloading ccnx -

  >>> No actions needed, the source directory for ccnx already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download ccnx - OK

 >> Downloading netanim-3.108 -

  >>> No actions needed, the source directory for netanim-3.108 already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download netanim-3.108 - OK

 >> Downloading libaspect -

  >>> No actions needed, the source directory for libaspect already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download libaspect - OK

 >> Searching for system dependency libc-debug -

 >> Search libc-debug - OK

 >> Downloading pybindgen-0.22.0 (target directory:pybindgen) -

  >>> No actions needed, the source directory for pybindgen-0.22.0 already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download pybindgen-0.22.0 - OK

 >> Downloading elf-loader -

  >>> No actions needed, the source directory for elf-loader already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download elf-loader - OK

 >> Downloading ns-3.34 (target directory:ns-3.34) -

  >>> No actions needed, the source directory for ns-3.34 already exists.

      If you want to update the module, use update instead download, or, if you want a fresh copy,

      either remove it from the source directory, or use the --force_download option.

 >> Download ns-3.34 - OK

 >> Downloading dce-meta-1.11 (target directory:ns-3-dce) -

 git init dir=/home/hamid/bake/source/tmpdxcj927q

 git remote add origin git://github.com/direct-code-execution/ns-3-dce dir=/home/hamid/bake/source/tmpdxcj927q

 git fetch dir=/home/hamid/bake/source/tmpdxcj927q

 

 >> Download dce-meta-1.11 - Problem

Subprocess failed with error 128: ['git', 'fetch']

 > Error:  Critical dependency, module "dce-meta-1.11" failed

   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)

hamid@hamid-VirtualBox:~/bake$



. I don't know why the dce-meta-1.11 cant download Because all modules are downloaded
Thanks,
Hamid
Tom Henderson در تاریخ دوشنبه ۲۱ مارس ۲۰۲۲ ساعت ۴:۱۱:۵۱ (UTC+3:30) نوشت:

Hamid

unread,
Mar 22, 2022, 10:57:46 AM3/22/22
to ns-3-users
Also I tried dce-1.10 and dce-1.9 that just the dce-1.9 was able to download dce-meta.

Hamid در تاریخ سه‌شنبه ۲۲ مارس ۲۰۲۲ ساعت ۱۹:۱۲:۱۷ (UTC+4:30) نوشت:

Tom Henderson

unread,
Mar 22, 2022, 11:36:52 AM3/22/22
to ns-3-...@googlegroups.com, Hamid
On 3/22/22 07:57, Hamid wrote:
> Also I tried dce-1.10 and dce-1.9 that just the dce-1.9 was able to
> download dce-meta.


I was able to reproduce the problem. The problem is due to GitHub.com
recently deprecating the unauthenticated git access.

fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see
https://github.blog/2021-09-01-improving-git-protocol-security-github/
for more information.

I will adjust bakeconf.xml for this, but in the meantime, you should be
able to fix it with a one-line change to bakeconf.xml, to change
'git://' to 'https://':

diff --git a/bakeconf.xml b/bakeconf.xml
index 6d178d3..6dd93da 100644
--- a/bakeconf.xml
+++ b/bakeconf.xml
@@ -2215,7 +2215,7 @@
<!-- dce-1.11 -->
<module name="dce-meta-1.11">
<source type="git">
- <attribute name="url"
value="git://github.com/direct-code-execution/ns-3-dce"/>
+ <attribute name="url"
value="https://github.com/direct-code-execution/ns-3-dce"/>
<attribute name="module_directory" value="ns-3-dce"/>
<attribute name="revision" value="dce-1.11"/>
</source>

If you make the above change, you can perform the following steps to try
again:

$ rm bakefile.xml
$ ./bake.py configure -e dce-ns3-1.11
$ ./bake.py download -v

and it should work.

- Tom

Hamid

unread,
Mar 22, 2022, 1:59:49 PM3/22/22
to ns-3-users
Thanks a lot. It works now
Hamid

Tom Henderson در تاریخ سه‌شنبه ۲۲ مارس ۲۰۲۲ ساعت ۲۰:۰۶:۵۲ (UTC+4:30) نوشت:

Hamid

unread,
Mar 23, 2022, 9:09:11 AM3/23/22
to ns-3-users

Hi Tom,

I tried to integrate ns3-DCE and ns3-mmwave module by this steps:

1- Install ns3-DCE1.11

2- Apply patch file to kernel-socket-fd-factory.cc and kernel-socket-fd-factory.h

3- Modify wscript file in ns-3-dce folder. In configure function add ns3waf.check_modules(conf, ['mmwave'], mandatory = False) code.

4- Replace whole ns-3.34 folder to ns3-mmwave folder

5- And build again.

Although dce-example-mptcp-mmwave is in the example folder, it says there is no such thing.

 

Thanks Advance

 

-Hamid

1.JPG

Hamid در تاریخ سه‌شنبه ۲۲ مارس ۲۰۲۲ ساعت ۲۲:۲۹:۴۹ (UTC+4:30) نوشت:

Tom Henderson

unread,
Mar 23, 2022, 9:54:42 AM3/23/22
to ns-3-...@googlegroups.com, Hamid
On 3/23/22 06:09, Hamid wrote:
> Hi Tom,
>
> I tried to integrate ns3-DCE and ns3-mmwave module by this steps:
>
> 1- Install ns3-DCE1.11
>
> 2- Apply patch file to kernel-socket-fd-factory.cc and
> kernel-socket-fd-factory.h
>
> 3- Modify wscript file in ns-3-dce folder. In configure function add
> ns3waf.check_modules(conf, ['mmwave'], mandatory = False) code.
>
> 4- Replace whole ns-3.34 folder to ns3-mmwave folder
>
> 5- And build again.
>
> Although dce-example-mptcp-mmwave is in the example folder, it says
> there is no such thing.


Two possible reasons:

1) you should run it as `./waf --run dce-example-mptcp-mmwave` rather
than as `./waf --run example/dce-example-mptcp-mmwave`

2) in addition to adding mmwave module in the conf.check area of the
wscript (step 3 above), you need to add a `module.add_example` statement
below to list the example and its module dependencies.

If those do not remedy the issue, you can look at the build output at
finer granularity with the `-vvv` option; since it is so verbose, I
typically redirect the output to a file such as:

`./waf build -vvv > build.out 2>&1`

- Tom

Hamid

unread,
Mar 30, 2022, 9:56:11 AM3/30/22
to ns-3-users
Hi Tom,
should I run the mmwave example from ns-3-dce-dce-1.11/bake/source/ns-3.34? or ns-3-dce-dce-1.11/example??

Thanks.
-Hamid



Tom Henderson در تاریخ چهارشنبه ۲۳ مارس ۲۰۲۲ ساعت ۱۸:۲۴:۴۲ (UTC+4:30) نوشت:

Tom Henderson

unread,
Mar 30, 2022, 10:34:19 AM3/30/22
to ns-3-...@googlegroups.com, Hamid
On 3/30/22 06:56, Hamid wrote:
> Hi Tom,
> should I run the mmwave example from
> ns-3-dce-dce-1.11/bake/source/ns-3.34? or ns-3-dce-dce-1.11/example??
>

The latter; the Waf in ns-3.34 directory will not know about the DCE module.

Hamid

unread,
Mar 30, 2022, 11:16:19 AM3/30/22
to ns-3-users
should I use the ./waf configure command to configure DCE?
Thanks again.

16.JPG
Tom Henderson در تاریخ چهارشنبه ۳۰ مارس ۲۰۲۲ ساعت ۱۹:۰۴:۱۹ (UTC+4:30) نوشت:

Tom Henderson

unread,
Mar 30, 2022, 11:51:46 AM3/30/22
to ns-3-...@googlegroups.com, Hamid
On 3/30/22 08:16, Hamid wrote:
> should I use the ./waf configure command to configure DCE?
> Thanks again.
>

Yes, but I am not sure what causes the error you are getting. Do you
have Python 3.5 or greater installed?

$ python3 -V

on my Ubuntu 16.04 system, it is Python 3.5.2.

Also, while it will not be causing the current Waf error you are
experiencing, I noticed that Waf is picking up the default compiler
version 5.4.0, which is no longer compatible with ns-3 code. You will
need to install gcc-7 and g++-7 (or gcc-8 and g++-8) and set up your
system to use that as the default compiler, using the
update-alternatives command.

You can find some hints on the web about doing this, such as here:
https://gist.github.com/jlblancoc/99521194aba975286c80f93e47966dc5


Hamid

unread,
Mar 30, 2022, 12:15:18 PM3/30/22
to ns-3-users
My current Python version is 3.7.13. I even tried with Python 3.5.2 and Python 3.10 but my problem was not solved.

Tom Henderson در تاریخ چهارشنبه ۳۰ مارس ۲۰۲۲ ساعت ۲۰:۲۱:۴۶ (UTC+4:30) نوشت:

Tom Henderson

unread,
Mar 30, 2022, 12:21:11 PM3/30/22
to ns-3-...@googlegroups.com, Hamid
On 3/30/22 09:15, Hamid wrote:
> My current Python version is 3.7.13. I even tried with Python 3.5.2 and
> Python 3.10 but my problem was not solved.

Try to add the '-v' option to 'waf configure' and the debug output may
provide a clue. I recommend to also pass the '--disable-python'
argument in case that may be causing problems.

Does the unmodified DCE succeed with configuration? If so, it could be
an error in the wscript that you modified.



Hamid

unread,
Mar 30, 2022, 12:46:21 PM3/30/22
to ns-3-users
I had this error before making any changes to the  wscript.
I installed gcc-7.5.0 and g++-7.5.0 but there are some errors.
Have you ever run 'dce-example-mptcp-mmwave' that exists in mmwave module?

Thanks again


Tom Henderson در تاریخ چهارشنبه ۳۰ مارس ۲۰۲۲ ساعت ۲۰:۵۱:۱۱ (UTC+4:30) نوشت:

Hamid

unread,
Apr 1, 2022, 3:44:36 AM4/1/22
to ns-3-users
Dear Tom,
Is DCE1.10 compatible with Ubuntu 16.0?

Thanks,

-Hamid

Tom Henderson در تاریخ چهارشنبه ۳۰ مارس ۲۰۲۲ ساعت ۲۰:۵۱:۱۱ (UTC+4:30) نوشت:
On 3/30/22 09:15, Hamid wrote:

Tom Henderson

unread,
Apr 1, 2022, 8:59:30 AM4/1/22
to ns-3-...@googlegroups.com
On 4/1/22 00:44, Hamid wrote:
> Dear Tom,
> Is DCE1.10 compatible with Ubuntu 16.0?

It should be.  DCE 1.10 is from 2018 and would be compatible with
compilers and the ns-3 version (ns-3.28) from around that time.

In that case, I recommend first trying the compiler g++ 5.4.0 if you
choose to use DCE 1.10.

- Tom

Hamid

unread,
Apr 8, 2022, 3:54:18 AM4/8/22
to ns-3-users
Hi,
How many days I have this error while building DCE (./bake.py build) that I did not have before, can you help me to fix it?

module: bash (enabled)
  No dependencies!
module: thttpd (enabled)
  No dependencies!
module: wget (enabled)
  No dependencies!
module: iperf (enabled)
  No dependencies!
module: libpcap-dev (enabled)
  No dependencies!
module: libexpat-dev (enabled)
  No dependencies!
module: cxxfilt (enabled)
  No dependencies!
module: setuptools (enabled)
  No dependencies!
module: python3-setuptools (enabled)
  No dependencies!
module: gi-cairo (enabled)
  No dependencies!
module: gir-bindings (enabled)
  No dependencies!
module: pygobject (enabled)
  No dependencies!
module: pygoocanvas (enabled)
  No dependencies!
module: pygraphviz (enabled)
  No dependencies!
module: python3-dev (enabled)
  No dependencies!
module: python-dev (enabled)
  No dependencies!
module: llvm-dev (enabled)
  No dependencies!
module: clang-dev (enabled)
  No dependencies!
module: qt (enabled)
  No dependencies!
module: libc (enabled)
  No dependencies!
module: g++ (enabled)
  No dependencies!
module: cmake (enabled)
  No dependencies!
module: mercurial (enabled)
  No dependencies!
module: ccnx (enabled)
  depends on:
     libpcap-dev (optional:False)
     libexpat-dev (optional:False)
module: pybindgen (enabled)
  depends on:
     python3-dev (optional:True)
     python3-setuptools (optional:False)
module: pyviz-gtk3-prerequisites (enabled)
  depends on:
     python3-dev (optional:True)
     pygraphviz (optional:True)
     pygobject (optional:True)
     gi-cairo (optional:True)
     gir-bindings (optional:True)
module: pyviz-prerequisites (enabled)
  depends on:
     python-dev (optional:True)
     pygraphviz (optional:True)
     pygoocanvas (optional:True)
module: castxml-0.1+git98a626ec (enabled)
  depends on:
     clang-dev (optional:False)
     llvm-dev (optional:False)
     cmake (optional:False)
module: netanim-3.108 (enabled)
  depends on:
     qt (optional:False)
     g++ (optional:False)
module: netanim (enabled)
  depends on:
     qt (optional:False)
     g++ (optional:False)
module: libaspect (enabled)
  depends on:
     mercurial (optional:False)
module: libc-debug (enabled)
  depends on:
     libc (optional:False)
module: pybindgen-0.22.0 (enabled)
  depends on:
     python3-dev (optional:True)
     setuptools (optional:False)
module: pygccxml-1.9.1 (enabled)
  depends on:
     castxml-0.1+git98a626ec (optional:False)
     setuptools (optional:False)
     cxxfilt (optional:False)
module: ns-3-dev (enabled)
  depends on:
     netanim (optional:True)
     pybindgen (optional:True)
     pyviz-gtk3-prerequisites (optional:True)
     cmake (optional:False)
module: elf-loader (enabled)
  depends on:
     libc-debug (optional:False)
module ns: ns-3.34 (enabled)
  depends on:
     netanim-3.108 (optional:True)
     pybindgen-0.22.0 (optional:True)
     pyviz-gtk3-prerequisites (optional:True)
module: dce-meta-dev (enabled)
  depends on:
     ns-3-dev (optional:False)
     elf-loader (optional:True)
     libaspect (optional:True)
     iperf (optional:True)
     ccnx (optional:True)
     wget (optional:True)
     thttpd (optional:True)
     bash (optional:True)
module: pybindgen-ns3.27-castxml (enabled)
  depends on:
     pygccxml-1.9.1 (optional:True)
     python-dev (optional:True)
     setuptools (optional:False)
module: dce-meta-1.11 (enabled)
  depends on:
     ns-3.34 (optional:False)
     elf-loader (optional:True)
     libaspect (optional:True)
     ccnx (optional:True)
     iperf (optional:True)
     wget (optional:True)
     thttpd (optional:True)
     bash (optional:True)
module: dce-ns3-dev (enabled)
  depends on:
     dce-meta-dev (optional:False)
module ns: ns-3.28 (enabled)
  depends on:
     netanim-3.108 (optional:True)
     pybindgen-ns3.27-castxml (optional:True)
     pyviz-prerequisites (optional:True)
     mercurial (optional:False)
module: dce-ns3-1.11 (enabled)
  depends on:
     dce-meta-1.11 (optional:False)
module: dce-meta-1.10 (enabled)
  depends on:
     ns-3.28 (optional:False)
     elf-loader (optional:True)
     libaspect (optional:True)
     iperf (optional:True)
     ccnx (optional:True)
     wget (optional:True)
     thttpd (optional:True)
     bash (optional:True)
module: dce-ns3-1.10 (enabled)
  depends on:
     dce-meta-1.10 (optional:False)

-- System Dependencies --
 > clang-dev - OK
 > cmake - OK
 > cxxfilt - OK
 > g++ - OK
 > gi-cairo - OK
 > gir-bindings - OK
 > libc - OK
 > libc-debug - OK
 > libexpat-dev - OK
 > libpcap-dev - OK
 > llvm-dev - OK
 > mercurial - OK
 > pygobject - OK
 > pygoocanvas - OK
 > pygraphviz - OK
 > python-dev - OK
 > python3-dev - OK
 > python3-setuptools - OK
 > qt - OK
 > setuptools - OK
>> Building bash - OK
 >> Building thttpd - OK
 >> Building wget - OK
 >> Building iperf - OK
 >> Building ccnx - OK
 >> Building netanim-3.108 - OK
 >> Building libaspect - OK
 >> Building pybindgen-0.22.0 - OK
 >> Building elf-loader - OK
 >> Building ns-3.34 - OK

Building dce-ns3-1.11 - Problem

   > Subprocess failed with error 2: ['/usr/local/bin/python3', '/home/hamid/Desktop/ns-3-dce-dce-1.11/bake/source/ns-3-dce/waf', 'configure', '--with-ns3=/home/hamid/Desktop/ns-3-dce-dce-1.11/bake/build', '--with-elf-loader=/home/hamid/Desktop/ns-3-dce-dce-1.11/bake/build/lib', '--with-libaspect=/home/hamid/Desktop/ns-3-dce-dce-1.11/bake/build', '--prefix=/home/hamid/Desktop/ns-3-dce-dce-1.11/bake/build', '--disable-python']

 > Error:  Critical dependency, module "dce-ns3-1.11" failed

   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)

hamid@hamid-VirtualBox:~/Desktop/ns-3-dce-dce-1.11/bake$

Thanks

Tom Henderson در تاریخ جمعه ۱ آوریل ۲۰۲۲ ساعت ۱۷:۲۹:۳۰ (UTC+4:30) نوشت:

K Jiao

unread,
Apr 16, 2022, 1:08:06 AM4/16/22
to ns-3-users
hi, I'm a new to dce.
when I try to build on ubuntu16.04, I have this error, can u please help me?
thanks a lot!
V2I)44I[@F_HOG}}X%Q7@N1.png

Reply all
Reply to author
Forward
0 new messages