LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-18-2015, 05:28 PM   #61
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

Re #60.

You asked about running uw_mac ( UnderwaterMac ).
And I showed that UnderwaterMac actually is in all the tcl simulation examples.
So I guess that you will run uw_mac / UnderwaterMac with the examples.tcl .

? Which part of post #59 is it that you don't understand ? ?

-
 
Old 04-28-2015, 01:35 PM   #62
sea.shiva
LQ Newbie
 
Registered: Apr 2015
Posts: 3

Rep: Reputation: Disabled
installing aquasim on ubuntu14.04 64 bit

#4

Dear sir,
I am a newbie running ubuntu 14.04 (64 bit) and i want to install aquasim.
I have been able to install aquasim successfully, but when i run the ./validate command it shows that some test cases have failed.

validate overall report: some tests failed:
./test-all-srm ./test-all-smac-multihop ./test-all-hier-routing ./test-all-algo-routing ./test-all-lan ./test-all-mcast ./test-all-vc ./test-all-session ./test-all-mixmode ./test-all-red ./test-all-webcache ./test-all-mcache ./test-all-plm ./test-all-wireless-shadowing ./test-all-wireless-tdma ./test-all-wireless-diffusion ./test-all-satellite ./test-all-WLtutorial ./test-all-energy ./test-all-snoop

also when i type the command ns it shows:
The program 'ns' is currently not installed. You can install it by typing:
sudo apt-get install ns2

Please help
Thanks in advance
 
Old 04-28-2015, 01:37 PM   #63
sea.shiva
LQ Newbie
 
Registered: Apr 2015
Posts: 3

Rep: Reputation: Disabled
I followed the instructions as it says on
https://dreamwold.wordpress.com/2011...llation-guide/
 
Old 04-28-2015, 02:04 PM   #64
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #62.

No reason to run ./validate. Nothing you can do for the failed tests.
Some group tests will always fail with a 64bits OS.
And then some more group tests will fail because of the added "Aqua".
( There are about 100 group tests, which runs the ~2,000 tests.)

To run all the simulations : Use a recommended 32bits OS.


* The 'ns' command :
cd ns-2.30/ && sudo make install
('make install' will copy ns to /usr/local/bin/.)
* The 'ns-aqua' command :
cp ns ns-aqua && sudo cp ns-aqua /usr/local/bin/
! All uw simulations.tcl can be run with 'ns-aqua file.tcl'.

The link https://dreamwold.wordpress.com/2011/06/ is dated 'June 2011'.
( "https://dreamwold.wordpress.com/2011/06/09/....".)
The instructions in post #57 : 'Apr 2015'.
* Beware of ns2 on the Internet :
Most "tutorials" are written by young students, using Linux and ns2 for the first time.
And the texts are mostly copies of texts from other young students.


-

Last edited by knudfl; 04-28-2015 at 02:06 PM.
 
Old 04-29-2015, 01:42 PM   #65
sea.shiva
LQ Newbie
 
Registered: Apr 2015
Posts: 3

Rep: Reputation: Disabled
Dear sir,

Thanks again for your help. I was able to run ns successfully.
I also followed the steps given in this thread to install aqua3d and was able to run a trace file too.

But when I try to run nam it shows:
The program 'nam' is currently not installed. You can install it by typing:
sudo apt-get install nam

Will it be fine if I installed nam using sudo apt-get install nam?

Thanks a lot for your help
 
Old 04-29-2015, 02:49 PM   #66
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #65.

Nam : No Ubuntu nam packages have been usable for about a year.

You can download a nam package here ...
http://www.linuxquestions.org/questi...-4175524760/#2

... When downloaded, please click the package to install it.

-
 
Old 05-02-2015, 05:16 PM   #67
eng ehab
LQ Newbie
 
Registered: Mar 2015
Posts: 8

Rep: Reputation: Disabled
Dear sir,
please help me i want code written by C ++ that make that check both beginning slot time and free channel and when this checked true send packet to buffer and when this checked false wait random time and make this action again

Last edited by eng ehab; 05-05-2015 at 10:20 PM.
 
Old 09-16-2015, 09:05 PM   #68
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
sir, i also wanna the tcl file of H2-DAB, ACMTCD, CODBR, DSDBR routing protocol working in underwater wireless network
 
Old 09-16-2015, 09:07 PM   #69
tmsherazi
Member
 
Registered: Dec 2014
Posts: 30

Rep: Reputation: Disabled
Sir, give me letrature or tcl file of routing protocol working in underwater wireless sensor network
 
Old 10-16-2016, 09:03 AM   #70
Eng. Mary
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by tmsherazi View Post
Thanks dear sir i have successfully installed aquasim, i run the hop_by_hop_VBF_example.tcl,

sir what meant of this command "sudo cp ns-aqua /usr/local/bin", and i cant find the location of ns-aqua folder, the aquasim folder is placed at desktop.

sir please give me some tips to write the tcl script for dbr routing protocol. i want to compare the different routing protocols working in underwater wireless sensor network. is there any source from where tcl file of different routing protocol will be available.

Kindly help me out to solve my problem with installation Aqua-sim.


Part of result:
example.c:34: error: parameter ‘dictionary’ is initialized
example.c:35: error: expected declaration specifiers before ‘uLong’
example.c:37: error: expected ‘)’ before ‘*’ token
example.c:39: error: expected declaration specifiers or ‘...’ before ‘Byte’
example.c:39: error: expected declaration specifiers or ‘...’ before ‘uLong’
example.c:41: error: expected ‘)’ before ‘*’ token
example.c:42: error: expected ‘)’ before ‘*’ token
example.c:44: error: expected ‘)’ before ‘*’ token
example.c:46: error: expected ‘)’ before ‘*’ token
example.c:48: error: expected ‘)’ before ‘*’ token
example.c:49: error: expected ‘)’ before ‘*’ token
example.c:51: error: expected ‘)’ before ‘*’ token
example.c:52: error: expected ‘)’ before ‘*’ token
example.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Byte’
example.c:61: error: expected declaration specifiers before ‘uLong’
example.c:62: error: old-style parameter declarations in prototyped function definition
example.c:64: error: ‘uLong’ undeclared (first use in this function)
example.c:64: error: (Each undeclared identifier is reported only once
example.c:64: error: for each function it appears in.)
example.c:64: error: expected ‘;’ before ‘len’
example.c:66: error: ‘compr’ undeclared (first use in this function)
example.c:66: error: ‘comprLen’ undeclared (first use in this function)
example.c:66: error: expected ‘)’ before ‘Bytef’
example.c:66: error: ‘hello’ undeclared (first use in this function)
example.c:66: error: ‘len’ undeclared (first use in this function)
example.c:67: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:67: error: ‘stderr’ undeclared (first use in this function)
example.c:67: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:69: warning: incompatible implicit declaration of built-in function ‘strcpy’
example.c:69: error: ‘uncompr’ undeclared (first use in this function)
example.c:71: error: ‘uncomprLen’ undeclared (first use in this function)
example.c:72: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:72: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:75: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:76: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:78: warning: incompatible implicit declaration of built-in function ‘printf’
example.c: In function ‘test_gzio’:
example.c:87: error: expected declaration specifiers before ‘Byte’
example.c:88: error: expected declaration specifiers before ‘uLong’
example.c:94: warning: incompatible implicit declaration of built-in function ‘strlen’
example.c:94: error: ‘hello’ undeclared (first use in this function)
example.c:95: error: ‘gzFile’ undeclared (first use in this function)
example.c:95: error: expected ‘;’ before ‘file’
example.c:98: error: ‘file’ undeclared (first use in this function)
example.c:100: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:100: error: ‘stderr’ undeclared (first use in this function)
example.c:101: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:105: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:106: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:109: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:110: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:117: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:118: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:120: warning: incompatible implicit declaration of built-in function ‘strcpy’
example.c:123: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:124: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:127: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:128: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:130: warning: incompatible implicit declaration of built-in function ‘printf’
example.c:135: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:137: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:141: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:142: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:146: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:147: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:152: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:153: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:156: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:157: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:159: warning: incompatible implicit declaration of built-in function ‘printf’
example.c: In function ‘test_deflate’:
example.c:170: error: expected declaration specifiers before ‘Byte’
example.c:171: error: expected declaration specifiers before ‘uLong’
example.c:173: error: ‘z_stream’ undeclared (first use in this function)
example.c:173: error: expected ‘;’ before ‘c_stream’
example.c:175: error: ‘uLong’ undeclared (first use in this function)
example.c:175: error: expected ‘;’ before ‘len’
example.c:177: error: ‘c_stream’ undeclared (first use in this function)
example.c:177: error: ‘alloc_func’ undeclared (first use in this function)
example.c:177: error: expected ‘;’ before numeric constant
example.c:178: error: ‘free_func’ undeclared (first use in this function)
example.c:178: error: expected ‘;’ before numeric constant
example.c:179: error: ‘voidpf’ undeclared (first use in this function)
example.c:179: error: expected ‘;’ before numeric constant
example.c:182: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:182: error: ‘stderr’ undeclared (first use in this function)
example.c:182: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:184: error: ‘Bytef’ undeclared (first use in this function)
example.c:184: error: expected expression before ‘)’ token
example.c:187: error: ‘len’ undeclared (first use in this function)
example.c:190: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:190: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:197: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:197: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:201: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:201: warning: incompatible implicit declaration of built-in function ‘exit’
example.c: In function ‘test_inflate’:
example.c:208: error: expected declaration specifiers before ‘Byte’
example.c:209: error: expected declaration specifiers before ‘uLong’
example.c:212: error: ‘z_stream’ undeclared (first use in this function)
example.c:212: error: expected ‘;’ before ‘d_stream’
example.c:214: warning: incompatible implicit declaration of built-in function ‘strcpy’
example.c:216: error: ‘d_stream’ undeclared (first use in this function)
example.c:216: error: ‘alloc_func’ undeclared (first use in this function)
example.c:216: error: expected ‘;’ before numeric constant
example.c:217: error: ‘free_func’ undeclared (first use in this function)
example.c:217: error: expected ‘;’ before numeric constant
example.c:218: error: ‘voidpf’ undeclared (first use in this function)
example.c:218: error: expected ‘;’ before numeric constant
example.c:225: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:225: error: ‘stderr’ undeclared (first use in this function)
example.c:225: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:231: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:231: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:235: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:235: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:237: error: ‘hello’ undeclared (first use in this function)
example.c:238: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:239: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:241: warning: incompatible implicit declaration of built-in function ‘printf’
example.c: In function ‘test_large_deflate’:
example.c:249: error: expected declaration specifiers before ‘Byte’
example.c:250: error: expected declaration specifiers before ‘uLong’
example.c:252: error: ‘z_stream’ undeclared (first use in this function)
example.c:252: error: expected ‘;’ before ‘c_stream’
example.c:255: error: ‘c_stream’ undeclared (first use in this function)
example.c:255: error: ‘alloc_func’ undeclared (first use in this function)
example.c:255: error: expected ‘;’ before numeric constant
example.c:256: error: ‘free_func’ undeclared (first use in this function)
example.c:256: error: expected ‘;’ before numeric constant
example.c:257: error: ‘voidpf’ undeclared (first use in this function)
example.c:257: error: expected ‘;’ before numeric constant
example.c:260: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:260: error: ‘stderr’ undeclared (first use in this function)
example.c:260: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:263: error: ‘uInt’ undeclared (first use in this function)
example.c:263: error: expected ‘;’ before ‘comprLen’
example.c:269: error: expected ‘;’ before ‘uncomprLen’
example.c:271: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:271: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:273: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:274: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:280: error: expected ‘;’ before ‘comprLen’
example.c:282: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:282: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:287: error: expected ‘;’ before ‘uncomprLen’
example.c:289: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:289: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:293: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:294: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:297: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:297: warning: incompatible implicit declaration of built-in function ‘exit’
example.c: In function ‘test_large_inflate’:
example.c:304: error: expected declaration specifiers before ‘Byte’
example.c:305: error: expected declaration specifiers before ‘uLong’
example.c:308: error: ‘z_stream’ undeclared (first use in this function)
example.c:308: error: expected ‘;’ before ‘d_stream’
example.c:310: warning: incompatible implicit declaration of built-in function ‘strcpy’
example.c:312: error: ‘d_stream’ undeclared (first use in this function)
example.c:312: error: ‘alloc_func’ undeclared (first use in this function)
example.c:312: error: expected ‘;’ before numeric constant
example.c:313: error: ‘free_func’ undeclared (first use in this function)
example.c:313: error: expected ‘;’ before numeric constant
example.c:314: error: ‘voidpf’ undeclared (first use in this function)
example.c:314: error: expected ‘;’ before numeric constant
example.c:317: error: ‘uInt’ undeclared (first use in this function)
example.c:317: error: expected ‘;’ before ‘comprLen’
example.c:320: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:320: error: ‘stderr’ undeclared (first use in this function)
example.c:320: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:324: error: expected ‘;’ before ‘uncomprLen’
example.c:327: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:327: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:331: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:331: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:334: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:335: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:337: warning: incompatible implicit declaration of built-in function ‘printf’
example.c: In function ‘test_flush’:
example.c:345: error: expected declaration specifiers before ‘Byte’
example.c:346: error: expected declaration specifiers before ‘uLong’
example.c:348: error: ‘z_stream’ undeclared (first use in this function)
example.c:348: error: expected ‘;’ before ‘c_stream’
example.c:350: error: ‘uInt’ undeclared (first use in this function)
example.c:350: error: expected ‘;’ before ‘len’
example.c:352: error: ‘c_stream’ undeclared (first use in this function)
example.c:352: error: ‘alloc_func’ undeclared (first use in this function)
example.c:352: error: expected ‘;’ before numeric constant
example.c:353: error: ‘free_func’ undeclared (first use in this function)
example.c:353: error: expected ‘;’ before numeric constant
example.c:354: error: ‘voidpf’ undeclared (first use in this function)
example.c:354: error: expected ‘;’ before numeric constant
example.c:357: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:357: error: ‘stderr’ undeclared (first use in this function)
example.c:357: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:359: error: ‘Bytef’ undeclared (first use in this function)
example.c:359: error: expected expression before ‘)’ token
example.c:364: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:364: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:366: error: subscripted value is neither array nor pointer
example.c:367: error: ‘len’ undeclared (first use in this function)
example.c:371: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:371: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:374: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:374: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:376: error: invalid type argument of ‘unary *’
example.c: In function ‘test_sync’:
example.c:383: error: expected declaration specifiers before ‘Byte’
example.c:384: error: expected declaration specifiers before ‘uLong’
example.c:387: error: ‘z_stream’ undeclared (first use in this function)
example.c:387: error: expected ‘;’ before ‘d_stream’
example.c:389: warning: incompatible implicit declaration of built-in function ‘strcpy’
example.c:391: error: ‘d_stream’ undeclared (first use in this function)
example.c:391: error: ‘alloc_func’ undeclared (first use in this function)
example.c:391: error: expected ‘;’ before numeric constant
example.c:392: error: ‘free_func’ undeclared (first use in this function)
example.c:392: error: expected ‘;’ before numeric constant
example.c:393: error: ‘voidpf’ undeclared (first use in this function)
example.c:393: error: expected ‘;’ before numeric constant
example.c:399: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:399: error: ‘stderr’ undeclared (first use in this function)
example.c:399: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:402: error: ‘uInt’ undeclared (first use in this function)
example.c:402: error: expected ‘;’ before ‘uncomprLen’
example.c:405: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:405: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:407: error: expected ‘;’ before ‘comprLen’
example.c:409: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:409: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:413: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:415: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:418: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:418: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:420: warning: incompatible implicit declaration of built-in function ‘printf’
example.c: In function ‘test_dict_deflate’:
example.c:427: error: expected declaration specifiers before ‘Byte’
example.c:428: error: expected declaration specifiers before ‘uLong’
example.c:430: error: ‘z_stream’ undeclared (first use in this function)
example.c:430: error: expected ‘;’ before ‘c_stream’
example.c:433: error: ‘c_stream’ undeclared (first use in this function)
example.c:433: error: ‘alloc_func’ undeclared (first use in this function)
example.c:433: error: expected ‘;’ before numeric constant
example.c:434: error: ‘free_func’ undeclared (first use in this function)
example.c:434: error: expected ‘;’ before numeric constant
example.c:435: error: ‘voidpf’ undeclared (first use in this function)
example.c:435: error: expected ‘;’ before numeric constant
example.c:438: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:438: error: ‘stderr’ undeclared (first use in this function)
example.c:438: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:441: error: expected ‘)’ before ‘Bytef’
example.c:441: error: ‘dictionary’ undeclared (first use in this function)
example.c:442: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:442: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:444: error: ‘dictId’ undeclared (first use in this function)
example.c:446: error: ‘uInt’ undeclared (first use in this function)
example.c:446: error: expected ‘;’ before ‘comprLen’
example.c:448: error: ‘Bytef’ undeclared (first use in this function)
example.c:448: error: expected expression before ‘)’ token
example.c:449: error: expected ‘;’ before ‘strlen’
example.c:453: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:454: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:457: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:457: warning: incompatible implicit declaration of built-in function ‘exit’
example.c: In function ‘test_dict_inflate’:
example.c:464: error: expected declaration specifiers before ‘Byte’
example.c:465: error: expected declaration specifiers before ‘uLong’
example.c:468: error: ‘z_stream’ undeclared (first use in this function)
example.c:468: error: expected ‘;’ before ‘d_stream’
example.c:470: warning: incompatible implicit declaration of built-in function ‘strcpy’
example.c:472: error: ‘d_stream’ undeclared (first use in this function)
example.c:472: error: ‘alloc_func’ undeclared (first use in this function)
example.c:472: error: expected ‘;’ before numeric constant
example.c:473: error: ‘free_func’ undeclared (first use in this function)
example.c:473: error: expected ‘;’ before numeric constant
example.c:474: error: ‘voidpf’ undeclared (first use in this function)
example.c:474: error: expected ‘;’ before numeric constant
example.c:477: error: ‘uInt’ undeclared (first use in this function)
example.c:477: error: expected ‘;’ before ‘comprLen’
example.c:480: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:480: error: ‘stderr’ undeclared (first use in this function)
example.c:480: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:483: error: expected ‘;’ before ‘uncomprLen’
example.c:489: error: ‘dictId’ undeclared (first use in this function)
example.c:490: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:491: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:493: error: expected ‘)’ before ‘Bytef’
example.c:493: error: ‘dictionary’ undeclared (first use in this function)
example.c:496: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:496: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:500: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:500: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:502: error: ‘hello’ undeclared (first use in this function)
example.c:503: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:504: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:506: warning: incompatible implicit declaration of built-in function ‘printf’
example.c: In function ‘main’:
example.c:518: error: ‘Byte’ undeclared (first use in this function)
example.c:518: error: ‘compr’ undeclared (first use in this function)
example.c:518: error: ‘uncompr’ undeclared (first use in this function)
example.c:519: error: ‘uLong’ undeclared (first use in this function)
example.c:519: error: expected ‘;’ before ‘comprLen’
example.c:520: error: expected ‘;’ before ‘uncomprLen’
example.c:523: error: subscripted value is neither array nor pointer
example.c:524: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:524: error: ‘stderr’ undeclared (first use in this function)
example.c:525: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:528: warning: incompatible implicit declaration of built-in function ‘fprintf’
example.c:531: warning: incompatible implicit declaration of built-in function ‘printf’
example.c:534: error: expected expression before ‘)’ token
example.c:535: error: expected expression before ‘)’ token
example.c:541: warning: incompatible implicit declaration of built-in function ‘exit’
example.c:543: error: ‘comprLen’ undeclared (first use in this function)
example.c:543: error: ‘uncomprLen’ undeclared (first use in this function)
make: *** [example.o] Error 1
Zlib make failed, but it's optional Continue ...
============================================================
* Build tcl8.4.13
============================================================
creating 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.

Please help me .
 
Old 10-16-2016, 10:22 AM   #71
Eng. Mary
LQ Newbie
 
Registered: Oct 2016
Posts: 9

Rep: Reputation: Disabled
After a lot of changes i'm getting the following problem:

make: gcc-4.3: Command not found
make: *** [libotcl.a] Error 127
otcl-1.12 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


Please i need help this my M.Sc research
 
  


Reply

Tags
aqua3d, aquasim, ns2


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
[SOLVED] Aquasim:How insert mac protocol to aquasim vaj-bor Linux - Software 35 03-15-2017 06:43 PM
NS2 and Aquasim Preeti1910 Linux - Software 48 10-15-2016 01:09 PM
aquasim question MonaJalili Linux - Wireless Networking 6 05-12-2013 06:59 AM
aquasim varshitha Linux - Wireless Networking 0 01-29-2011 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10: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
Open Source Consulting | Domain Registration