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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
# 45 .
Repeat the the procedure in post #39 as many times as it takes to do it right.
No 'ns' : That's a failed build. I wonder why you didn't see any error output?
Are you sure that you have a 32bits (i686) OS ?
Please show the output from $ uname -m <Enter>
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
# 49.
OK, I'll rephrase : What is the error output, when you compile ?
→ You can check with : 1) cd ns-2.30/ ; 2) make
→ The last lines should show why 'ns' isn't compiled / linked.
OK, I'll rephrase : What is the error output, when you compile ?
→ You can check with : 1) cd ns-2.30/ ; 2) make
→ The last lines should show why 'ns' isn't compiled / linked.
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Build XGraph-12.1
============================================================
configure: error: expected an absolute directory name for --prefix: ../
make: *** No targets specified and no makefile found. Stop.
Can not create xgraph; But xgraph is an optional package, continuing...
============================================================
* Build CWeb
============================================================
Making cweb
gcc -g -c -o ctangle.o ctangle.c
ctangle.w:75:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
gcc -g -DCWEBINPUTS=\"/usr/local/lib/cweb\" -c common.c
common.w:1409:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
common.w: In function ‘fatal’:
common.w:1176:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o ctangle ctangle.o common.o
gcc -g -c -o cweave.o cweave.c
cweave.w:79:12: warning: conflicting types for built-in function ‘strlen’ [enabled by default]
cweave.w: In function ‘print_cat’:
cweave.w:1739:1: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -g -o cweave cweave.o common.o
ln: failed to create symbolic link `cweave': File exists
ln: failed to create symbolic link `ctangle': File exists
============================================================
* Build Stanford GraphBase
============================================================
Making sgb
gcc41 -g -I/usr/local/sgb/include test_io.c gb_io.o -o test_io
make: gcc41: Command not found
make: *** [test_io] Error 127
Unable to create sgb library, but it's optional, so continuing...
============================================================
* Build GT-ITM
============================================================
gcc -I../include -L../lib -DFBSD -o ../bin/itm itm.o geog.o ts.o dfs.o -lm -lgb
gcc -I../include -L../lib -DFBSD -o ../bin/sgb2alt sgb2alt.o -lm -lgb
gcc -I../include -L../lib -DFBSD -o ../bin/edriver edriver.o eval.o -lm -lgb
gt-itm has been installed successfully.
gcc -I../include -L../lib -o ../bin/sgb2comns sgb2comns.o -lm -lgb
gcc -I../include -L../lib -o ../bin/sgb2hierns sgb2hierns.o -lm -lgb
gcc -I../include -L../lib -o ../bin/sgb2ns sgb2ns.o -lm -lgb
sgb2ns has been installed successfully.
============================================================
* Build zlib
============================================================
Building static library libz.a version 1.2.3 with gcc41.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.
make: Nothing to be done for `all'.
Zlib has been installed successfully.
============================================================
* Build tcl8.4.13
============================================================
loading cache ./config.cache
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler (gcc41 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
# 52 .
Quote:
checking whether the C compiler (gcc41 ) works... no
No gcc41 was installed ?
If you think the {gcc41, g++41} packages were installed,
then please check for their presence with these commands :
$ which g++41
$ which gcc41
$ g++41 -v
$ gcc41 -v
hi....
i can't receive any AGT packet in vbf_example_5.tcl and vbf_example_6.tcl,,, there are the sending of AGT but not received ..i notic that from trace file when all my code implemented in aqua sim 1.0......plz can any one advice me
hi....
i can't receive any AGT packet in vbf_example_5.tcl and vbf_example_6.tcl,,, there are the sending of AGT but not received ..i notic that from trace file when all my code implemented in aqua sim 1.0......plz can any one advice me
We will 'advice' you to read the LQ Rules about text speak, and about not using it. Also, read the rules about re-opening old threads (this one had been closed for THREE YEARS), and not doing that, and about not hijacking someone elses thread with your own question.
I have run the above dbr tcl script but segmentation fault occure. kindly help me out, if anyone have dbr tcl script with out any error kindly send me. thank you.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Post #59, @dollmin : Welcome to LQ.
".. the above dbr tcl script" : Unknown file. Please specify a file name.
`aquasim-dbr-examples.tar.gz' https://drive.google.com/file/d/0B7S...ew?usp=sharing
... The only usable example for a contemporary OS is "dbr__mm93.tcl" :
$ ns-aqua dbr__mm93.tcl
.. But it may not work unless you are building the executable 'ns' with an old OS.
The old 'ns'/'ns-aqua' used for my test was built with an old install of Ubuntu 10.10.
I.e. not an updated version of "10.10".
So to make a similar executable 'ns', please use e.g. Ubuntu 9.10 - i386.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.