Hiii.. i am going to integrate the zrp in ns2.35 and facing the error.... plz help me to remove this error....
trace/cmu-trace.o: In function `hdr_zrp::access(Packet const*)':
cmu-trace.cc.text._ZN7hdr_zrp6accessEPK6Packet[hdr_zrp::access(Packet const*)]+0x7): undefined reference to `hdr_zrp:ffset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
Hi, I need some help. I tried to install obs-ns. It´s based on ns2, but when I ran "make", the problem below appears... please I wish anybody would help me.
This is the error:
Code:
OBS/ns-2/integrated_agent.h: In constructor `BurstManager::BurstManager()':
OBS/ns-2/integrated_agent.h:86: warning: `BurstManager::bt_' will be initialized after
OBS/ns-2/integrated_agent.h:84: warning: `int BurstManager::currburstsize_'
OBS/ns-2/integrated_agent.cc:66: warning: when initialized here
OBS/ns-2/integrated_agent.cc: In member function `int BurstManager::nhops(nsaddr_t, nsaddr_t)':
OBS/ns-2/integrated_agent.cc:81: error: invalid conversion from `const char*' to `char*' <------- this is the error
OBS/ns-2/integrated_agent.cc: In member function `virtual void IPKTAgent::recv(Packet*, Handler*)':
OBS/ns-2/integrated_agent.cc:180: warning: unused variable 'ipkth'
/root/OBS/ns-allinone-2.31/tclcl-1.19/tclcl.h:150: error: `void Tcl::error(const char*)' is private
OBS/ns-2/integrated_agent.cc:185: error: within this context
OBS/ns-2/integrated_agent.cc:155: warning: unused variable 'hdr'
OBS/ns-2/integrated_agent.cc: In member function `void IPKTAgent::deBurst(Packet*)':
OBS/ns-2/integrated_agent.cc:192: warning: unused variable 'hdrip'
OBS/ns-2/integrated_agent.cc:194: warning: unused variable 'ch'
make: *** [OBS/ns-2/integrated_agent.o] Error 1
And this is the code of the program...
Code:
int BurstManager::nhops(nsaddr_t src,nsaddr_t des) {
Tcl& tcl = Tcl::instance();
sprintf(tcl.buffer(),"$ns nhops %d %d",src,des);
tcl.eval();
char *ni = tcl.result(); <------this is the line 81
return atoi(ni);
}
hello friend
i have problem in instalation of ns2.34
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
i do this solution but don't work
Replace
-SHLIB_LD="ld -shared"
with
+SHLIB_LD="gcc -shared"
I did some changes in the LAR protocol and suppose the new protocol is named as ABC .
When i am doing make clean and then make.
object file "ABC.o" was successfully created.
Then i tried to run tcl file , nothing has been written in the trace file and it gave me the following error
21052015$ ns234 new.tcl scen1 setting other default settings...
removing unecessary packet headers...
num_nodes is set 100
INITIALIZE THE LIST xListHead
loading mobility file
loading traffic file
Starting Simulation...
Segmentation fault (core dumped)
I tried a lot but unable to find out where is the error. I am unable to find out the point of error . Is it in .cc file or in .tcl file.
Could someone please help me.
My work is stucked and i searched a lot but didn't get anything.
please please .............. help me
Hi,
I have the following when I run gmake to build apache 2.2.29 in Solaris 10 in SPARC hardwa
:
Undefined first referenced
symbol in file
BIO_set_callback ab.o
BIO_set_callback_arg ab.o
BIO_get_callback_arg ab.o
SSL_CTX_set_info_callback ab.o
ld: fatal: symbol referencing errors. No output written to ab
collect2: ld returned 1 exit status
gmake[2]: *** [ab] Error 1
gmake[2]: Leaving directory `/SSL/httpd-2.2.29/support'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/SSL/httpd-2.2.29/support'
gmake: *** [all-recursive] Error 1
:
I tried the advised from the result of google around but to no avail.
Appreciate if anyone can gives a pointer. Thanks in advance.
Hi , i desinstall ns2.34 and i want to reinstall again so i was follow your step
$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ patch -p0 < lwx+LTE+dccp+MPTCP.patch
$ export CC=gcc41 CXX=g++41 && ./install
and with this patch i add another patch for wimax "wimax-awg26_ns235.patch"
but when i install ns2.34 this erreur was showen
common/packet.h: In static member function ‘static void p_info::initName()’:
common/packet.h:402: error: ‘PT_WIMAXBS’ was not declared in this scope
make: *** [common/scheduler.o] Error 1
Ns make failed!
can you tell me where is the problem ???
PHP Code:
Hello guys!
Does anyone have a solution to trace graph windows not loading properly. I am using ubuntu 14.10 and when i run something like "paulchiedo@paulchiedo-virtual-machine:~/Documents/tracegraph202$ ./trgraph /home/paulchiedo/mobilesense.tcl" I get "ERROR: No data! choose another time interval" on the terminal. The three trace file windows open but the problem is that for the "Graph's" window only the -file, -options on the menu bar is highlighted. For the "Trace garph 2.02" window -file, - Options menus are highlighted but no data apears and finally for the "Network Information" window only -Options on the menu tab is highlited.
* It is however noteworthy that this problem did not start from the point of installation as the trace graph had worked fine prior to this problem..
I would really appreciate it if someone would be so nice to help me through this problem. Thank you in advance!
/************************************************************
*
* Project 0: My First Program in C++
*
* Author: xxx xxxx
* Date: 18 January 2015
*
* This is the canonical first program for C++.
* Its purpose is to show that one knows how to create a program in
* one's particular programming environment.
*
************************************************************/
#include <bjarne/std_lib_facilities.h>
int main()
{
cout << "Hello, world!\n";
return 0;
}
I compiled the hello world program as my prof instructed.
then I used C+c C+c, delete 'make -k' and replaced with 'g++ -o proj0 -std=c++11 proj0.cc', choose to save the file, and it goes 'compilation exited abnormally with code 1'
note that I do all these by making SSH connection with computer in lab with a linux system
FYI, the whole thing is:
-*- mode: compilation; default-directory: "~/private/cs1/proj0/" -*-
Compilation started at Sun Jan 18 21:15:54
g++ -o proj0 -std=c++11 proj0.cc
In file included from /usr/include/c++/4.9.2/locale:41:0,
from /usr/include/c++/4.9.2/iomanip:43,
from /usr/local/include/bjarne/std_lib_facilities.h:220,
from proj0.cc:14:
/usr/include/c++/4.9.2/bits/locale_facets_nonio.h:1869:5: error: template-id do_get<> for String std::messages<char>::do_get(std::messages_base::catalog, int, int, const String&) const does not match any template declaration
messages<char>::do_get(catalog, int, int, const string&) const;
^
/usr/include/c++/4.9.2/bits/locale_facets_nonio.h:1869:62: note: saw 1 template<> , need 2 for specializing a member function template
messages<char>::do_get(catalog, int, int, const string&) const;
^
Compilation exited abnormally with code 1 at Sun Jan 18 21:15:55
I'm trying to get MRTG set up on Ubuntu 14.04 and cannot get snmpd to install correctly. Every time I try to install I get this error
/usr/sbin/snmpd: error while loading shared libraries: libnetsnmpagent.so.30: cannot open shared object file: No such file or directory
invoke-rc.d: initscript snmpd, action "start" failed.
dpkg: error processing package snmpd (--configure):
subprocess installed post-installation script returned error exit status 127
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried numerous possible fixes for this and have not found anything that works. Any help is greatly appreciated.
Hi everyone,
i tried to install mysql on my slackware 14.1.
typed mysql_install_db --user=mysql and went to the automatic configuration of secure access and receive this "Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)".
How can remove this installation, to try to reinstall the db?
And another error when try to reinstall :
"bash-4.2# mysql_install_db --user=mysql
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
150130 9:40:11 [ERROR] mysqld: File '/var/lib/mysql/aria_log_control' not found (Errcode: 13)
150130 9:40:11 [ERROR] mysqld: Got error 'Can't open file' when trying to use aria control file '/var/lib/mysql/aria_log_control'
150130 9:40:11 [ERROR] Plugin 'Aria' init function returned error.
150130 9:40:11 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
150130 9:40:11 [ERROR] mysqld: Can't find file: './mysql/db.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/db.frm' (errno: 13)
150130 9:40:11 [ERROR] Aborting
150130 9:40:11 [Note] /usr/libexec/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> /scripts/mysql_install_db --defaults-file=~/.my.cnf
You can also try to start the mysqld daemon with:
shell> /usr/libexec/mysqld --skip-grant --general-log &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using
--general-log gives you a log in /var/lib/mysql that may be helpful.
The latest information about mysql_install_db is available at
http://kb.askmonty.org/v/installing-...sql_install_db.
MariaDB is hosted on launchpad; You can find the latest source and
email lists at http://launchpad.net/maria
Please check all of the above before mailing us! And remember, if
you do mail us, you should use the /usr/bin/mysqlbug script!
bash-4.2#
"
hello there!
the common communication between nodes is fine, but when i want to test the perimeter mode it has throw the error "Wrong the other node", it seems that it couldn't find its next hop node.
i trace the code as show below
Code:
int
GPSRNeighbors::intersect(nsaddr_t theother, double sx, double sy,
double dx, double dy){
//line 1 (x1,y1)--(x2,y2) is the segment
//line 2 (x3,y3)--(x4,y4) is the xD
struct gpsr_neighbor *other = getnb(theother);
if(other==NULL){
printf("Wrong the other node\n");
exit(1);
}
****************
struct gpsr_neighbor*
GPSRNeighbors::getnb(nsaddr_t nid){
struct gpsr_neighbor *temp = head_;
while(temp){
if(temp->id_ == nid){
if((GPSR_CURRENT - temp->ts_) < DEFAULT_GPSR_TIMEOUT)
return temp;
else {
delnb(temp); //if this entry expire, delete it and return NULL
return NULL;
}
return temp;
}
temp = temp->next_;
}
return NULL;
}
the simulation scene was shown in the attachment.
when i make node 0 send packet to node 1, the error will occur.
would somebody know how to solve it?
thank you for your time!