![]() |
|
#1
|
|||
|
|||
Two-Tier data dissemination code installation problemHi everybody,
I am installing the TWO-TIER data dissemination code which is build upon ns-allinone-2.1b8a. when i am installing it using ./install cmd....on fedore core 2. will this when it is buiding ns-2.1b8a it is showing following errors.... warning: the use of `tmpnam' is dangerous, better use `mkstemp' tr-stat.o(.text+0x197): In function `sort_rlog(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:73: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x23f): In function `sort_url(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:88: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x2de):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:100: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x377):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:106: undefined reference to `__builtin_delete' tr-stat.o(.text+0x395):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:108: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x567): In function `lf_analyze(lf_entry &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:159: undefined reference to `__builtin_new' tr-stat.o(.text+0x5b2):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:159: undefined reference to `__builtin_delete' tr-stat.o(.text+0x665):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:174: undefined reference to `__builtin_delete' tr-stat.o(.text+0x675):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:174: undefined reference to `__rethrow' tr-stat.o(.text+0x833): In function `main': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:217: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x89e):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:217: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x91b):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:234: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x92f):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:235: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xa21):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:254: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xa31):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:254: undefined reference to `__rethrow' logparse.o(.text+0x222): In function `lf_get_next_entry(_IO_FILE *, lf_entry &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:55: undefined reference to `__builtin_vec_new' logparse.o(.text+0x293):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:62: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x2e2):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:67: undefined reference to `__builtin_vec_new' logparse.o(.text+0x32e):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:72: undefined reference to `__builtin_vec_new' logparse.o(.text+0x3fa):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:80: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x414):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:81: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x42e):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:82: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x44f):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:85: undefined reference to `__builtin_vec_delete' collect2: ld returned 1 exit status make[1]: *** [nlanr-tr-stat] Error 1 make[1]: Leaving directory `/root/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/nlanr' make[1]: Entering directory `/root/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/ucb' c++ -o ucb-tr-stat tr-stat.o logparse.o utils.o -L/root/ttddsource/ttdd/lib -ltcl8.3 -lnsl -ldl /root/ttddsource/ttdd/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xdf): In function `TclpCreateTempFile': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' tr-stat.o(.text+0x197): In function `sort_rlog(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:76: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x23f): In function `sort_url(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:92: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x2de):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:104: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x377):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:110: undefined reference to `__builtin_delete' tr-stat.o(.text+0x395):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:112: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x66d): In function `lf_analyze(lf_entry_st &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:194: undefined reference to `__builtin_new' tr-stat.o(.text+0x6c tr-stat.o(.text+0x779):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:209: undefined reference to `__builtin_delete' tr-stat.o(.text+0x789):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:209: undefined reference to `__rethrow' tr-stat.o(.text+0x94b): In function `main': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:252: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x9b6):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:252: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xb0d):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:284: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xb1d):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:284: undefined reference to `__rethrow' collect2: ld returned 1 exit status make[1]: *** [ucb-tr-stat] Error 1 make[1]: Leaving directory `/root/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/ucb' make: *** [all-recursive] Error 2 Ns make failed! See www.isi.edu for problems If anyone having knowledge regarding this. then plz help me out..that why it is occuring and how can i may solve it.... thanks in advance.... in need of ur help... NIDHI BANSAL IIT ROORKEE, INDIA. |
|||
|
#2
|
|||
|
|||
Re: Two-Tier data dissemination code installation problemQuote:
I don't have anything as old as fedora Core 2, but I know for a fact that the current version of ns (ns-allinone-2.31) can be installed on Fedora Core 3 systems. (I don't know what version gcc is on Core 2, but the 3.4.4 version on Core 3 is definitely OK). I know that you may not have the option of updating your operating system, but I don't know why you would want to install an older version of ns, since many errors have been fixed between 2.1b8 and 2.31. Bottom line: I can't say whether your problems are due to the operating system or the version of ns. I will say that I doubt that your problems are caused by versions. However, I see this: Quote:
Here's what I suggest: copy the entire ns-allinone....tar.gz to a brand new directory on your local machine. Copy it into a user directory, not something controlled by root. Make sure you are logged in as a "normal" user, not "root". (If at all possible, get the latest version of ns.) Untar the ns distribution (tar zxvf ns-allinone....tar.gz). cd into the ns-2... directory enter the following: Code:
This will create a file, named install.log, which will have all output from the build process. You can look at it later with a text editor. You can see the progress as it is happening by opening another terminal window, cd into the ns installation directory and enter Code:
You can quit the "tail" process by hitting ctrl-c. Let me know if you see anything different. In particular, if the installation is not successful, look in the install.log file and see where the first error messages start to occur. If you don't understand what is happening, then post the dozen or so lines before and after the first error message. (I am interested in error messages, not warnings; there are about a million warnings---maybe more---and they are usually benign.) Regards, Dave |
|
#3
|
|||
|
|||
Re: Two-Tier data dissemination code installation problemFIRST OF ALL THANKS DAVE AS U HAD REPLIED TO MY QUERY.
as u told to make a new directory and install as other user then root. i had created an account "nidhi". in home's directory of "nidhi" i had copied ns-allinone-2.1b8a. then i install it........then also it is showing the same error..... /home/nidhi/ttddsource/ttdd/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xdf): In function `TclpCreateTempFile': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' for i in indep-utils/cmu-scen-gen/setdest indep-utils/webtrace-conv/dec indep-utils/webtrace-conv/epa indep-utils/webtrace-conv/nlanr indep-utils/webtrace-conv/ucb; do ( cd $i; make all; ) done make[1]: Entering directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/cmu-scen-gen/setdest' gcc -o setdest setdest.o rng.o -Dstand_alone \ -lnsl -ldl -lm setdest.o(.text+0x7 /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:155: undefined reference to `__builtin_vec_new' setdest.o(.text+0xea):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:155: undefined reference to `__builtin_vec_delete' setdest.o(.text+0x12 setdest.o(.text+0x18f):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:168: undefined reference to `__builtin_vec_new' setdest.o(.text+0x1cd):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:171: undefined reference to `__builtin_vec_delete' setdest.o(.text+0x1dd):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:171: undefined reference to `__rethrow' setdest.o(.text+0x43a): In function `main': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:226: undefined reference to `__builtin_new' setdest.o(.text+0x475):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:226: undefined reference to `__builtin_delete' setdest.o(.text+0x7b1):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:288: undefined reference to `__builtin_delete' setdest.o(.text+0x7c1):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:288: undefined reference to `__rethrow' setdest.o(.text+0x9ac): In function `Node::Node(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/cmu-scen-gen/setdest/setdest.cc:330: undefined reference to `__builtin_vec_new' collect2: ld returned 1 exit status make[1]: *** [setdest] Error 1 make[1]: Leaving directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/cmu-scen-gen/setdest' make[1]: Entering directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/dec' c++ -o dec-tr-stat proxytrace.o formsquid.o formtxt.o my-endian.o proxytrace2any.o tr-stat.o -L/home/nidhi/ttddsource/ttdd/lib -ltcl8.3 -lnsl -ldl /home/nidhi/ttddsource/ttdd/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xdf): In function `TclpCreateTempFile': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' proxytrace2any.o(.text+0x32f): In function `main': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/proxytrace2any.cc:110: undefined reference to `__builtin_vec_new' proxytrace2any.o(.text+0x39a):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/proxytrace2any.cc:110: undefined reference to `__builtin_vec_delete' proxytrace2any.o(.text+0x4b9):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/proxytrace2any.cc:140: undefined reference to `__builtin_vec_delete' proxytrace2any.o(.text+0x4c9):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/proxytrace2any.cc:140: undefined reference to `__rethrow' tr-stat.o(.text+0x24b): In function `sort_url(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:78: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x2ea):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:90: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x383):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:96: undefined reference to `__builtin_delete' tr-stat.o(.text+0x3a1):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:98: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x613): In function `lf_analyze(TEntry &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:164: undefined reference to `__builtin_new' tr-stat.o(.text+0x65e):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:164: undefined reference to `__builtin_delete' tr-stat.o(.text+0x711):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:178: undefined reference to `__builtin_delete' tr-stat.o(.text+0x721):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/dec/tr-stat.cc:178: undefined reference to `__rethrow' collect2: ld returned 1 exit status make[1]: *** [dec-tr-stat] Error 1 make[1]: Leaving directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/dec' make[1]: Entering directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/epa' c++ -o epa-tr-stat -I. -I/home/nidhi/ttddsource/ttdd/tclcl-1.0b11 -I/home/nidhi/ttddsource/ttdd/otcl-1.0a7 -I/home/nidhi/ttddsource/ttdd/include -I/home/nidhi/ttddsource/ttdd/include tr-stat.o -L/home/nidhi/ttddsource/ttdd/lib -ltcl8.3 -lnsl -ldl /home/nidhi/ttddsource/ttdd/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xdf): In function `TclpCreateTempFile': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' tr-stat.o(.text+0x24b): In function `sort_url(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:101: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x2ea):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:113: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x383):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:119: undefined reference to `__builtin_delete' tr-stat.o(.text+0x3a1):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:121: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x51e): In function `lf_analyze(Entry &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:164: undefined reference to `__builtin_new' tr-stat.o(.text+0x569):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:164: undefined reference to `__builtin_delete' tr-stat.o(.text+0x619):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:178: undefined reference to `__builtin_delete' tr-stat.o(.text+0x629):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:178: undefined reference to `__rethrow' tr-stat.o(.text+0x855): In function `get_next_entry(Entry &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:218: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x9c3):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:230: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xb73): In function `main': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:272: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0xbde):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:272: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xcf1):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:296: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xd01):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/epa/tr-stat.cc:296: undefined reference to `__rethrow' collect2: ld returned 1 exit status make[1]: *** [epa-tr-stat] Error 1 make[1]: Leaving directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/epa' make[1]: Entering directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/nlanr' c++ -o nlanr-tr-stat tr-stat.o logparse.o -L/home/nidhi/ttddsource/ttdd/lib -ltcl8.3 -lnsl -ldl /home/nidhi/ttddsource/ttdd/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xdf): In function `TclpCreateTempFile': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' tr-stat.o(.text+0x197): In function `sort_rlog(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:73: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x23f): In function `sort_url(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:88: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x2de):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:100: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x377):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:106: undefined reference to `__builtin_delete' tr-stat.o(.text+0x395):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:108: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x567): In function `lf_analyze(lf_entry &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:159: undefined reference to `__builtin_new' tr-stat.o(.text+0x5b2):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:159: undefined reference to `__builtin_delete' tr-stat.o(.text+0x665):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:174: undefined reference to `__builtin_delete' tr-stat.o(.text+0x675):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:174: undefined reference to `__rethrow' tr-stat.o(.text+0x833): In function `main': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:217: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x89e):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:217: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x91b):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:234: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x92f):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:235: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xa21):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:254: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xa31):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/tr-stat.cc:254: undefined reference to `__rethrow' logparse.o(.text+0x222): In function `lf_get_next_entry(_IO_FILE *, lf_entry &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:55: undefined reference to `__builtin_vec_new' logparse.o(.text+0x293):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:62: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x2e2):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:67: undefined reference to `__builtin_vec_new' logparse.o(.text+0x32e):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:72: undefined reference to `__builtin_vec_new' logparse.o(.text+0x3fa):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:80: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x414):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:81: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x42e):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:82: undefined reference to `__builtin_vec_delete' logparse.o(.text+0x44f):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/nlanr/logparse.cc:85: undefined reference to `__builtin_vec_delete' collect2: ld returned 1 exit status make[1]: *** [nlanr-tr-stat] Error 1 make[1]: Leaving directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/nlanr' make[1]: Entering directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/ucb' c++ -o ucb-tr-stat tr-stat.o logparse.o utils.o -L/home/nidhi/ttddsource/ttdd/lib -ltcl8.3 -lnsl -ldl /home/nidhi/ttddsource/ttdd/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xdf): In function `TclpCreateTempFile': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' tr-stat.o(.text+0x197): In function `sort_rlog(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:76: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x23f): In function `sort_url(void)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:92: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x2de):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:104: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x377):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:110: undefined reference to `__builtin_delete' tr-stat.o(.text+0x395):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:112: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0x66d): In function `lf_analyze(lf_entry_st &)': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:194: undefined reference to `__builtin_new' tr-stat.o(.text+0x6c tr-stat.o(.text+0x779):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:209: undefined reference to `__builtin_delete' tr-stat.o(.text+0x789):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:209: undefined reference to `__rethrow' tr-stat.o(.text+0x94b): In function `main': /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:252: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x9b6):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:252: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xb0d):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:284: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xb1d):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:284: undefined reference to `__rethrow' collect2: ld returned 1 exit status make[1]: *** [ucb-tr-stat] Error 1 make[1]: Leaving directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/ucb' make: *** [all-recursive] Error 2 Ns make failed! See www.isi.edu for problems [nidhi@localhost ttdd]$ I had also run the command told by u..... after running that cmd following output came: [nidhi@localhost ttdd]$ tail -f install.log /nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:252: undefined reference to `__builtin_vec_new' tr-stat.o(.text+0x9b6):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:252: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xb0d):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:284: undefined reference to `__builtin_vec_delete' tr-stat.o(.text+0xb1d):/nfs/ruby/haldar/conser/ns-2.1b8/indep-utils/webtrace-conv/ucb/tr-stat.cc:284: undefined reference to `__rethrow' collect2: ld returned 1 exit status make[1]: *** [ucb-tr-stat] Error 1 make[1]: Leaving directory `/home/nidhi/ttddsource/ttdd/ns-2.1b8a/indep-utils/webtrace-conv/ucb' make: *** [all-recursive] Error 2 Ns make failed! See www.isi.edu for problems AND NOW AS U HAD ASKED THAT WHY I AM WORKING WITH TOO OLD VERSION OF NS2. ACTUALLY I HAVE TO RUN A CODE OF TWO-TIER DATA DISSEMINAION PROTOCOL WHICH WILL RUN ON ns-allinone-2.1b8a ONLY. CAN U GUIDE ME OUT IN RESOLVING OUT THIS PROBLEM? OR R U HAVING THE KNOWLEDGE THAT ON WHICH VERSION OF LINUX THIS VERSION OF NS2 WILL GET INSTALLED WITHOUT ANY COMPATIBLE ERROR? THANKS IN ADVANCE... IN WAIT OF REPLY..... |
|
#4
|
|||
|
|||
Re: Two-Tier data dissemination code installation problemQuote:
Since I have no way of testing anything on Fedora Core 2, and I have no intention of trying to figure out such an old version of ns, and I have no way of knowing how your system is set up, we will have to do some detective work. There may be a solution, and we may be able to find it. I will ask you to try a few things. 1. Go to your home directory ("normal" user, not root). 2. Create a new directory called test, and cd into that directory. 3. Open a new file named test.cc with your text editor and paste the following code CPP / C++ / C Code:
This is the same coding practice that is used in many of the crappy "C++" files in ns, namely they use C style headers and I/O but the C++ operators new and delete.. Save the file and enter the following on the command line: Code:
You should get some errors. Show me all compiler messages (warnings and/or errors). Paste the exact messages into your reply to this post. Then enter Code:
You should get no errors. If you get errors and they are the same as before, then tell me. If you get errors but they are different than before, then paste them directly into your reply to this post. If you get warnings but not errors, then paste the warnings into your reply. If you get no errors with g++, then enter the following: Code:
You should see something like the following; Code:
Repeat the previous steps but use c++ instead of g++. That is Code:
Now: If you got errors when trying g++ and/or c++, then enter the following at the command line: Code:
And paste the output into your reply. Also do the following commands (Just copy/paste from this post to your command line, one at a time.) Code:
Paste the output from these commands into your reply. Regards, Dave Footnote: On the internet when you enter anything in ALL UPPERCASE LETTERS, it is considered to be SHOUTING. Please don't shout. It gives me a headache. |
|
#5
|
|||
|
|||
Re: Two-Tier data dissemination code installation problemHello,
I had followed all the steps told. Firstly i logged in as another user than "root". There in the home directory of that user i had made a directory "test" and save the program file "test.c" in that directory. Than i run the cmd... "gcc test.c". the following errors occurs. [nidhi@localhost test]$ gcc test.c test.c: In function `main': test.c:5: error: stray '\302' in program test.c:5: error: stray '\240' in program test.c:5: error: stray '\302' in program test.c:5: error: stray '\240' in program test.c:6: error: stray '\302' in program test.c:6: error: stray '\240' in program test.c:6: error: stray '\302' in program test.c:6: error: stray '\240' in program test.c:6: error: `new' undeclared (first use in this function) test.c:6: error: (Each undeclared identifier is reported only once test.c:6: error: for each function it appears in.) test.c:6: error: syntax error before "int" test.c:7: error: stray '\302' in program test.c:7: error: stray '\240' in program test.c:7: error: stray '\302' in program test.c:7: error: stray '\240' in program test.c:7: error: `for' loop initial declaration used outside C99 mode test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:9: error: stray '\302' in program test.c:9: error: stray '\240' in program test.c:9: error: stray '\302' in program test.c:9: error: stray '\240' in program test.c:11: error: stray '\302' in program test.c:11: error: stray '\240' in program test.c:11: error: stray '\302' in program test.c:11: error: stray '\240' in program test.c:11: error: `for' loop initial declaration used outside C99 mode test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:13: error: stray '\302' in program test.c:13: error: stray '\240' in program test.c:13: error: stray '\302' in program test.c:13: error: stray '\240' in program test.c:14: error: stray '\302' in program test.c:14: error: stray '\240' in program test.c:14: error: stray '\302' in program test.c:14: error: stray '\240' in program [nidhi@localhost test]$ After this i run the same code with cmd...."g++ test.c". The following errors occurs. [nidhi@localhost test]$ g++ test.c test.c: In function `int main()': test.c:5: error: stray '\302' in program test.c:5: error: stray '\240' in program test.c:5: error: stray '\302' in program test.c:5: error: stray '\240' in program test.c:6: error: stray '\302' in program test.c:6: error: stray '\240' in program test.c:6: error: stray '\302' in program test.c:6: error: stray '\240' in program test.c:7: error: stray '\302' in program test.c:7: error: stray '\240' in program test.c:7: error: stray '\302' in program test.c:7: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:9: error: stray '\302' in program test.c:9: error: stray '\240' in program test.c:9: error: stray '\302' in program test.c:9: error: stray '\240' in program test.c:11: error: stray '\302' in program test.c:11: error: stray '\240' in program test.c:11: error: stray '\302' in program test.c:11: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:13: error: stray '\302' in program test.c:13: error: stray '\240' in program test.c:13: error: stray '\302' in program test.c:13: error: stray '\240' in program test.c:14: error: stray '\302' in program test.c:14: error: stray '\240' in program test.c:14: error: stray '\302' in program test.c:14: error: stray '\240' in program [nidhi@localhost test]$ Then i run the cmd........"c++ test.c". The following errors occurs. [nidhi@localhost test]$ c++ test.c test.c: In function `int main()': test.c:5: error: stray '\302' in program test.c:5: error: stray '\240' in program test.c:5: error: stray '\302' in program test.c:5: error: stray '\240' in program test.c:6: error: stray '\302' in program test.c:6: error: stray '\240' in program test.c:6: error: stray '\302' in program test.c:6: error: stray '\240' in program test.c:7: error: stray '\302' in program test.c:7: error: stray '\240' in program test.c:7: error: stray '\302' in program test.c:7: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:8: error: stray '\302' in program test.c:8: error: stray '\240' in program test.c:9: error: stray '\302' in program test.c:9: error: stray '\240' in program test.c:9: error: stray '\302' in program test.c:9: error: stray '\240' in program test.c:11: error: stray '\302' in program test.c:11: error: stray '\240' in program test.c:11: error: stray '\302' in program test.c:11: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:12: error: stray '\302' in program test.c:12: error: stray '\240' in program test.c:13: error: stray '\302' in program test.c:13: error: stray '\240' in program test.c:13: error: stray '\302' in program test.c:13: error: stray '\240' in program test.c:14: error: stray '\302' in program test.c:14: error: stray '\240' in program test.c:14: error: stray '\302' in program test.c:14: error: stray '\240' in program [nidhi@localhost test]$ After this i run the cmd.........."rpm -qa|grep gcc" and the following is the output... [nidhi@localhost test]$ rpm -qa|grep gcc gcc-objc-3.3.2-1 gcc-java-3.3.2-1 libgcc-3.3.2-1 gcc-c++-3.3.2-1 gcc-3.3.2-1 gcc-g77-3.3.2-1 gcc32-3.2.3-6 [nidhi@localhost test]$ Then the respective cmd run and the output as shown........ [nidhi@localhost test]$ ls -l `which gcc` -rwxr-xr-x 2 root root 83668 Oct 23 2003 /usr/bin/gcc [nidhi@localhost test]$ ls -l `which g++` -rwxr-xr-x 4 root root 84628 Oct 23 2003 /usr/bin/g++ [nidhi@localhost test]$ ls -l `which c++` -rwxr-xr-x 4 root root 84628 Oct 23 2003 /usr/bin/c++ [nidhi@localhost test]$ NIDHI BANSAL. |
|
#6
|
|||
|
|||
Re: Two-Tier data dissemination code installation problemQuote:
Sigh... Did you copy/paste the code directly from my post? What text editor were you using? The point was to get a valid C++ program onto your machine so that we could determine whether g++ could access the C++ libraries in a simple case. Have you ever compiled any C program on your system? Have you ever compiled any C++ program on your system? Quote:
The above output indicates that they should work together OK. (But you have to feed them valid C or C++ programs without the invalid characters that you somehow ended up with.) Quote:
The point of this was to discover whether there were some kind of symbolic links or aliases or environment variables set up for some non-standard compiling programs. The output that you show ehre seems to indicate that everything is in place. I should also have asked you to enter the following: Code:
Bottom line: These are very old compilers and you are using them to try to compile a very old version of ns. I doubt that more recent compilers would be more successful in compiling older code, since much older code (not just ns, but lots of legacy code) uses various compiler and library features (extensions or bug workarounds) that are actually not valid for more recent compilers. I'm not at all sure that I can help, but if you can try again to compile the c++ code that I gave you, it might give some clues. Regards, Dave Footnote: You indicated that you are required to use this very old version of ns. It's none of my business, but I have to ask why. Is there some specific "feature" that was not propagated to later versions or what? If use of this old version was a specific assignment, then I respectfully suggest that you go back to the individual that gave the assignment and try to find out why this is a requirement, and to get local help in installing the program. Otherwise: Update your Linux to something like Centos5 or Fedora Core 6 or 7 (or any other recent distribution). Then download the latest revision of ns and start fresh. I have had no trouble installing ns-2.31 with Fedora Core 3 and later and with Centos 5. Last edited by davekw7x : 16-Sep-2007 at 10:05.
|
|
#7
|
|||
|
|||
Re: Two-Tier data dissemination code installation problemQuote:
If the energy model was your problem, then I respectfully suggest that you might have more success installing the latest version of ns and using the methodology outlined in the link. Regards, Dave |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
| problem with code | arikeri | C++ Forum | 3 | 06-Mar-2005 01:22 |
| qmail installation problem | dharm_shankar | Computer Software Forum - Linux | 3 | 06-Feb-2004 05:15 |
| problem with C code | belludandy | C Programming Language | 1 | 26-Jan-2004 22:28 |
| problem with php5 cgi installation | fab13 | Apache Web Server Forum | 3 | 19-Nov-2003 10:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The