LinuxQuestions.org
Visit Jeremy's Blog.
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 12-22-2013, 10:27 AM   #631
mhmdmahdi
Member
 
Registered: Nov 2013
Location: Indonesia
Distribution: Ubuntu 12.04
Posts: 41

Rep: Reputation: 22

Quote:
Originally Posted by eng_mohamed_sc View Post
Please any replies??
which leach simulation version do you use? tarik's or exidus's?
google drive link you share don't exist, maybe you forget to enable share option when you upload the file. Enable share option so anybody can see and/or download the file.
 
Old 12-23-2013, 03:56 PM   #632
eng_mohamed_sc
Member
 
Registered: Jul 2013
Posts: 49

Rep: Reputation: Disabled
Quote:
which leach simulation version do you use? tarik's or exidus's?
google drive link you share don't exist, maybe you forget to enable share option when you upload the file. Enable share option so anybody can see and/or download the file.
I try to run original Leach "neither tarik's nor exidus's"

Sorry i have solve url paths now its work



https://docs.google.com/file/d/0BzXt...T1E/edit?pli=1
https://docs.google.com/file/d/0BzXt...Vlk/edit?pli=1
https://docs.google.com/file/d/0BzXt...d0E/edit?pli=1
https://docs.google.com/file/d/0BzXt...Nlk/edit?pli=1
https://docs.google.com/file/d/0BzXt...TzA/edit?pli=1

Last edited by eng_mohamed_sc; 12-23-2013 at 03:59 PM.
 
Old 12-27-2013, 07:31 AM   #633
rajamanjulasetty
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
Hello knudfl!

I made fresh installation on my PC, a ubuntu 32 bit OS, 12.04 version. ns-2.34-allinone.
"root@manjula:/home/manjula/ns-allinone-2.34# uname -a
Linux manjula 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013 i686 i686 i386 GNU/Linux" this shows that i am using 32bit ubuntu.

next after that, i installed ns-allinone-2.34 package and was done successfullyl. Then i installed gcc compilers as mentioned in post 566

"sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb
.. Then reboot, and the new compiler can be used :

cd ns-allinone-2.3x/ && export CC=gcc41 CXX=g++41 && ./install "

After reboting and issuing the command ( just above this line) , i am getting this error...
"
============================================================
* Build tcl8.4.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
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 works... no
configure: error: in `/home/manjula/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 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.
... "


Will this cause any further problems?. I have'nt yet installed leach "exidus-pegasis-leach-ns234-patch.2.tar.gz" as was suggested in post 555. I want to know if the above mentioned problem creates any problem while installing leach. If not then i will try to install leach and reort my status. Waiting for the replyl.
Thanks
Manjula
 
Old 12-27-2013, 11:44 AM   #634
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
# 633 .
Quote:
I have'nt yet installed leach "exidus-pegasis-leach-ns234-patch.2.tar.gz"
.
I want to know if the above mentioned problem
creates any problem while installing leach.
"exidus-pegasis-leach-ns234-patch.2.tar.gz" is LEACH (+ Pegasis).



Quote:
configure: error: C compiler cannot create executables
? Are you sure that you used packages from this link ?
#18 http://www.linuxquestions.org/questi...022/page2.html
... But then again, Ubuntu 12.04 can have got some new updates,
that I have not yet tested.

-

Last edited by knudfl; 12-27-2013 at 11:45 AM.
 
Old 12-27-2013, 10:38 PM   #635
rajamanjulasetty
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
Hi knudfl

"Are you sure that you used packages from this link ?
#18 http://www.linuxquestions.org/questi...022/page2.html"

Yes, i have downloaded form the link available at post #18 and then when i issued the command
" cd ns-allinone-2.34/ && export CC=gcc41 CXX=g++41 && ./instal "
I got that error " configure: error: C compiler cannot create executables ".

... But then again, Ubuntu 1"2.04 can have got some new updates,
that I have not yet tested."

Okay i can understand your situation. But another query, can i install leach available at "https://docs.google.com/uc?id=0BzLWx...CNWG1NQK&hl=en", an "ns-234-leach.tar.gz" pakcage ?.

If yes, then do i need the gcc41 and g++41 compilers? Since by default ubuntu 12.04 has 4.4, 4.5 and 4.6 versions (probably), do i need those gcc41 version? If no, then still i am stuck with " "invalid command Resouce/Energy .....". Finally what i would like to know is that " will compiler versions" have impact on leach installation and running it"?
 
Old 12-28-2013, 05:22 AM   #636
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
# 635 .
Quote:
" configure: error: C compiler cannot create executables ".
Did you check that the compilers really are installed ?
Please show the output from these commands :
a) $ which gcc41 <Enter>
b) $ which g++41 <Enter>
c) $ uname -m <Enter>

I updated an Ubuntu 12.04.3 this morning. No difference :
The compilers still work OK with a test "./install" of ns-allinone-2.34.

-
 
Old 12-28-2013, 09:02 AM   #637
rajamanjulasetty
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
Thank you for the speedy reply.

I will run those commands and will let you know on 30th dec. Since tomorrow is sunday - a holiday, i will go to the dept on monday and test.
Thanks
 
Old 12-28-2013, 04:10 PM   #638
eng_mohamed_sc
Member
 
Registered: Jul 2013
Posts: 49

Rep: Reputation: Disabled
?????????????
 
Old 12-30-2013, 01:27 AM   #639
eng_mohamed_sc
Member
 
Registered: Jul 2013
Posts: 49

Rep: Reputation: Disabled
Please I need your help at leach-c
I need CH nodes not to send their data to BS but send it to CH which closest to BS and data sent to BS through the closest CH node only

so what is the required code and when i will add these changes

Please help me...
 
Old 12-30-2013, 01:54 AM   #640
rajamanjulasetty
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
Hello knudfl ji,

following is the output what i got after installing gcc41, g++41, rebooting and then running the commands as follows..
1. command used " cd ns-allinone-2.34/ && export CC=gcc41 CXX=g++41 && ./install"
output
"
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 works... no
configure: error: in `/home/manjula/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 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."

Next command(s)are as follows along with the output
root@manjula:/home/manjula/ns-allinone-2.34# cd ..
root@manjula:/home/manjula# which gcc41
root@manjula:/home/manjula# which g++41
root@manjula:/home/manjula# uname -m
i686
root@manjula:/home/manjula# "


I would like to know my status. Kindly help me out.

Also you have mentioned in the post that...
" I updated an Ubuntu 12.04.3 this morning. No difference :
The compilers still work OK with a test "./install" of ns-allinone-2.34."

I am using ubuntu 12.04 not 12.04.3, hope this wont crete a problem?.

Next, have you integreated "pegasis_ns-234-leach" or "ns-234-leach".

What could be the reason to the problem i am facing?

Regards
Manjula
 
Old 12-30-2013, 08:26 AM   #641
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
# 640 .
Quote:
root@manjula:/home/manjula# which gcc41
root@manjula:/home/manjula# which g++41
Wrong command prompt (#) : See post #636 : $ <command>

With "/home/manjula/ns-allinone-2.34/" : No root commands, please.
The only exception is `make install'
! All other ns2 commands are to be done as unprivileged user :
The "./install", and all "ns file.tcl" commands, etc. !

The commands gcc41 and g++41 are not in root's PATH.
If you ever want to use those as root, please make a symlink to /usr/bin :
$ cd /usr/bin/
# ln -s ../gcc41/bin/gcc41
# ln -s ../gcc41/bin/g++41

-
 
Old 12-30-2013, 11:52 PM   #642
rajamanjulasetty
LQ Newbie
 
Registered: Aug 2013
Posts: 6

Rep: Reputation: Disabled
Hello knudfl ji

The following is the output what i got after issueing the commands, which gcc41,which g++41 and uname -m.
"
manjula@manjula:~$ which gcc41
/usr/gcc41/bin/gcc41
manjula@manjula:~$ which g++41
/usr/gcc41/bin/g++41
manjula@manjula:~$ uname -m
i686
"


I think the compiler is installed, however, i need the confirmation for your end. Next what is the step? Is it sufficient if i issue this command? " cd ns-allinone-2.34/ && export CC=gcc41 CXX=g++41 && ./install" the output is as follows.

manjula@manjula:~$ cd ns-allinone-2.34/ && export CC=gcc41 CXX=g++41 && ./install
============================================================
* Testing for Darwin (OS X) environment
============================================================
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Testing for FreeBSD environment
============================================================
FreeBSD not detected
============================================================
* Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strcasecmp... (cached) yes
creating ./config.status
creating Makefile
creating autoconf.h
autoconf.h is unchanged
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c
dialog.c: In function ‘make_msg_box’:
dialog.c:780:5: warning: passing argument 2 of ‘getline’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:675:20: note: expected ‘size_t * __restrict__’ but argument is of type ‘char *’
dialog.c:780:5: error: too few arguments to function ‘getline’
/usr/include/stdio.h:675:20: note: declared here
dialog.c: In function ‘getline’:
dialog.c:893:9: error: argument ‘lptr’ doesn’t match prototype
/usr/include/stdio.h:675:20: error: prototype declaration
dialog.c:899:1: error: number of arguments doesn’t match prototype
/usr/include/stdio.h:675:20: error: prototype declaration
make: *** [dialog.o] Error 1
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
gcc41 -g -I/usr/local/sgb/include test_graph.c gb_graph.o -o test_graph
gcc41 -g -I/usr/local/sgb/include test_flip.c gb_flip.o -o test_flip
./test_io
OK, the gb_io routines seem to work!
./test_graph
.................................................................................................... Hey, I allocated 10000000 bytes successfully. Terrific...
OK, the gb_graph routines seem to work!
./test_flip
OK, the gb_flip routines seem to work!
make gb_sort.o
make[1]: Entering directory `/home/manjula/ns-allinone-2.34/sgb'
make[1]: `gb_sort.o' is up to date.
make[1]: Leaving directory `/home/manjula/ns-allinone-2.34/sgb'
make lib
make[1]: Entering directory `/home/manjula/ns-allinone-2.34/sgb'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/home/manjula/ns-allinone-2.34/sgb'
make test_sample
make[1]: Entering directory `/home/manjula/ns-allinone-2.34/sgb'
gcc41 -g -I/usr/local/sgb/include -L. -L/usr/local/lib test_sample.c -lgb -lgb -o test_sample
make[1]: Leaving directory `/home/manjula/ns-allinone-2.34/sgb'
./test_sample > sample.out
diff test.gb test.correct
diff sample.out sample.correct
rm -f test.gb sample.out test_io test_io.exe test_graph test_graph.exe test_flip test_flip.exe test_sample test_sample.exe
echo "Congratulations --- the tests have all been passed."
Congratulations --- the tests have all been passed.
touch certified
============================================================
* 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... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
gcc41 -O3 -DUSE_MMAP -c -o example.o example.c
gcc41 -O3 -DUSE_MMAP -c -o adler32.o adler32.c
gcc41 -O3 -DUSE_MMAP -c -o compress.o compress.c
gcc41 -O3 -DUSE_MMAP -c -o crc32.o crc32.c
gcc41 -O3 -DUSE_MMAP -c -o gzio.o gzio.c
gcc41 -O3 -DUSE_MMAP -c -o uncompr.o uncompr.c
gcc41 -O3 -DUSE_MMAP -c -o deflate.o deflate.c
gcc41 -O3 -DUSE_MMAP -c -o trees.o trees.c
gcc41 -O3 -DUSE_MMAP -c -o zutil.o zutil.c
gcc41 -O3 -DUSE_MMAP -c -o inflate.o inflate.c
gcc41 -O3 -DUSE_MMAP -c -o infback.o infback.c
gcc41 -O3 -DUSE_MMAP -c -o inftrees.o inftrees.c
gcc41 -O3 -DUSE_MMAP -c -o inffast.o inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o
gcc41 -O3 -DUSE_MMAP -o example example.o -L. libz.a
gcc41 -O3 -DUSE_MMAP -c -o minigzip.o minigzip.c
gcc41 -O3 -DUSE_MMAP -o minigzip minigzip.o -L. libz.a
Zlib has been installed successfully.
============================================================
* Build tcl8.4.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
./configure: line 1974: config.log: Permission denied
./configure: line 1984: config.log: Permission denied
tcl8.4.18 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.
manjula@manjula:~/ns-allinone-2.34$

Then i gave my password at command prompt and then did the same, but this time the error is as follows.

root@manjula:/home/manjula# cd ns-allinone-2.34/ && export CC=gcc41 CXX=g++41 && ./install
============================================================
* Testing for Darwin (OS X) environment
============================================================
============================================================
* Testing for Cygwin environment
============================================================
Cygwin not detected, proceeding with regular install.
============================================================
* Testing for FreeBSD environment
============================================================
FreeBSD not detected
============================================================
* Build XGraph-12.1
============================================================
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking if malloc debugging is wanted... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries , headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for float.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strcasecmp... (cached) yes
creating ./config.status
creating Makefile
creating autoconf.h
autoconf.h is unchanged
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -c dialog.c
dialog.c: In function ‘make_msg_box’:
dialog.c:780:5: warning: passing argument 2 of ‘getline’ from incompatible pointer type [enabled by default]
/usr/include/stdio.h:675:20: note: expected ‘size_t * __restrict__’ but argument is of type ‘char *’
dialog.c:780:5: error: too few arguments to function ‘getline’
/usr/include/stdio.h:675:20: note: declared here
dialog.c: In function ‘getline’:
dialog.c:893:9: error: argument ‘lptr’ doesn’t match prototype
/usr/include/stdio.h:675:20: error: prototype declaration
dialog.c:899:1: error: number of arguments doesn’t match prototype
/usr/include/stdio.h:675:20: error: prototype declaration
make: *** [dialog.o] Error 1
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.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
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 works... no
configure: error: in `/home/manjula/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 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.
root@manjula:/home/manjula/ns-allinone-2.34#

I hope the second procedure is correct. It, yes then this is the error i am facing.
Awaiting for you reply

Regards
Manjula
 
Old 12-31-2013, 03:41 AM   #643
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,383

Rep: Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599Reputation: 3599
# 642 .
Quote:
root@manjula:/home/manjula/ns-allinone-2.34#
Seems you are still working as root. Not possible.
! Please read post #641 :
There is no gcc41/g++41 by default, when you are root !

And : You will have to edit post #642 to use code tags →
→ Edit → Go Advanced ... and use the # button.
* http://www.linuxquestions.org/questi....php?do=bbcode
* http://www.linuxquestions.org/questi...gs-4175464257/

-
 
Old 01-01-2014, 01:02 AM   #644
eng_mohamed_sc
Member
 
Registered: Jul 2013
Posts: 49

Rep: Reputation: Disabled
Please i am in a bad need for your help

i am starting a project for improve energy dissipated at leach-c ,i am using NS2 simulator ver 2.34 installed at Ubuntu 10.04 i need your help to allow CH node to use MTE while sending their aggregated data to BS and not send the data directly to BS.
 
Old 01-03-2014, 11:32 AM   #645
Aska123
Member
 
Registered: Apr 2013
Posts: 197

Rep: Reputation: Disabled
Hello Deepa_

i have installed leach in ns2.34

Now I want to to see my results in NAM

How to do this Pleases help.
Thanks
 
  


Reply

Tags
leach, leach-warning50, ns2, ns2 ns234, pegasis


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
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 04:23 AM
labview stopped at "init tmp resource files" on FC4 baosheng Linux - Software 2 09-28-2007 11:02 AM
ORiNOCO WLAN card not working - "failed to allocate resource" hauneboo Linux - Laptop and Netbook 1 11-29-2005 09:08 AM
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 12:07 PM
nvidia insmod: "Device or resource busy" w/GeForce 4 MX KeithSpook Linux - Hardware 4 03-03-2004 12:21 PM

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

All times are GMT -5. The time now is 09:47 PM.

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