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,511
Rep:
Re #31.
No need to show a link to sip-examples-2014.tar.gz, uploaded by me last year.
The file name will do.
Ubuntu 10.10 is in the old archive. New links are required in /etc/apt/sources.list :
$ sudo gedit /etc/apt/sources.list
... then delete all lines, and enter these 8 new lines :
Code:
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
Then you can do : $ sudo apt-get update && sudo apt-get install <packages>
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #27.
Quote:
can't read "link_(4:0)": no such element in array
You can add more "links" ( Starts at line ~43 : # nodes ).
I added some more :
set LO1 [$ns node]
set LO2 [$ns node]
set LO3 [$ns node]
set LO4 [$ns node]
set LO5 [$ns node]
set LO6 [$ns node]
.
.
set L46 [$ns node]
.. and the output is : can't read "link_(48:0)": no such element in array
.. so I guess you will have to trace how the number of "links" can be limited.
Or may be you will have to continue adding :
set L<?> [$ns node] ,,, till 100 .. 200 links ?
( The other script `sip-example-udp(-2).tcl' was also incomplete and required editing.)
thanks sir i added patch but when i execute ./install
i had this problem:
ns-allinone-2.26/tk8.3.2/unix/../generic/tk.h:83: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [tk3d.o] Error 1
tk8.3.2 make failed! Exiting
i'm using ubuntu 10.10 but i had the same problem that i posted with 12.04 of otcl 1.0a8 when executing ./install
Build OTcl-1.0a8
============================================================
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc32
checking for C compiler default output... configure: error: C compiler cannot create executables
otcl-1.0a8 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
NB: i installed "compat-gcc-32-c++-3.2.3-47.3.i386.rpm"
"compat-gcc-32-3.2.3-47.3.i386.rpm"
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #36.
Quote:
C compiler cannot create executables
.
.
I installed compat-gcc-32-c++-3.2.3-47.3.i386.rpm, compat-gcc-32-3.2.3-47.3.i386.rpm
Obviously not working.
... You installed a totally wrong compiler in Ubuntu 12.04.
And nobody ever promised you that the above Redhat EL4 packages can be used in Ubuntu 10.10.
Seems they cannot function with the Ubuntu 10.10 "libgcc_s.so.1".
the same problem : Build OTcl-1.0a8
============================================================
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc32
checking for C compiler default output... configure: error: C compiler cannot create executables
otcl-1.0a8 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #40.
Please do like : $ export CC=gcc34 CXX=g++32 && ./install
( That's what I used.)
I.e. no reason at all to use gcc32, if failing with some applications.
The important thing here is g++32 for the sip code.
(g++32 requires gcc32 to be installed.)
So for the C files it is gcc34 or gcc41 (gcc-4.3?), and for the C++ files g++32.
[QUOTE]
sorry sir,
i tried with gcc34 then gcc41 but no result
for example with : export CC=gcc41 CXX=g++32 && .\install
i had this problem :
Build OTcl-1.0a8
============================================================
No .configure file found in current directory
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc41
checking for C compiler default output... configure: error: C compiler cannot create executables
otcl-1.0a8 configuration failed! Exiting ...
Please check http://www.isi.edu/nsnam/ns/ns-problems.html
for common problems and bug fixes.
NB: i installed "gcc41-compat-4.1.2_i386.deb"
the same thing with gcc34
i installed "compat-gcc-34-3.4.6-4.1.i386.rpm"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.