How to build dce-quagga in ns3?

155 views
Skip to first unread message

Gus

unread,
Jun 22, 2023, 10:12:03 AM6/22/23
to ns-3-users
Dear all,
I am trying to build dce-ns3-1.12 and dce-quagga-dev with ns-3.38 on ubuntu 20.04.

git clone https://gitlab.com/tomhenderson/bake.git
cd bake
git checkout -b dce-1.12 origin/dce-1.12
export PATH=$PATH:`pwd`/build/bin
export DCE_PATH=`pwd`/build/bin_dce:`pwd`/build/sbin
export LD_LIBRARY_PATH=`pwd`/build/lib
export PYTHONPATH=`pwd`/build/lib
./bake.py configure -e dce-ns3-1.12 -e dce-quagga-dev
./bake.py download
./bake.py build

But there are some errors:
I retry with ‘./bake.py build -v’,find the console output:

>> Building ccnx - Problem
   > Subprocess failed with error 2: ['make', 'MORE_LDLIBS=-pie', 'COPT+=-rdynamic']
 > Problem: Optional dependency, module "ccnx" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "ccnx" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

>> Building elf-loader - Problem
   > Subprocess failed with error 2: ['make', 'vdl-config.h']
 > Problem: Optional dependency, module "elf-loader" failed
   This may reduce the  functionality of the final build.
   However, bake will continue since "elf-loader" is not an essential dependency.
   For more information call bake with -v or -vvv, for full verbose mode.

>> Building dce-ns3-1.12 - Problem
   > Subprocess failed with error 1: ['/usr/bin/python3', '/home/lyz/bake/source/ns-3-dce/waf']
 > Error:  Critical dependency, module "dce-ns3-1.12" failed
   For more information call Bake with --debug and/or -v, -vvv, for full verbose mode (bake --help)

How can I solve these errors?
Thanks a lot!

Tom Henderson

unread,
Jun 22, 2023, 10:34:42 AM6/22/23
to ns-3-...@googlegroups.com, Gus

Try 'dce-quagga-1.12' instead of 'dce-quagga-dev'.  Note that this will build against ns-3.35; ns-3.38 is not yet supported.

Before you try to build, run `./bake.py show` to see if you have the necessary dependencies; quagga adds a few more like indent and libsfs-dev.

Do not worry about 'elf-loader' failure to build; it is a known issue of an optional component.  Lack of elf-loader will just cause the simulations to run more slowly.

- Tom
--
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 the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/53a151a3-ffa1-4cff-997e-46abbd849aben%40googlegroups.com.


Gus

unread,
Jun 22, 2023, 11:42:14 PM6/22/23
to ns-3-users
Thank you so much for your reply. 
I will try  'dce-quagga-1.12'  against ns-3.35.

Reply all
Reply to author
Forward
0 new messages