Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
" Alloc.c:29:
/usr/include/bits/socket.h:381:24: erreur: asm/socket.h : Aucun fichier ou dossier de ce type
make: *** [tclAlloc.o] Erreur 1
tcl8.4.18 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com "
i followed the instruction from post # 98 :
and i tape :
cd /usr/include/
sudo ln -s i386-linux-gnu/asm/
nothing appear on the terminal .
and when i remake the patch and the ./install
the same error appear
@knudfl : you mention in your post # 98, that i should update my version of ubuntu 11.04 to another version , i want to ask how (if it necessary according to my case )
and is that mean that i will repeat the installation of ns2.33 and ns2.35 and the patch or not ? , all things will be there in the new version ?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 106
Quote:
you mention in your post # 98,
that i should update my version of ubuntu 11.04 to another version
Not post # 98, but # 101 :
It's about the different update levels for Ubuntu 11.04 .
I.e. the package linux-libc-dev has made changes in the original file structure.
May be an updated version of gcc41-compat (for later Ubuntu's) will work.
I will check, and come back with an answer.
It's the gcc41-compat, with the hidden locations / files
linked into the gcc search paths inside gcc41.
Tested : Works perfectly on the 32bits Ubuntu 11.04 .
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 109
(You are supposed to have one nam in /usr/local/bin/ for all versions of ns2. https://docs.google.com/file/d/0B7S2...it?usp=sharing
tar xvf nam-1.14.i586.tar.gz && cd nam-1.14.i586/ && sudo cp nam /usr/local/bin/)
Quote:
no nam opened and the terminal look like what i get in post #92
$ ns-hls hls.tcl : Works OK here : Creates "hls_test.tr".
There is no nam file for this example.
The examples ssoumayaa*.tcl will create like fangzhen1.nam, fangzhen1.tr .
Please see elsewhere in the gpsr-hls thread(s),
and /usr/local/lib/gpsr-hls/ns-allinone-2.33/hls-utils/, for all examples.
and what about the file "hls.tcl" how can i see its simulation ?, cause , there is no nam file created when i run it with :
ns-hls hls.tcl
and another question , when i tape ns-hls hls.tcl or ns-hls ssoumayaa.tcl an error message appear
"couldn't open "fangzhen1.tr": permission denied
while executing
"open fangzhen1.tr w"
invoked from within
"set tracefd [open fangzhen1.tr w] "
(file "ssoumayaa.tcl" line 119)"
but when i run it as i'm super user with this command " sudo -u root xterm"
it work fine as i said in the begin , so how can i run it as i'm a simple user not root ?
when i run the file wireless-gpsr.tcl from the kliu patch , an error appear :
"num_nodes is set 100
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
GPSR configuration file
INITIALIZE THE LIST xListHead
(_o29 cmd line 1)
invoked from within
"_o29 cmd addr 0"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o29" line 2)
(SplitObject unknown line 2)
invoked from within
"$ragent addr $addr"
(procedure "create-gpsr-routing-agent" line 15)
invoked from within
"create-gpsr-routing-agent $node $id"
(procedure "gpsr-create-mobile-node" line 44)
invoked from within
"gpsr-create-mobile-node $i"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $opt(nn) } {incr i} {
gpsr-create-mobile-node $i
$node_($i) namattach $namfile
}"
(file "wireless-gpsr.tcl" line 264)"
normally this file generate nam interface ,or a file.nam
i'm wondering if it's a problem in my gpsr-hls patch or the problem from this file( "gpsr-wireless.tcl") please help me , what you
@knudfl , thanks for your reply , i know that not necessary that when we excute a tcl file a nam opened , and for the links that you post in post #115 there are about fixed nodes and i want to see some mobiles nodes with gpsr protocol( just for test , even with two nodes )
and for post #116
i mean by run that i excute it with my new binary ns : ns-hls (that support gpsr protocol) and i did this command:
ns-hls wireless-gpsr.tcl
its not possible to run wireless-gpsr with the ns-hls ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.