Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Re #46.
Quote:
$ which gcc32 : no result is shown
So you didn't actually install any rpm packages.
Considering the poor simulation result I got after using g++32-3.2.3,
... I'd suggest you start with the Redhat EL4 packages :
1) sudo apt-get install rpm
2) cd <folder with rpm`s>/
3) sudo rpm -Uvh --nodeps compat-gcc-32-3.2.3-47.3.i386.rpm compat-gcc-32-c++-3.2.3-47.3.i386.rpm
And you said you installed gcc34 ? Strange that it is refused by otcl.
? May be you didn't install that package either.
? What the output from $ which gcc34
thanks sir for these commands the problem of otcl 1.08a is solved
the result of $ which gcc34=usr/bin/gcc34
but i have other problem : can't find X library
NB: i installed: sudo apt-get install libx11-dev
sudo apt-get install libxt-dev
sudo apt-get install libstdc++5
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Re #48.
Quote:
but i have other problem : can't find X library
OK, that's in ns-2.26/ : Please delete "config.status".
( The old file config.status origins from the author`s build.
And obviously forgotten ('make distclean' omitted.) before he made the patch.)
You can also run 'make distclean' in ns-2.26/ to be sure it's clean.
I.e. I think there was another file to be cleaned out : tcl/lib/ns-autoconf.tcl
Both mentioned files are generated specifically for the actual OS / build location.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Re #50.
What do you mean by "all "config.status" files" ?
There is one file only by name config.status .
* Please reconfigure ns-2.26/ :
$ export CXX=g++32 && ./configure && make
.. or go to the top directory and run $ export CC=gcc34 CXX=g++32 && ./install
i don't find any file 'config.status"in ns-2.26 but i found many files with the same name in tclcl-1.0b13, Xgraph-12.1 TCL8.3.2 and tk8.3.2
and i do this reconfiguration but i had the same error
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
OK, some more issues in the patch ( also the new sip-full-udp_ns226.patch2 ) :
ns-2.26/config.cache : Please delete.
I made a new testbuild, Ubuntu 10.10.
Appears to be worse with compat-gcc-32-c++-3.2.3-47.3.i386.rpm :
"glibc etc. libs crash" by $ ns-sipUDP sip-example-udp-2.tcl
... where the other "g++32" just showed 'Segmentation fault'.
Possible solution : An ancient OS.
Remember that SIP is one of the most complicated ns2 protocol that exists.
Therefore no SIP for a new version of ns2.
And no SIP for ns3 : The ns3 development team estimates a year to write code for a new SIP.
thanks so much after i executed the tcl script "sip-example-udp.tcl" i had this problem:
warning: no class variable Application/Traffic/SipUdp::end_call_management_
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Application/Traffic/SipUdp::end_call_management_
see tcl-object.tcl in tclcl for info about this warning.
couldn't read file "udp_utils.tcl": no such file or directory
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Re #56.
HOWTO example : $ cd sip-examples2015/
(Or wherever you have all the sip examples, including the configuration file udp_utils.tcl)
$ ns-sip-udp sip-example-udp.tcl
... I am now at version 3, sip-example-udp-3.tcl https://drive.google.com/file/d/0B7S...ew?usp=sharing
My result, Slackware 9 , IBM 8189D6G ...
$ cd ns-allinone-2.26/ && patch -p0 < sip-full-udp_ns226.patch3 https://drive.google.com/file/d/0B7S...ew?usp=sharing
$ ./install : No issues, the default gcc/g++ is version 3.2.2 .
Code:
$ ns-sip-udp sip-example-udp-3.tcl
Start simulation with 33 Call/sec
warning: no class variable Application/Traffic/SipUdp::end_call_management_
see tcl-object.tcl in tclcl for info about this warning.
start_sip
time:3.94801137702617 stop number:12 from:2 to:1
time:5.1641389183033573 stop number:8 from:2 to:1
time:5.3092393961203506 stop number:32 from:1 to:2
time:5.6633943331709302 stop number:18 from:1 to:2
time:5.8126048266212376 stop number:21 from:2 to:1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.