DCE fatal error: no such file

37 views
Skip to first unread message

Samet Tonyalı

unread,
May 18, 2023, 3:41:26 AM5/18/23
to ns-3-users
Dear all,

I am trying to run dce-linux-1.11 with ns-3.38. I get some fatal errors while building the dce part. It says it cannot find log.h and object.h files. However, when I check it in bake/build/include/ns3 directory I see them both in there. Is there any idea about why I keep getting these errors? Where does it look at exactly so it cannot find them.

You can find my configuration and output files attached.

Thanks in advance.

Regards,
Samet
bakeconf.xml
build.out

Harsh Patel

unread,
May 18, 2023, 5:15:01 AM5/18/23
to ns-3-...@googlegroups.com
Hi Samet,

I was trying to get a similar setup working and I faced the same problem. 
I do not have a fix for your problem but I have a way forward (which I tried; but I would suggest someone else to still answer this).

Firstly, have a look at this chat and ensure that the library names and .pc file names are as desired. You might also be able to ignore this step as I am not sure if it is completely necessary.
After that, we can check that the files you see are in the right place, but the DCE build is not looking for them there. You can modify the DCE build system to find them and you will be able to have DCE look up the files. (You can also check DCE logs {run ./waf -v in ns-3-dce directory} and see where it is looking for the header files and move them there)
After doing that, DCE finds the header files but is unable to build due to code incompatibility between the DCE source code and ns-3.38 code.

This is where I am stuck. You can try what I did and share if you find a solution along the way which helps us all setup this scenario. I must say that I am not an expert in this and I am sharing what I have tried.

Thanks & Regards,
Harsh Patel

--
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/df064641-cd57-475b-bb6e-84a6ea8d7a8an%40googlegroups.com.

Harsh Patel

unread,
Jun 21, 2023, 2:16:02 PM6/21/23
to ns-3-users
Hi Samet,

Were able to get the aforementioned (Latest ns-3 with any version of DCE) setup working? 
I am working on something similar and would like to learn about any solution you might have found.

Regards,
Harsh
Reply all
Reply to author
Forward
0 new messages