Hello i am trying to build dce using these exact steps and I am getting one error
I have changed the bakeconf.xml file and updated the line to
The download completes successfully.
when i run this command ./bake.py build -vvv
ns-3-dev completes successfully however during build of dce-linux-dev
it gives me this error
In file included from ../model/linux/linux-dccp6-socket-factory.cc:20:
../model/linux/linux-dccp6-socket-factory.h:23:10: fatal error: ns3/socket-factory.h: No such file or directory
23 | #include "ns3/socket-factory.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
../model/dce-poll.cc:1:10: fatal error: ns3/log.h: No such file or directory
1 | #include "ns3/log.h"
| ^~~~~~~~~~~
compilation terminated.
../model/dce-pwd.cc:2:10: fatal error: ns3/log.h: No such file or directory
2 | #include "ns3/log.h"
| ^~~~~~~~~~~
compilation terminated.
../model/cmsg.cc:2:10: fatal error: ns3/log.h: No such file or directory
2 | #include "ns3/log.h"
| ^~~~~~~~~~~
compilation terminated.
../model/wait-queue.cc:22:10: fatal error: ns3/log.h: No such file or directory
22 | #include "ns3/log.h"
| ^~~~~~~~~~~
compilation terminated.
../model/file-usage.cc:22:10: fatal error: ns3/log.h: No such file or directory
22 | #include "ns3/log.h"
| ^~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-dl.cc:21:
../model/loader-factory.h:4:10: fatal error: ns3/object.h: No such file or directory
4 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
../model/dce-syslog.cc:4:10: fatal error: ns3/log.h: No such file or directory
4 | #include <ns3/log.h>
| ^~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-manager.cc:20:
../model/dce-manager.h:26:10: fatal error: ns3/object.h: No such file or directory
26 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/unix-fd.cc:1:
../model/unix-fd.h:7:10: fatal error: ns3/object.h: No such file or directory
7 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-pthread.cc:4:
../model/dce-manager.h:26:10: fatal error: ns3/object.h: No such file or directory
26 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/pipe-fd.h:24,
from ../model/pipe-fd.cc:21:
../model/unix-fd.h:7:10: fatal error: ns3/object.h: No such file or directory
7 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
../model/ipv4-dce-routing.cc:27:10: fatal error: ns3/log.h: No such file or directory
27 | #include "ns3/log.h"
| ^~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-credentials.cc:3:
../model/utils.h:8:10: fatal error: ns3/nstime.h: No such file or directory
8 | #include "ns3/nstime.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce.cc:1:
../model/dce-manager.h:26:10: fatal error: ns3/object.h: No such file or directory
26 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
../model/linux/linux-socket-impl.cc:21:10: fatal error: ns3/log.h: No such file or directory
21 | #include "ns3/log.h"
| ^~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-wait.cc:2:
../model/utils.h:8:10: fatal error: ns3/nstime.h: No such file or directory
8 | #include "ns3/nstime.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-stat.cc:4:
../model/utils.h:8:10: fatal error: ns3/nstime.h: No such file or directory
8 | #include "ns3/nstime.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-global-variables.cc:3:
../model/process.h:30:10: fatal error: ns3/callback.h: No such file or directory
30 | #include "ns3/callback.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-stdio.cc:7:
../model/process.h:30:10: fatal error: ns3/callback.h: No such file or directory
30 | #include "ns3/callback.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-fd.cc:2:
../model/dce-manager.h:26:10: fatal error: ns3/object.h: No such file or directory
26 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/utils.cc:1:
../model/utils.h:8:10: fatal error: ns3/nstime.h: No such file or directory
8 | #include "ns3/nstime.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-node-context.cc:21:
../model/dce-node-context.h:25:10: fatal error: ns3/object.h: No such file or directory
25 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-time.cc:2:
../model/dce-manager.h:26:10: fatal error: ns3/object.h: No such file or directory
26 | #include "ns3/object.h"
| ^~~~~~~~~~~~~~
compilation terminated.
In file included from ../model/dce-misc.cc:2:
../model/process.h:30:10: fatal error: ns3/callback.h: No such file or directory
30 | #include "ns3/callback.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
Waf: Leaving directory `/home/user/bake/source/ns-3-dce/build'
Build failed
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
-> task in './lib/ns3-dce' failed with exit status 1 (run with -v to display more information)
>> Building dce-linux-dev - Problem
> Subprocess failed with error 1: ['/usr/bin/python3', '/home/user/bake/source/ns-3-dce/waf']
> Error: Critical dependency, module "dce-linux-dev" failed
For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)
Can someone please point out if i am going wrong and how can i fix this issue
The system specs are ubuntu 20.04
I have also tried this on ubuntu 16.04
and i am getting this error during build....
>> Building dce-linux-dev -
/usr/bin/python /home/nik/dce/source/ns-3-dce/waf configure --prefix=/home/nik/dce/build --with-ns3=/home/nik/dce/build --with-elf-loader=/home/nik/dce/build/lib --with-libaspect=/home/nik/dce/build --enable-kernel-stack=/home/nik/dce/source/ns-3-dce/../net-next-nuse-4.4.0/arch dir=/home/nik/dce/source/ns-3-dce
Waf: The wscript in '/home/nik/dce/source/ns-3-dce' is unreadable
Traceback (most recent call last):
File "/home/nik/dce/source/ns-3-dce/.waf-2.0.21-c6c9a875365426e5928462b9b74d40b5/waflib/Scripting.py", line 102, in waf_entry_point
set_main_module(wscript)
File "/home/nik/dce/source/ns-3-dce/.waf-2.0.21-c6c9a875365426e5928462b9b74d40b5/waflib/Scripting.py", line 142, in set_main_module
Context.g_module=Context.load_module(file_path)
File "/home/nik/dce/source/ns-3-dce/.waf-2.0.21-c6c9a875365426e5928462b9b74d40b5/waflib/Context.py", line 362, in load_module
exec(compile(code,path,'exec'),module._dict_)
File "/home/nik/dce/source/ns-3-dce/wscript", line 5, in <module>
import ns3waf
File "/home/nik/dce/source/ns-3-dce/ns3waf/_init_.py", line 361
print(guard, file=outfile)
^
SyntaxError: invalid syntax
()
>> Building dce-linux-dev - Problem
> Subprocess failed with error 2: ['/usr/bin/python', '/home/nik/dce/source/ns-3-dce/waf', 'configure', '--prefix=/home/nik/dce/build', '--with-ns3=/home/nik/dce/build', '--with-elf-loader=/home/nik/dce/build/lib', '--with-libaspect=/home/nik/dce/build', '--enable-kernel-stack=/home/nik/dce/source/ns-3-dce/../net-next-nuse-4.4.0/arch']
> Error: Critical dependency, module "dce-linux-dev" failed
For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)
Please help me resolve this issue
any help would be appreciated