Quote:
============================================================ * 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... gcc-4.2 checking whether the C compiler works... no configure: error: in `/home/wilson/Documents/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. I did this: export CC=gcc-4.2 CXX=g++-4.2 && ./install Before this, I have installed other gcc versions like 4.3, 3.3 but they all failed as well It seems all the gcc versions cannot compile, i.e. "checking whether the C compiler works... no" |
@magicbullet, post # 16.
'sudo apt-get install g++ g++-4.2' , etc. etc. GCC cannot be used for very much alone. You will have to install the g++** for all versions : g++ insures that the files required by gcc also will get installed. EDIT : See post # 22 .. |
Quote:
Anything else? Anyhow, by doing: sudo apt-get install g++-4.2 gcc-4.2, I still get the same error. I also did the following: sudo rm /usr/bin/gcc sudo ln -s /usr/bin/gcc-4.2 /usr/bin/gcc export CC=gcc-4.2 CXX=g++-4.2 && ./install Same error |
#18
Quote:
for dependency, when you type g++*. But there are problems with the older compilers in Ubuntu 11.04. Versions 3.3 , 3.4 , 4.2 don't work here either : Ubuntu 11.04, 64bits. I will look for a solution. And please tell, if you have a 64bits OS. The command : 'uname -a' will show. |
Quote:
|
Quote:
/usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status make: *** [tcl2c++] Error 1 tclcl-1.19 make failed! Exiting ... |
# 20-21.
Quote:
There seems to be a workaround for the 32bits Ubuntu 11.04 (Not 64bits) : cd /usr/local/lib/ && sudo ln -s /lib/i386-linux-gnu/libgcc_s.so.1 libgcc_s.so cd /usr/local/include/ && sudo ln -s /usr/include/i386-linux-gnu/asm/ Works with : export CC=gcc-4.2 CXX=g++-4.2 && ./install ( 4.3 should be OK too. Where did you get the "4.3" ? ) .. |
Quote:
Btw, how do I remove all the linkages, i.e. sudo ln -s /lib/i386-linux-gnu/libgcc_s.so.1 libgcc_s.so and sudo ln -s /usr/include/i386-linux-gnu/asm/? |
# 23
cd /usr/local/lib/ && sudo rm libgcc_s* cd /usr/local/include/ && sudo rm -r asm/ |
Hello every body
may any one help me to change this pseudo code to and real protocol I m not familiar with C++ Code:
Initialization |
same question~
Quote:
|
Hi MayTamer,
Could you please advise me how to download "leach-setup.sh" file from your link provided? When i clicked that link, it doesn't work at all. Thank in advance. |
# 27, @leminh1009.
The link works OK here. However, I have uploaded the files too some time ago, to provide a "second source". leach-setup234.sh = leach-setup.sh https://docs.google.com/uc?id=0B7S25...download&hl=en ns234-leach-042011.tar.bz2 = ns-234-leach.tar.gz https://docs.google.com/uc?id=0B7S25...download&hl=en .. |
You need to add a declaration of format_rca in cmu-trace.h
Code:
void format_imep(Packet *p, int offset); Quote:
---------- Post added 05-10-11 at 08:11 PM ---------- |
Please see my reply on Post #29
Quote:
|
All times are GMT -5. The time now is 06:33 PM. |