Ns-3 build error

284 views
Skip to first unread message

Amrita Yadav

unread,
Feb 6, 2020, 5:44:02 AM2/6/20
to ns-3-users
Hi
I am a beginner in ns3. I have added a new module and ./waf configure is successful but when i build it using ./waf build it starts compiling but stops in between and gives error
../scratch/MANET_Routing.cc:14:25: fatal error: ns3/aolsr.h: No such file or directory
 #include "ns3/aolsr.h"
                         ^
compilation terminated.
 Can anyone tell me why this error is generating?

marwa kilani

unread,
Feb 6, 2020, 7:59:06 AM2/6/20
to ns-3-...@googlegroups.com
Build  with ''./build.py --enable-examples --enable-tests''

--
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/30c6790a-502e-458b-a761-720a987e21c5%40googlegroups.com.

Amrita Yadav

unread,
Feb 6, 2020, 8:17:47 AM2/6/20
to ns-3-users
Tried but not working. I think this is missing header file error but not sure.


On Thursday, February 6, 2020 at 6:29:06 PM UTC+5:30, marwa kilani wrote:
Build  with ''./build.py --enable-examples --enable-tests''

On Thu, Feb 6, 2020, 11:44 AM Amrita Yadav <amrita...@gmail.com> wrote:
Hi
I am a beginner in ns3. I have added a new module and ./waf configure is successful but when i build it using ./waf build it starts compiling but stops in between and gives error
../scratch/MANET_Routing.cc:14:25: fatal error: ns3/aolsr.h: No such file or directory
 #include "ns3/aolsr.h"
                         ^
compilation terminated.
 Can anyone tell me why this error is generating?

--
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-...@googlegroups.com.

Manoj Paul

unread,
Feb 6, 2020, 11:30:05 AM2/6/20
to ns-3-users
if you have copied this from anywhere please also copy the header file from there and paste to location ns-3.27 or .29 what ever you are using , under that you see build folder and under that ns3 folder. Copy the header file with the same name and run.

--
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.

Amrita Yadav

unread,
Feb 6, 2020, 12:39:47 PM2/6/20
to ns-3-users
Thanks a lot for making this clear. It does not have folder of header file. Can I add header file in someway?

Manoj Paul

unread,
Feb 6, 2020, 9:48:04 PM2/6/20
to ns-3-users
Dear Amrita,
     PFA the exact path for header files. You need to copy your header file here and run.

Thanks,
Manoj

On Thu, Feb 6, 2020 at 11:09 PM Amrita Yadav <amrita....@gmail.com> wrote:
Thanks a lot for making this clear. It does not have folder of header file. Can I add header file in someway?

--
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.


--
Thanks & Regards,
Manoj Paul
header path.jpg

Amrita Yadav

unread,
Feb 6, 2020, 10:40:36 PM2/6/20
to ns-3-users
Thank you for letting me know the location of header files. But it does not have header file, so can I create and paste to that location?


On Friday, February 7, 2020 at 8:18:04 AM UTC+5:30, Manoj Paul wrote:
Dear Amrita,
     PFA the exact path for header files. You need to copy your header file here and run.

Thanks,
Manoj

On Thu, Feb 6, 2020 at 11:09 PM Amrita Yadav <amrita...@gmail.com> wrote:
Thanks a lot for making this clear. It does not have folder of header file. Can I add header file in someway?

--
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-...@googlegroups.com.

Manoj Paul

unread,
Feb 6, 2020, 10:43:17 PM2/6/20
to ns-3-users
yes

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/5de731ff-0ada-473b-bf04-d046be2cdce4%40googlegroups.com.

Amrita Yadav

unread,
Feb 8, 2020, 4:41:27 AM2/8/20
to ns-3-users
Ok..thanks


On Friday, February 7, 2020 at 9:13:17 AM UTC+5:30, Manoj Paul wrote:
yes

On Fri, Feb 7, 2020, 9:10 AM Amrita Yadav <amrita...@gmail.com> wrote:
Thank you for letting me know the location of header files. But it does not have header file, so can I create and paste to that location?

On Friday, February 7, 2020 at 8:18:04 AM UTC+5:30, Manoj Paul wrote:
Dear Amrita,
     PFA the exact path for header files. You need to copy your header file here and run.

Thanks,
Manoj

On Thu, Feb 6, 2020 at 11:09 PM Amrita Yadav <amrita...@gmail.com> wrote:
Thanks a lot for making this clear. It does not have folder of header file. Can I add header file in someway?

--
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-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/e9d9d9d9-f7ba-4013-9f34-10f474c4c201%40googlegroups.com.


--
Thanks & Regards,
Manoj Paul

--
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-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages