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 05-14-2015, 08:52 AM   #16
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled

dear master,

this is what comes out when i am typing those commands
i686
Ubuntu 13.04 \n \l

right now i'm downloading gcc-4.1.2. i'll keep in touch when i finish installing gcc.
just out of curiosity, what happened when i type the following command 'export CC=gcc-4.4 CXX=g++-4.4 && ./install'? (right now i have gcc-4.4)
i've got the following error

config.status: creating Makefile
rm -f libotcl.a otcl.o
gcc-4.4 -c -g -O2 -DNDEBUG -DUSE_SHM -I. -I/home/habib/ns-allinone-2.28/include -I/home/habib/ns-allinone-2.28/include -I/include otcl.c
ar cq libotcl.a otcl.o
ranlib libotcl.a
rm -f libotcl.so otcl.o so_locations
gcc-4.4 -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/habib/ns-allinone-2.28/include -I/home/habib/ns-allinone-2.28/include -I/include otcl.c
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/habib/ns-allinone-2.28/otcl-1.9/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/habib/ns-allinone-2.28/otcl-1.9/otcl.c:2283: undefined reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value
make: *** [libotcl.so] Error 1
otcl-1.9 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

i want to learn more about this. thank you for being a good teacher.
 
Old 05-15-2015, 05:22 AM   #17
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
greetings,

i have a problem in installing gcc-4.1.2. one of the link i'v been working on is http://csl.skku.edu/SSE3044F12/GCC
The problem is when i type make bootsrap
the following error goes like

Code:
../../gcc/crtstuff.c:305: error: expected declaration specifiers before asm
../../gcc/crtstuff.c:319: error: expected =, ,, ;, asm or __attribute__ before { token
../../gcc/crtstuff.c:345: error: expected declaration specifiers before asm
../../gcc/crtstuff.c:345: error: old-style parameter declarations in prototyped function definition
../../gcc/crtstuff.c:345: error: expected { at end of input
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/root/src/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/root/src/objdir/gcc'
make: *** [bootstrap] Error 2
when i type g++ -v, goes :

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.7/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --enable-targets=all --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)

i wonder if you could solve this problem. i'm really thankful for any reply. thank you.
 
Old 05-15-2015, 08:04 AM   #18
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
greetings,

i'm continuing installing gcc-4.1.2 and i'm following this site http://www.linuxfromscratch.org/lfs/...ter06/gcc.html
while i'm doing 'make', i've got the following problem

Code:
Configuring in ./libiberty
configure: loading cache ./config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -g -O2 
configure:   current value: -g -O2
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
make[1]: *** [configure-libiberty] Error 1
make[1]: Leaving directory `/home/habib/gcc-4.1.2/gcc-build'
make: *** [all] Error 2
while i'm running 'make distclean'

Code:
make[1]: Entering directory `/home/habib/gcc-4.1.2/gcc-build'
make[1]: Leaving directory `/home/habib/gcc-4.1.2/gcc-build'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
rm -f Makefile config.status config.cache mh-frag mt-frag
rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
if [ "i686-pc-linux-gnu" != "." ]; then \
	  rm -rf i686-pc-linux-gnu; \
	else true; fi
rm -rf build-i686-pc-linux-gnu
if [ "." != "." ]; then \
	  rm -rf .; \
	else true; fi
rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
rm -f texinfo/doc/Makefile texinfo/po/POTFILES
rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
make: [local-distclean] Error 1 (ignored)
and cannot run 'make'

while doing 'rm ./config.cache', i'm encountering the same problem

can you help me? thank you
 
Old 05-15-2015, 11:47 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #16, #17, #18.

I guess you will have to read post # 15 :
""Recommending the right gcc/g++ version 3.4.6 .. 4.1.2 : The OS must be specified.""
I.e. you were not supposed to do anything ....
.. before you received information about the "Ubuntu 13.04 - i686" compilers.
(And : Don't try to build any compiler from source, unless you are a skilled compiler builder.)
( LFS, GCC-4.1.2 http://www.linuxfromscratch.org/lfs/...ter06/gcc.html , 30 Aug 2007
... is for e.g. Ubuntu 7.04 .. 10.10 , not a contemporary Ubuntu version.)


Could be gcc/g++ -3.4.6 works best with ns-2.28 + evalvid :
$ export CC=gcc34 CXX=g++34 && ./install

Links to the Ubuntu 13.04 - i686 compilers :
compat-gcc34 https://drive.google.com/file/d/0B7S...ew?usp=sharing
compat-g++34 https://drive.google.com/file/d/0B7S...ew?usp=sharing

gcc41-compat https://drive.google.com/file/d/0B7S...ew?usp=sharing
g++41-compat https://drive.google.com/file/d/0B7S...ew?usp=sharing

Download the compilers, and click the four downloaded packages to install them.


-

Last edited by knudfl; 05-15-2015 at 11:51 AM.
 
Old 05-19-2015, 06:36 AM   #20
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
thank you very much. it really worked!
i'm really thankful for your help.

i'm working in video transmission using wireless ad hoc (AODV). while i'm using your sample, the error generation complete successfully. but while i'm using my edited tcl (https://drive.google.com/file/d/0Bwc...ew?usp=sharing), somehow it gets an error message

sd_a03 incomplete

can you tell me how to fix it? i'm using akiyo_cif as raw video
 
Old 05-28-2015, 06:02 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #20.
Quote:
sd_a03 incomplete
be_a03aodv.tcl : Missing file = st_a03.

By using a copy of st_a01 : No issues ? >>>
Code:
[knudfl@localhost habibalghani]$ ns-myevalvid2-1 be_a03aodv.tcl 
num_nodes is set 12                                                            
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl              
INITIALIZE THE LIST xListHead                                                  
9.9689999999999994                                                             
300 records                                                                    
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_                         
highestAntennaZ_ = 1.5,  distCST_ = 550.0                                      
SORTING LISTS ...DONE!                                                         
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 0, size 12)!  
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
MAC_802_11: accessing MAC cache_ array out of range (src 13, dst 10, size 12)! 
[suppressing additional MAC cache_ warnings]
.. The files out.nam 657kB, out.tr 471kB, rd_a03, sd_a03, video1.dat are created.
.. And 'nam' displays a seemingly perfect animation.

? May be you should also upload the missing file, st_a03.


-

Last edited by knudfl; 05-28-2015 at 06:04 AM.
 
Old 06-01-2015, 07:13 AM   #22
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
i get the trace by typing this
root@habib-pc:/home/habib/Downloads/preprocess# mp4trace -f -s 192.168.0.2 12346 a03.mp4 > st_a03
Track 1: Video (H.264) - 352x288 pixel, 300 samples, 00:00:10.000
Track 2: Hint (RTP) for track 1 - 300 samples, 00:00:10.000
Track 3: Video (H.264) - 352x288 pixel, 300 samples, 00:00:10.000
Track 4: Hint (RTP) for track 1 - 300 samples, 00:00:10.000
Track 5: Hint (RTP) for track 3 - 300 samples, 00:00:10.000
Track 6: Video (H.264) - 352x288 pixel, 300 samples, 00:00:10.000
Track 7: Hint (RTP) for track 1 - 300 samples, 00:00:10.000
Track 8: Hint (RTP) for track 3 - 300 samples, 00:00:10.000
Track 9: Hint (RTP) for track 6 - 300 samples, 00:00:10.000
Track 10: Video (H.264) - 352x288 pixel, 300 samples, 00:00:10.000
Track 11: Hint (RTP) for track 1 - 300 samples, 00:00:10.000
Track 12: Hint (RTP) for track 3 - 300 samples, 00:00:10.000
Track 13: Hint (RTP) for track 6 - 300 samples, 00:00:10.000
Track 14: Hint (RTP) for track 10 - 300 samples, 00:00:10.000
Track 15: Video (H.264) - 352x288 pixel, 300 samples, 00:00:10.000
Track 16: Hint (RTP) for track 1 - 300 samples, 00:00:10.000
Track 17: Hint (RTP) for track 3 - 300 samples, 00:00:10.000
Track 18: Hint (RTP) for track 6 - 300 samples, 00:00:10.000
Track 19: Hint (RTP) for track 10 - 300 samples, 00:00:10.000
Track 20: Hint (RTP) for track 15 - 300 samples, 00:00:10.000

the st_a03 is here
https://drive.google.com/file/d/0Bwc...ew?usp=sharing

the video is H.264. Can you help me?
 
Old 06-01-2015, 07:15 AM   #23
habibalghani
LQ Newbie
 
Registered: May 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
and also i'm trying out MPEG-4. while doing the psnr, the following error comes
Quote:
root@habib-pc:/home/habib/Downloads/preprocess# sudo etmp4 -F -x sd_ash rd_ash st_ash ash.mp4 ashrec
*** loss_ashrec.txt ***: percentage of lost [frames|packets]
column 1: I (including H)
column 2: P
column 3: B
column 4: overall

*** delay_ashrec.txt ***: jitter/delay statistics
column 1: [frame|packet] id
column 2: loss flag
column 3: end-to-end delay [s]
column 4: sender inter [frame|packet] lag [s]
column 5: receiver inter [frame|packet] lag [s]
column 6: cumulative jitter [s] [Hartanto et. al.]

*** rate_s_ashrec.txt ***: sender rate
column 1: time [s]
column 2: momentary rate [bytes/s]
column 3: cumulative rate [bytes/s]

*** rate_r_ashrec.txt ***: receiver rate
column 1: time [s]
column 2: momentary rate [bytes/s]
column 3: cumulative rate [bytes/s]

*** Error in `etmp4': double free or corruption (fasttop): 0x091672b0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x767e2)[0xb75717e2]
/lib/i386-linux-gnu/libc.so.6(+0x77530)[0xb7572530]
etmp4[0x807b412]
etmp4[0x807d317]
etmp4[0x804c440]
etmp4[0x804d7c3]
etmp4[0x804dc1e]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0xb7514935]
======= Memory map: ========
08048000-080b0000 r-xp 00000000 08:07 814552 /usr/local/bin/etmp4
080b0000-080b1000 rw-p 00067000 08:07 814552 /usr/local/bin/etmp4
09158000-09179000 rw-p 00000000 00:00 0 [heap]
b7281000-b729c000 r-xp 00000000 08:07 261657 /lib/i386-linux-gnu/libgcc_s.so.1
b729c000-b729d000 r--p 0001a000 08:07 261657 /lib/i386-linux-gnu/libgcc_s.so.1
b729d000-b729e000 rw-p 0001b000 08:07 261657 /lib/i386-linux-gnu/libgcc_s.so.1
b72b7000-b74fb000 rw-p 00000000 00:00 0
b74fb000-b76a8000 r-xp 00000000 08:07 261632 /lib/i386-linux-gnu/libc-2.17.so
b76a8000-b76aa000 r--p 001ad000 08:07 261632 /lib/i386-linux-gnu/libc-2.17.so
b76aa000-b76ab000 rw-p 001af000 08:07 261632 /lib/i386-linux-gnu/libc-2.17.so
b76ab000-b76ae000 rw-p 00000000 00:00 0
b76ae000-b76ef000 r-xp 00000000 08:07 261680 /lib/i386-linux-gnu/libm-2.17.so
b76ef000-b76f0000 r--p 00040000 08:07 261680 /lib/i386-linux-gnu/libm-2.17.so
b76f0000-b76f1000 rw-p 00041000 08:07 261680 /lib/i386-linux-gnu/libm-2.17.so
b7706000-b770c000 rw-p 00000000 00:00 0
b770c000-b770d000 r-xp 00000000 00:00 0 [vdso]
b770d000-b772d000 r-xp 00000000 08:07 261608 /lib/i386-linux-gnu/ld-2.17.so
b772d000-b772e000 r--p 0001f000 08:07 261608 /lib/i386-linux-gnu/ld-2.17.so
b772e000-b772f000 rw-p 00020000 08:07 261608 /lib/i386-linux-gnu/ld-2.17.so
bf8bc000-bf8dd000 rw-p 00000000 00:00 0 [stack]
the result comes out with corrupted .mp4 .m4v . do you have any idea why?
 
  


Reply

Tags
evalvid, evalvid-ra, 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
Installing Evalvid Toolset in CentOS/ Fedora/ Redhat artificialive Linux - Software 1 06-13-2014 11:34 AM
Integrating Evalvid and ns2hcca patch in NS2 artificialive Linux - Networking 0 05-03-2014 06:48 PM
Problem : Evalvid and bugs on Eurena NS2 track_mouse Programming 0 08-03-2012 04:28 AM
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 02:57 PM

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

All times are GMT -5. The time now is 11:30 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