Error Running first.cc, second.cc, etc.

27 views
Skip to first unread message

Marcus Wohler

unread,
Jun 21, 2016, 2:10:19 PM6/21/16
to ns-3-users
When I attempt to run any of the first, second,... .cc files from the terminal window, I get the error:

Build failed

 -> task in 'first' failed (exit status 1): 

{task 4575964688: cxxprogram first.cc.2.o -> ns3-dev-first-debug}


Anyone know what causes this and how to fix?


Regards,

Marcus

Tom Henderson

unread,
Jun 21, 2016, 4:40:41 PM6/21/16
to ns-3-...@googlegroups.com
On 06/21/2016 11:10 AM, Marcus Wohler wrote:
> When I attempt to run any of the first, second,... .cc files from the
> terminal window, I get the error:
>
> *Build failed*
>
> * -> task in 'first' failed (exit status 1): *
>
> *{task 4575964688: cxxprogram first.cc.2.o -> ns3-dev-first-debug}*
>
>
> Anyone know what causes this and how to fix?
>

Please look at the below thread and let us know if this is also caused
by a local modification that you have made.

https://groups.google.com/forum/#!topic/ns-3-users/BwLXqemB7-Q

Marcus Wohler

unread,
Jun 22, 2016, 11:18:34 AM6/22/16
to ns-3-users
Ah. Yes, that's likely the issue. Is there a way to revert the file back to normal or should I build again?

Thanks,
Marcus

Tom Henderson

unread,
Jun 22, 2016, 11:57:33 AM6/22/16
to ns-3-...@googlegroups.com
On 06/22/2016 08:18 AM, Marcus Wohler wrote:
> Ah. Yes, that's likely the issue. Is there a way to revert the file back
> to normal or should I build again?

When using mercurial and ns-3-dev, if you want to see which files have
been modified:

hg status

If you want to examine what has changed (uncommitted local changes):

hg diff

If you want to revert an individual file:

hg revert <filename>

If you want to revert all tracked files to original state (tip of the
repository):

hg update -C

- Tom
Reply all
Reply to author
Forward
0 new messages