2008-07-10 03:03:31     G729 test error

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-07-10 03:03:31     G729 test error

hong li (CHINA)

Message: 58591   

 

Hi

  everyone

  I want to use the G729 library,my uclinux and toochain's version are 07R1,now I copy the libbfgdots  from 08R1  to 07R1 and compile , and conpile successfully, then I download the libg729ab.so and libg729ab.a to the target.

  But when I run the test program, happen errors as follow:

 

root:/var/tmp> ./quick.sh g729ab_test

+TEST_DIR=/var

+./g729ab_test /var/test_data/g729a/std_in_en/SINE.BIN /var/test_data/g729a/std_out_en/SINEA.BIT --enc --g729a --mips --multi

SIGSEGV

+./g729ab_test /var/test_data/g729a/std_in_de/SINEA.BIT /var/test_data/g729a/std_out_de/SINEA.OUT --dec --g729a --mips --multi

SIGSEGV

+./g729ab_test /var/test_data/g729ab/tstseq1.bin /var/test_data/g729ab/tstseq1a.bit --enc --g729ab --mips --multi

SIGSEGV

+./g729ab_test /var/test_data/g729ab/tstseq1a.bit /var/test_data/g729ab/tstseq1a.out --dec --g729ab --mips --multi

SIGSEGV

 

 

root:/var/tmp> ./quick.sh g729ab_testfdpic

+TEST_DIR=/var

+./g729ab_testfdpic /var/test_data/g729a/std_in_en/SINE.BIN /var/test_data/g729a/std_out_en/SINEA.BIT --enc --g729a --mips --multi

SIGSEGV

+./g729ab_testfdpic /var/test_data/g729a/std_in_de/SINEA.BIT /var/test_data/g729a/std_out_de/SINEA.OUT --dec --g729a --mips --multi

SIGSEGV

+./g729ab_testfdpic /var/test_data/g729ab/tstseq1.bin /var/test_data/g729ab/tstseq1a.bit --enc --g729ab --mips --multi

SIGSEGV

+./g729ab_testfdpic /var/test_data/g729ab/tstseq1a.bit /var/test_data/g729ab/tstseq1a.out --dec --g729ab --mips --multi

SIGSEGV

 

 

 

root:/var/tmp> ./quick.sh g729ab_testsimgot

+TEST_DIR=/var

+./g729ab_testsimgot /var/test_data/g729a/std_in_en/SINE.BIN /var/test_data/g729a/std_out_en/SINEA.BIT --enc --g729a --mips --multi

SIGSEGV

+./g729ab_testsimgot /var/test_data/g729a/std_in_de/SINEA.BIT /var/test_data/g729a/std_out_de/SINEA.OUT --dec --g729a --mips --multi

SIGSEGV

+./g729ab_testsimgot /var/test_data/g729ab/tstseq1.bin /var/test_data/g729ab/tstseq1a.bit --enc --g729ab --mips --multi

SIGSEGV

+./g729ab_testsimgot /var/test_data/g729ab/tstseq1a.bit /var/test_data/g729ab/tstseq1a.out --dec --g729ab --mips --multi

SIGSEGV

 

root:/var/tmp> ./quick.sh g729ab_testfdpic_so

+TEST_DIR=/var

+./g729ab_testfdpic_so /var/test_data/g729a/std_in_en/SINE.BIN /var/test_data/g729a/std_out_en/SINEA.BIT --enc --g729a --mips --multi

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

Error opening libg729ab.so : File not found

+./g729ab_testfdpic_so /var/test_data/g729a/std_in_de/SINEA.BIT /var/test_data/g729a/std_out_de/SINEA.OUT --dec --g729a --mips --multi

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

Error opening libg729ab.so : File not found

+./g729ab_testfdpic_so /var/test_data/g729ab/tstseq1.bin /var/test_data/g729ab/tstseq1a.bit --enc --g729ab --mips --multi

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

Error opening libg729ab.so : File not found

+./g729ab_testfdpic_so /var/test_data/g729ab/tstseq1a.bit /var/test_data/g729ab/tstseq1a.out --dec --g729ab --mips --multi

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

./g729ab_testfdpic_so:582: can't map '/lib/libg729ab.so'

Error opening libg729ab.so : File not found

 

 

 

How to slove this problem?

Thanks

Hong

QuoteReplyEditDelete

 

 

2008-07-10 04:02:45     Re: G729 test error

Yi Li (CHINA)

Message: 58594   

 

> libg729ab.so : File not found

 

This error can be solved by copy libg729ab.so to your /lib/.

 

But I am not sure about the other "SIGSEGV" erorrs. Could you try using 08r1 toolchain to build your 08r1 uclinux-dist, and run g729ab test on your board?

 

 

 

 

QuoteReplyEditDelete

 

 

2008-07-10 05:13:13     Re: G729 test error

hong li (CHINA)

Message: 58609   

 

Thanks Yi

 

I have copyed  the libg729ab.so to /lib,  I don't want to use 08r1 toolchain and 08r1 uclinux-dist ,because   all my team  use 07r1  , it is very trouble to transfer to 08r1, we want to use 08r1 uclinux-dist after completing this project.

 

There is other way to slove this problem?  I  very want to use G729 library on the 07r1 uclinux-dist

 

Hong

QuoteReplyEditDelete

 

 

2008-07-10 05:38:48     Re: G729 test error

Yi Li (CHINA)

Message: 58612   

 

There are some toolchain fix to make libbfgdots work. But I forget whether this fix is no 07r1 or not. So I'd suggest you try using 08r1 and see whether the error disappears on your side. I will also try to find out whether libbfgdots works with 07r1 toolchain.

QuoteReplyEditDelete

 

 

2008-07-10 05:48:25     Re: G729 test error

Yi Li (CHINA)

Message: 58613   

 

If you have copied libg729ab.so to /lib, but it still reports "file not found" error. Maybe your kernel and toolchain version are not match. Please first make sure your toolchain and kernel are the same release verions. Then try to "make clean" and rebuild uclinux-dist and libbfgdots using 07r1 toolchain, then try again.

QuoteReplyEditDelete

 

 

2008-07-10 21:49:25     Re: G729 test error

hong li (CHINA)

Message: 58647   

 

Yi

 

   Thanks your help , I have tried to compile libbfgots by 08r1 toolchain, then run on 07r1 uClinux-dist, However , the error also exist , because we have developmented many things on 07r1 uClinux-dist, we can not  use 08r1, we use BF561

 

  Hong

QuoteReplyEditDelete

 

 

2008-07-10 23:02:10     Re: G729 test error

hong li (CHINA)

Message: 58649   

 

Yi

 

   my toolchain and uClinux version  are match , they are 07r1 version ,  the libbfgots  need 08r1 toolchain and 08r1 uClinux-dist ?

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-07-10 23:02:16     Re: G729 test error

hong li (CHINA)

Message: 58650   

 

Yi

 

   my toolchain and uClinux version  are match , they are 07r1 version ,  the libbfgots  need 08r1 toolchain and 08r1 uClinux-dist ?

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-07-10 23:46:45     Re: G729 test error

Yi Li (CHINA)

Message: 58654   

 

08r1 toolchain / 08r1 uclinux-dist /libbfgdots, it is tested and works on bf561.

 

07r1 toolchain / 07r1 uclinux-dist /libbfgdots, it is not tested on bf561.

 

The other combination cannot work of course.

 

 

QuoteReplyEditDelete

 

 

2008-07-11 00:51:26     Re: G729 test error

hong li (CHINA)

Message: 58657   

 

 

 

Thanks your help

 

according to you,  in order to use libbfgots on 07r1 uClinux-dist, what should i do?

 

I have tried to use 08r1  uClinux-dist, but   many   application program  which are  developmented on 0r71 uClinux-dist   happen errors.

 

Hong

 

 

QuoteReplyEditDelete

 

 

2008-07-11 02:08:55     Re: G729 test error

Yi Li (CHINA)

Message: 58660   

 

I just test build libbfgdots using 07r1.1-3 toolchain, and tested on 07r1.1 kernel on BF537-STAMP. The library works well.

 

You can just do:

 

cd libbfgdots/g729

 

make clean

 

make test

 

To have a try.

QuoteReplyEditDelete

 

 

2008-07-11 04:57:18     Re: G729 test error

hong li (CHINA)

Message: 58675   

 

I  try the version  which you use

 

Thanks

 

Hong

QuoteReplyEditDelete

 

 

2008-07-11 05:12:25     Re: G729 test error

hong li (CHINA)

Message: 58676   

 

Yi

 

 

 

   Thanks your help very much, according to your method ,  I  have  tested  the  libg729ab.so  successfully

 

 

 

Thanks

 

Hong

Attachments

    Outcomes