Elf-loader and ccnx

358 views
Skip to first unread message

Lukas von Rotz

unread,
Apr 22, 2014, 6:15:39 AM4/22/14
to ns-3-...@googlegroups.com
Hi all

I set up ns-3 with ccnx on a server with ubuntu server 14.04
When I want to build bake.py, a message occurs that the elf-loader could not be built!

 >> Building elf-loader - Problem
   > Subprocess failed with error 2: ['make', 'vdl-config.h']

TaskError: <bake.Exceptions.TaskError instance at 0x7f63101e8710>

  File "/home/lukasvonrotz/bake/bake/Module.py", line 423, in build
    self._build.build(env, jobs)
  File "/home/lukasvonrotz/bake/bake/ModuleBuild.py", line 658, in build
    env.run(['make'] + self._flags() + options,  directory=env.srcdir)
  File "/home/lukasvonrotz/bake/bake/ModuleEnvironment.py", line 536, in run
    raise TaskError('Subprocess failed with error %d: %s' % (retcode, str(args)))
 > 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.

Because it seems that the elf-loader isn't essential, I proceeded with the installation and wanted to test the whole thing with ccnx.

Now the problem with ccnx ist, that when I want to execute dce-ccnd-simple and look at the status in files-0/var/log/*/status, I see the following message:

Start Time: NS3 Time:          0s (                   +0.0ns) , REAL Time: 1398159542
      Time: NS3 Time:          0s (                   +0.0ns) , REAL Time: 1398159542 --> No main method found in executable file 'rootdirectoryOfMe/dce/source/ns-3-dce/build/bin/ccnd'.
      Time: NS3 Time:          0s (                   +0.0ns) , REAL Time: 1398159542 --> Exit (127)
Start Time: NS3 Time:          1s (          +1000000000.0ns) , REAL Time: 1398159542
      Time: NS3 Time:          1s (          +1000000000.0ns) , REAL Time: 1398159542 --> No main method found in executable file rootdirectoryOfMe/dce/source/ns-3-dce/build/bin/ccnpoke'.
      Time: NS3 Time:          1s (          +1000000000.0ns) , REAL Time: 1398159542 --> Exit (127)
Start Time: NS3 Time:          2s (          +2000000000.0ns) , REAL Time: 1398159542
      Time: NS3 Time:          2s (          +2000000000.0ns) , REAL Time: 1398159542 --> No main method found in executable file rootdirectoryOfMe/dce/source/ns-3-dce/build/bin/ccnpeek'.
      Time: NS3 Time:          2s (          +2000000000.0ns) , REAL Time: 1398159542 --> Exit (127)
Start Time: NS3 Time:         59s (         +59000000000.0ns) , REAL Time: 1398159542
      Time: NS3 Time:         59s (         +59000000000.0ns) , REAL Time: 1398159542 --> No main method found in executable file rootdirectoryOfMe/dce/source/ns-3-dce/build/bin/ccndsmoketest'.
      Time: NS3 Time:         59s (         +59000000000.0ns) , REAL Time: 1398159542 --> Exit (127)

But with ls -a, I see these files.. So I'm clueless what's the problem here, and also why the elf-loader cani't be built.
I'd be very thankful for a hint!

Greets Lukas

Message has been deleted

Thomas Burger

unread,
Apr 23, 2014, 6:31:19 AM4/23/14
to ns-3-...@googlegroups.com
Dear Lukas,

I'm not an expert in DCE, but maybe the following bug is your problem; at least the error message is similar...
https://www.nsnam.org/bugzilla/show_bug.cgi?id=1773

Building elf-loader also fails on my system (ubuntu 12.04), maybe someone can give a reference to
what causes the problem. However, DCE runs correctly despite that error message.

Regards,
Thomas


Edit: added elf-loader information

Lukas von Rotz

unread,
Apr 24, 2014, 2:48:54 AM4/24/14
to ns-3-...@googlegroups.com
Dear Thomas

Thanks for the link. I found it too. So when you download the newest bake version (hg clone http://code.nsnam.org/bake), this bug-fix should already be included or am I wrong? Anyways, I think the problem could be the new server version 14.04. I'll try it with 12.04 now and take a look whether it works..

Greets Lukas

Hajime Tazaki

unread,
Apr 27, 2014, 9:28:26 AM4/27/14
to ns-3-...@googlegroups.com

Hello Lucas,

Thomas is right: the error you saw is due to the bug 1773,
which was fixed in dce-dev and will be included in coming
dce-1.3 release. this bug happens in newer distributions
(ubuntu 13.10 newer, Fedora 19 newer).

regarding with the elf-loader issue, there might be a bug to
find some dependency for elf-loader module in Ubuntu 14.04,
since we haven't tested yet on it. You can also skip
elf-loader since it's optional.

thanks for using DCE.

-- Hajime

At Wed, 23 Apr 2014 23:48:54 -0700 (PDT),
Lukas von Rotz wrote:
>
> [1 <text/plain; UTF-8 (7bit)>]
> --
> 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 post to this group, send email to ns-3-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/ns-3-users.
> For more options, visit https://groups.google.com/d/optout.
> [2 <text/html; UTF-8 (quoted-printable)>]
>
Reply all
Reply to author
Forward
0 new messages