<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:14pt"><div class="" style=""><span class="" style="">Alex, </span></div><div style="color: rgb(0, 0, 0); font-size: 19px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal" class=""><span class="" style="">when i want to compile "dumb-requester" .cc and .h together, because i want to see what the script did in the /scratch folder with the solution you give me (in another folder), i have this problem: </span></div><div style="background-color: transparent" class=""><span style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 19px; font-style: normal" class="">"</span><span style="background-color: transparent; font-style: italic; color: rgb(157, 24, 17);" class="">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 12</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 20 has invalid symbol index 13</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 21 has invalid symbol index 22</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_line): relocation 0 has invalid symbol index 2</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/crt1.o: In function `_start':</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">(.text+0x18): undefined reference to `main'</span></div><div
 style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">collect2: error: ld returned 1 exit status</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">Waf: Leaving directory `/home/amoura/ndnSIM/ns-3/build'</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);">Build failed</span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);"> -> task in 'scripta' failed (exit status 1): </span></div><div style="background-color: transparent" class=""><span style="font-style: italic; color: rgb(157, 24, 17);"><span class="" style="white-space:pre">     </span>{task 166514796: cxxprogram dumb-requester.cc.3.o -> scripta}</span></div><div style="background-color: transparent" class=""><span
 style="font-style: italic; color: rgb(157, 24, 17);">['/usr/bin/g++', '-pthread', '-pthread', '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', 'scratch/scripta/dumb-requester.cc.3.o', '-o', '/home/amoura/ndnSIM/ns-3/build/scratch/scripta/scripta', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,--no-as-needed', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L/usr/lib', '-L/usr/lib', '-lns3-dev-test-debug', '-lns3-dev-csma-layout-debug', '-lns3-dev-point-to-point-layout-debug', '-lns3-dev-netanim-debug', '-lns3-dev-lte-debug', '-lns3-dev-spectrum-debug', '-lns3-dev-antenna-debug', '-lns3-dev-aodv-debug', '-lns3-dev-dsdv-debug', '-lns3-dev-dsr-debug', '-lns3-dev-mesh-debug', '-lns3-dev-olsr-debug', '-lns3-dev-csma-debug', '-lns3-dev-wimax-debug',
 '-lns3-dev-applications-debug', '-lns3-dev-virtual-net-device-debug', '-lns3-dev-uan-debug', '-lns3-dev-energy-debug', '-lns3-dev-flow-monitor-debug', '-lns3-dev-ndnSIM-debug', '-lns3-dev-visualizer-debug', '-lns3-dev-nix-vector-routing-debug', '-lns3-dev-tap-bridge-debug', '-lns3-dev-internet-debug', '-lns3-dev-bridge-debug', '-lns3-dev-point-to-point-debug', '-lns3-dev-mpi-debug', '-lns3-dev-wifi-debug', '-lns3-dev-buildings-debug', '-lns3-dev-propagation-debug', '-lns3-dev-mobility-debug', '-lns3-dev-config-store-debug', '-lns3-dev-emu-debug', '-lns3-dev-fd-net-device-debug', '-lns3-dev-topology-read-debug', '-lns3-dev-network-debug', '-lns3-dev-stats-debug', '-lns3-dev-core-debug', '-lrt', '-lgsl', '-lgslcblas', '-lm', '-lsqlite3', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-latk-1.0', '-lgio-2.0', '-lpangoft2-1.0', '-lpangocairo-1.0', '-lgdk_pixbuf-2.0', '-lcairo', '-lpango-1.0', '-lfreetype', '-lfontconfig', '-lgobject-2.0', '-lglib-2.0', '-lxml2',
 '-lboost_graph-mt', '-lboost_system-mt', '-lboost_signals-mt', '-lboost_filesystem-mt', '-lpython2.7']</span>"</div><div style="background-color: transparent; color: rgb(157, 24, 17); font-size: 19px; font-family: 'times new roman', 'new york', times, serif; font-style: italic;" class=""><br></div><div style="background-color: transparent; font-size: 19px; font-family: 'times new roman', 'new york', times, serif; font-style: italic;" class="">can i compile it or no!!!</div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: times new roman, new york, times, serif; font-size: 14pt" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> Le , Glai Amira <glai.amira@yahoo.fr> a écrit :<br class="" style=""> </font> </div> <blockquote style="" class="">  <div
 class="" style=""><div id="yiv9425640563" class="" style=""><div class="" style=""><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:14pt" class=""><div class="" style=""><span class="" style="">hi Alex,</span></div><div style="color:rgb(0, 0, 0);font-size:19px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal" class=""><span class="" style="">thank you so much, i didn't understand you in the begin, but it works now.</span></div><div style="color:rgb(0, 0, 0);font-size:19px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal" class=""><span class="" style=""><br clear="none" class="" style=""></span></div><div style="color:rgb(0, 0, 0);font-size:19px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal" class=""><span class="" style="">have a
 good day :)</span></div><div style="color:rgb(0, 0, 0);font-size:19px;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:normal" class=""><span class="" style="">best
 regards.</span></div><div class="" id="yiv9425640563yqt81118" style=""><div class="" style="display:block"> <div style="font-family:'times new roman', 'new york', times, serif;font-size:14pt" class=""> <div style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:12pt" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> Le Lundi 5 mai 2014 7h11, Alex Afanasyev <alexander.afanasyev@ucla.edu> a écrit :<br clear="none" class="" style=""> </font> </div> <blockquote style="" class="">  <div class="" style=""><div id="yiv9425640563" class="" style=""><div class="" style=""><div class="" style="">Hi Glai,</div><div class="" style=""><br clear="none" class="" style=""></div>You didn't follow my suggestion.  I suggested to create a directory and put all your new files in there:<div class="" style=""><br clear="none" class="" style=""></div><div class=""
 style="">scratch/your-scenario/<a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a></div><div class="" style="">scratch/your-scenario/<a rel="nofollow" shape="rect" target="_blank" href="http://your-scenario.cc/" class="" style="">your-scenario.cc</a></div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">NS-3's waf script treats differently just files that are put into scratch/ folder and directories.</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">---</div><div class="" style="">Alex<br clear="none" class="" style=""><div class="" style=""><br clear="none" class="" style=""></div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style=""><div class="" style=""><div class="" id="yiv9425640563yqt30417" style=""><div class="" style="">On May 4, 2014, at 4:10 AM, Glai Amira <<a
 rel="nofollow" shape="rect" ymailto="mailto:glai.amira@yahoo.fr" target="_blank" href="mailto:glai.amira@yahoo.fr" class="" style="">glai.amira@yahoo.fr</a>> wrote:</div><br clear="none" class="" style=""><blockquote type="cite" class="" style=""><div class="" style=""><div style="background-color:rgb(255, 255, 255);font-family:'times new roman', 'new york', times, serif;font-size:14pt" class=""><div class="" style=""><span class="" style="">hi Alex,</span></div><div class="" style="background-color:transparent"><span class="" style="font-family:'times new roman', 'new york', times, serif;font-size:19px;font-style:normal">i try the solution but i have this error: "</span><span class="" style="background-color:transparent;font-style:italic;color:rgb(157, 24, 17)">Build failed</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)"> -> task in 'dumb-requester' failed (exit
 status 1): </span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)"><span class="" style="white-space:pre">      </span>{task 152672332: cxx <a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a> ->
 <a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a>.5.o}</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-I.', '-I..', '-I/usr/include/gtk-2.0', '-I/usr/lib/i386-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/harfbuzz', '-I/usr/include/libxml2', '-I/usr/include',
 '-I/usr/include/python2.7', '-I/usr/include/i386-linux-gnu/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE',
 '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../scratch/<a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a>', '-c', '-o', 'scratch/<a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a>.5.o']</span>"</div><div class="" style="background-color:transparent;color:rgb(157, 24, 17);font-size:19px;font-family:'times new roman', 'new york', times, serif;font-style:italic"><br clear="none" class="" style=""></div><div class="" style="background-color:transparent;font-size:19px;font-family:'times new roman', 'new york', times, serif;font-style:italic">and when i compile the "<a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class=""
 style="">dumb-requester.cc</a>" file, i have this errors: </div><div class="" style="background-color:transparent"><span class="" style="font-style:italic">"</span><span class="" style="background-color:transparent;font-style:italic;color:rgb(157, 24, 17)">[2321/2383] cxxprogram: build/scratch/<a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a>.5.o
 -> build/scratch/dumb-requester</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 12</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157,  24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 17 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 18 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 19 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 20 has invalid symbol index 13</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld:
 /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 21 has invalid symbol index 22</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_line): relocation 0 has invalid symbol index 2</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">/usr/lib/gcc/i686-linux-gnu/4.7/../../../i386-linux-gnu/crt1.o: In function `_start':</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">(.text+0x18): undefined reference to `main'</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">collect2: error: ld returned 1 exit status</span></div><div class="" style="background-color:transparent"><span
 class="" style="font-style:italic;color:rgb(157, 24, 17)">Waf: Leaving directory `/home/amoura/ndnSIM/ns-3/build'</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">Build failed</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)"> -> task in 'dumb-requester' failed (exit status 1): </span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)"><span class="" style="white-space:pre">        </span>{task 149728108: cxxprogram <a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a>.5.o -> dumb-requester}</span></div><div class="" style="background-color:transparent"><span class="" style="font-style:italic;color:rgb(157, 24, 17)">['/usr/bin/g++', '-pthread', '-pthread',
 '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', 'scratch/<a rel="nofollow" shape="rect" target="_blank" href="http://dumb-requester.cc/" class="" style="">dumb-requester.cc</a>.5.o', '-o', '/home/amoura/ndnSIM/ns-3/build/scratch/dumb-requester', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,--no-as-needed', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.', '-L.',
 '-L/usr/lib', '-L/usr/lib', '-lns3-dev-test-debug', '-lns3-dev-csma-layout-debug', '-lns3-dev-point-to-point-layout-debug', '-lns3-dev-netanim-debug', '-lns3-dev-lte-debug', '-lns3-dev-spectrum-debug', '-lns3-dev-antenna-debug', '-lns3-dev-aodv-debug', '-lns3-dev-dsdv-debug', '-lns3-dev-dsr-debug', '-lns3-dev-mesh-debug', '-lns3-dev-olsr-debug', '-lns3-dev-csma-debug', '-lns3-dev-wimax-debug', '-lns3-dev-applications-debug', '-lns3-dev-virtual-net-device-debug', '-lns3-dev-uan-debug', '-lns3-dev-energy-debug', '-lns3-dev-flow-monitor-debug', '-lns3-dev-ndnSIM-debug', '-lns3-dev-visualizer-debug', '-lns3-dev-nix-vector-routing-debug', '-lns3-dev-tap-bridge-debug', '-lns3-dev-internet-debug', '-lns3-dev-bridge-debug', '-lns3-dev-point-to-point-debug', '-lns3-dev-mpi-debug', '-lns3-dev-wifi-debug', '-lns3-dev-buildings-debug', '-lns3-dev-propagation-debug', '-lns3-dev-mobility-debug', '-lns3-dev-config-store-debug', '-lns3-dev-emu-debug',
 '-lns3-dev-fd-net-device-debug', '-lns3-dev-topology-read-debug', '-lns3-dev-network-debug', '-lns3-dev-stats-debug', '-lns3-dev-core-debug', '-lrt', '-lgsl', '-lgslcblas', '-lm', '-lsqlite3', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-latk-1.0', '-lgio-2.0', '-lpangoft2-1.0', '-lpangocairo-1.0', '-lgdk_pixbuf-2.0', '-lcairo', '-lpango-1.0', '-lfreetype', '-lfontconfig', '-lgobject-2.0', '-lglib-2.0', '-lxml2', '-lboost_graph-mt', '-lboost_system-mt', '-lboost_signals-mt', '-lboost_filesystem-mt', '-lpython2.7']</span><span class="" style="font-style:italic">" this errors were seen in "scratch/" folder, </span></div><div class="" style="background-color:transparent;font-size:19px;font-family:'times new roman', 'new york', times, serif;font-style:italic"><span class="" style="font-style:italic"><br clear="none" class="" style=""></span></div><div class="" style="background-color:transparent;font-size:19px;font-family:'times new roman', 'new york', times,
 serif;font-style:italic"><span class="" style="font-style:italic">but i have this: "<span style="color:rgb(157, 24, 17)" class="">program 'dumb-requester' not found; available programs are: ['aodv', 'src/aodv/examples/aodv', 'csma-bridge', 'src/bridge/examples/csma-bridge', 'csma-bridge-one-hop', 'src/bridge/examples/csma-bridge-one-hop', 'buildings-pathloss-profiler', 'src/buildings/examples/buildings-pathloss-profiler', 'config-store-save', 'src/config-store/examples/config-store-save', 'main-callback', 'src/core/examples/main-callback'</span>,..." when i compile "dumb-requester" file in its first location: src/ndnSIM/examples/custom-apps :(</span></div><div class="" style="background-color:transparent;color:rgb(157, 24, 17);font-size:19px;font-family:'times new roman', 'new york', times, serif;font-style:italic"><br clear="none" class="" style=""></div><div class="" style="background-color:transparent;font-size:19px;font-family:'times new roman',
 'new york', times, serif;font-style:italic">best regards</div><div class="" style="display:block"> <div class="" style="font-family:'times new roman', 'new york', times, serif;font-size:14pt"> <div class="" style="font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:12pt"> <div class="" dir="ltr" style=""> <font class="" size="2" face="Arial" style=""> Le Dimanche 4 mai 2014 5h07, Alex Afanasyev <<a rel="nofollow" shape="rect" ymailto="mailto:alexander.afanasyev@ucla.edu" target="_blank" href="mailto:alexander.afanasyev@ucla.edu" class="" style="">alexander.afanasyev@ucla.edu</a>> a écrit :<br clear="none" class="" style=""> </font> </div> <blockquote class="" style="">  <div class="" style=""><div class="" id="yiv9425640563" style=""><div class="" style=""><div class="" style="">Hi Glai,</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">The problem seems to
 be in the way you created your scenario.  DumbRequester is not part of of ndnSIM core, so you have to specifically compile it in your
 scenario.  If you're using scratch/ folder for your scenarios, then instead of just putting your scenario file in there, create a folder with the scenario name, put your main scenario file in there, and also copy <a rel="nofollow" shape="rect" class="" target="_blank" href="http://dumb-requester.cc/" style="">dumb-requester.cc</a> into the folder.  This way <a rel="nofollow" shape="rect" class="" target="_blank" href="http://dumb-requester.cc/" style="">dumb-requester.cc</a> class will be compiled together with your scenario and you shouldn't get errors anymore.</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">---</div><div class="" style="">Alex</div><br clear="none" class="" style=""><div class="" style=""><div class="" id="yiv9425640563yqtfd86084" style=""><div class="" style="">On May 3, 2014, at 3:15 PM, Cesar Ghali <<a rel="nofollow" shape="rect" class="" ymailto="mailto:cghali@uci.edu"
 target="_blank" href="mailto:cghali@uci.edu" style="">cghali@uci.edu</a>> wrote:</div><br clear="none" class="" style=""><blockquote class="" type="cite" style="">
  
    </blockquote></div></div></div><div class="" id="yiv9425640563yqtfd14177" style=""><div class="" style=""><div class="" style="">
    <div class="" style="">Were you able to compile ndnSIM using
      waf? What are the errors that you're getting?<br clear="none" class="" style="">
      <br clear="none" class="" style="">
      Cesar<br clear="none" class="" style="">
      <br clear="none" class="" style="">
      <br clear="none" class="" style="">
      On 05/03/2014 03:04 PM, Glai Amira wrote:<br clear="none" class="" style="">
    </div>
    <blockquote class="" type="cite" style="">
      <div class="" style="background-color:rgb(255, 255, 255);font-family:'times new roman', 'new york', times, serif;font-size:14pt">
        <div class="" style="">Hello everybody, </div>
        <div class="" style="">i use the 'dumbrequester' in a scenario,
          but i have this message: "<span class="" style="font-style:italic;color:rgb(205, 35, 44)">assert failed. cond="uid
            != 0", msg="Assert in TypeId::LookupByName: DumbRequester
            not found", file=../src/core/model/<a rel="nofollow" shape="rect" class="" target="_blank" href="http://type-id.cc/" style="">type-id.cc</a>, line=539 </span><span class="" style="color:rgb(205, 35, 44);font-style:italic;font-size:14pt">terminate called without an active
            exception</span><span class="" style="font-style:italic;font-size:14pt">" </span></div>
        <div class="" style="font-size:14pt;font-family:'times new roman', 'new york', times, serif;background-color:transparent;font-style:italic"><span class="" style="font-style:italic;font-weight:bold;font-size:14pt"><br clear="none" class="" style="">
          </span></div>
        <div class="" style="">can anyone help me???</div>
        <div class="" style=""><br clear="none" class="" style="">
        </div>
        <div class="" style="">and when i execute "dumbrequester" file
          .cc and .h, several errors was occurred, i don't know where is
          the problem, i don't change anything... :(</div>
        <div class="" style=""><br clear="none" class="" style="">
        </div>
        <div class="" style="">best regards.</div>
      </div>
      <br clear="none" class="" style="">
      <fieldset class="" style=""></fieldset>
      <br clear="none" class="" style="">
      <pre class="" style="">_______________________________________________
ndnSIM mailing list
<a rel="nofollow" shape="rect" class="" ymailto="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" href="mailto:ndnSIM@lists.cs.ucla.edu" style="">ndnSIM@lists.cs.ucla.edu</a>
<a rel="nofollow" shape="rect" class="" target="_blank" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" style="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a>
</pre>
    </blockquote>
    <br clear="none" class="" style=""></div><br clear="none" class="" style=""></div></div></div><br clear="none" class="" style=""><div class="" id="yiv9425640563yqtfd69567" style="">_______________________________________________<br clear="none" class="" style="">ndnSIM mailing list<br clear="none" class="" style=""><a rel="nofollow" shape="rect" class="" ymailto="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" href="mailto:ndnSIM@lists.cs.ucla.edu" style="">ndnSIM@lists.cs.ucla.edu</a><br clear="none" class="" style=""><a rel="nofollow" shape="rect" class="" target="_blank" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" style="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br clear="none" class="" style=""></div><br clear="none" class="" style=""><br clear="none" class="" style=""></div> </blockquote>  </div> </div>   </div> </div></div>_______________________________________________<br clear="none" class="" style="">ndnSIM
 mailing list<br clear="none" class="" style=""><a rel="nofollow" shape="rect" ymailto="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" href="mailto:ndnSIM@lists.cs.ucla.edu" class="" style="">ndnSIM@lists.cs.ucla.edu</a><br clear="none" class="" style="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br clear="none" class="" style=""></blockquote></div></div><br clear="none" class="" style=""></div></div></div></div><br clear="none" class="" style=""><br clear="none" class="" style=""></div> </blockquote>  </div> </div>   </div></div> </div></div></div><br class="" style=""><br class="" style=""></div> </blockquote>  </div> </div>   </div> </div></body></html>