LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2014, 12:53 AM   #16
lavsjk
LQ Newbie
 
Registered: Jan 2014
Location: India
Posts: 19

Original Poster
Rep: Reputation: Disabled

we have the xerces-c-devel,fox16,fox16_devel,proj_devel,gdal_devel,libfox1_6 (.rpm files)...then what is next step to install??
 
Old 01-21-2014, 02:03 AM   #17
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,990

Rep: Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448Reputation: 2448
the mods yelled at me before but...
this is looking like a bot or a 10 year old pranking

3 different users
same fedora 14
same mixing different os and arch rpm's
oneliner posts


now i DO think a "chat bot" would do better

from the stile of wording i am guessing that they are from India
so "the Queens English" IS the primary language


but
if these are the US univ. football players in the news that about 4 % read at a 4th grade level and 60% read under an 8th grade level .....
 
Old 01-22-2014, 07:29 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
SUMO : http://www.linuxquestions.org/questions/tags/sumo/

Sumo 0.12.3 / Fedora :
http://www.linuxquestions.org/questi...-4175420616/#2 , etc.
 
Old 02-10-2014, 04:00 AM   #19
lavsjk
LQ Newbie
 
Registered: Jan 2014
Location: India
Posts: 19

Original Poster
Rep: Reputation: Disabled
how to generate a car in SUMO? that is which attributes along with tags to be used ?need help.....
 
Old 02-10-2014, 07:43 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 19 .

Probably read the documentation, and the LQ sumo threads ..

** Post #29, documentation http://www.linuxquestions.org/questi...670/page2.html

* All sumo at LQ http://www.linuxquestions.org/questions/tags/sumo/


-
 
Old 02-13-2014, 11:59 PM   #21
lavsjk
LQ Newbie
 
Registered: Jan 2014
Location: India
Posts: 19

Original Poster
Rep: Reputation: Disabled
@knudfl sir we need the code in c++ for doing the HARDY function(Hierarchal Password based key derivation ) with the sub function for PBKDF2
 
Old 02-14-2014, 12:14 AM   #22
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Quote:
Originally Posted by lavsjk View Post
@knudfl sir we need the code in c++ for doing the HARDY function(Hierarchal Password based key derivation ) with the sub function for PBKDF2
You really need to learn how to do your own homework.
 
Old 02-14-2014, 12:33 AM   #23
lavsjk
LQ Newbie
 
Registered: Jan 2014
Location: India
Posts: 19

Original Poster
Rep: Reputation: Disabled
@k3lt01 ok sir we shall do by ourselves
 
Old 03-01-2014, 04:48 AM   #24
lavsjk
LQ Newbie
 
Registered: Jan 2014
Location: India
Posts: 19

Original Poster
Rep: Reputation: Disabled
invalid command name "Agent/MyAgentOtcl"
while executing
"Agent/MyAgentOtcl create _o3 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/MyAgentOtcl"
invoked from within
"set myagent [new Agent/MyAgentOtcl]"
(file "ex-linkage.tcl" line 5)


can anyone say what is the error defined..since after that while we are giving the command as "make"...it shows the following error..

make: *** No targets specified and no makefile found. Stop.
 
Old 03-01-2014, 12:49 PM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 24 .

What is "ex-linkage.tcl" ? Please attach the file as `ex-linkage.tcl.txt'.

And where did you add `MyAgentOtcl' in the ns2 files ?
? Which version of ns-allinone-2.xx ?

-
 
Old 03-02-2014, 03:26 AM   #26
lavsjk
LQ Newbie
 
Registered: Jan 2014
Location: India
Posts: 19

Original Poster
Rep: Reputation: Disabled
version is ns-allinone-2.35

and i have added in Makefile.in file , as ex-linkage/ex-linkage.o \

/*********************ex-linkage.tcl**********************/

#Create MyAgent (This will give two warning messages that
# no default vaules exist for my_var1_otcl and my_var2_otcl)
set myagent [new Agent/MyAgentOtcl]

# Set configurable parameters of MyAgent
$myagent set my_var1_otcl 2
$myagent set my_var2_otcl 3.14

# Give a command to MyAgent
$myagent call-my-priv-func

/***************************ex-linkage.cc************************/


#include <stdio.h>
#include <string.h>
#include "agent.h"


class MyAgent : public Agent {
public:
MyAgent();
protected:
int command(int argc, const char*const* argv);
private:
int my_var1;
double my_var2;
void MyPrivFunc(void);
};


static class MyAgentClass : public TclClass {
public:
MyAgentClass() : TclClass("Agent/MyAgentOtcl") {}
TclObject* create(int, const char*const*) {
return(new MyAgent());
}
} class_my_agent;


MyAgent::MyAgent() : Agent(PT_UDP) {
bind("my_var1_otcl", &my_var1);
bind("my_var2_otcl", &my_var2);
}


int MyAgent::command(int argc, const char*const* argv) {
if(argc == 2) {
if(strcmp(argv[1], "call-my-priv-func") == 0) {
MyPrivFunc();
return(TCL_OK);
}
}
return(Agent::command(argc, argv));
}


void MyAgent::MyPrivFunc(void) {
Tcl& tcl = Tcl::instance();
tcl.eval("puts \"Message From MyPrivFunc\"");
tcl.evalf("puts \" my_var1 = %d\"", my_var1);
tcl.evalf("puts \" my_var2 = %f\"", my_var2);
}
 
Old 03-02-2014, 05:33 AM   #27
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 26 .

Attachments : That's the "paper clip" button in the 'Advanced Editor'.

And code must be in "CODE TAGS" ..
http://www.linuxquestions.org/questi....php?do=bbcode
http://www.linuxquestions.org/questi...gs-4175464257/
Use the # button, or type [/code] at code end, and [code] at code start.
** Please edit post #26. You have two blocks of code.
** And the "c++ text" must be replaced with the real code.
? Is it like this http://nile.wpi.edu/NS/linkage.html ?
... which has a 15 year old time stamp : 15' Sept 1999.

May be use Google .. otcl linkage ..
https://www.google.com/webhp?hl=all#...q=otcl+linkage
.. to find a later documentation like ..
http://www.isi.edu/nsnam/ns/doc/node5.html ( 05' Nov 2011 ).
and http://ns2ultimate.tumblr.com/post/9...nding-otcl-and
.. etc. etc.


-

Last edited by knudfl; 03-02-2014 at 08:35 AM.
 
Old 03-02-2014, 05:44 AM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 24 .
Quote:
make: *** No targets specified and no makefile found. Stop.
I can only guess : Are you trying to run make in ns-2.35/ ?

Suggest : Run ./install in the top directory = ns-allinone-2.35/.

-
 
Old 03-13-2014, 03:13 PM   #29
abenmariem
LQ Newbie
 
Registered: Feb 2014
Location: Tunisia
Distribution: Ubuntu
Posts: 29

Rep: Reputation: Disabled
Sumo 0.12.3 installation executable

Hello,
Can anybody provide sumo 0.12.3 executable for ubuntu 13.10
 
Old 03-13-2014, 04:33 PM   #30
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
# 29, @abenmariem.

Read the rules http://www.linuxquestions.org/linux/rules.html
"Do not post the same discussion in more than one forum".
 
  


Reply

Tags
ns2, sumo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sumo installation Uvarani Linux - Newbie 16 01-24-2014 04:27 AM
concerning SUMO installation sunrise Linux - Newbie 13 12-02-2013 01:50 PM
install sumo glitter Linux - Newbie 9 08-31-2013 05:04 PM
Download sumo 0.17.1 ibaa Linux - Newbie 1 05-30-2013 10:02 AM
install sumo glitter Linux - Newbie 1 04-09-2011 11:17 AM


All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration