[ndnSIM] consumerBatches and dumb-requester

Glai Amira glai.amira at yahoo.fr
Mon May 5 04:47:12 PDT 2014


hi everyone,
please i want to use the 'dumb requester' and 'consumerBatches' applications in the same scenario, but i think i can't because i have this error: 
"../scratch/scripta/ccn-script1.cc: In function ‘int main(int, char**)’:
../scratch/scripta/ccn-script1.cc:63:40: error: redeclaration of ‘ns3::ndn::AppHelper consumerHelper’
../scratch/scripta/ccn-script1.cc:61:32: error: ‘ns3::ndn::AppHelper consumerHelper’ previously declared here
Waf: Leaving directory `/home/amoura/ndnSIM/ns-3/build'
Build failed
 -> task in 'scripta' failed (exit status 1): 
{task 164136332: cxx ccn-script1.cc -> ccn-script1.cc.3.o}
['/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/scripta/ccn-script1.cc', '-c', '-o', 'scratch/scripta/ccn-script1.cc.3.o']"

if there are any solution, please help me!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140505/af898f16/attachment.html>


More information about the ndnSIM mailing list