Building opencore-amr

From Linux/Xtensa
Jump to navigation Jump to search
   [root@hifi opencore-amr-0.1.2]# ls
   AUTHORS        LICENSE        Makefile.in    amrnb/         config.h       config.sub*    install-sh*    missing*       test/     
   COPYING        Makefile       NEWS           amrwb/         config.h.in    configure*     libtool*       opencore/                
   ChangeLog      Makefile.alt   README         build_osx.sh*  config.log     configure.ac   ltmain.sh*     oscl/                    
   INSTALL        Makefile.am    aclocal.m4     config.guess*  config.status* depcomp*       m4/            stamp-h1                 
                                                                                                                                     
   [root@hifi opencore-amr-0.1.2]# make distclean; ./configure; make                                                           
   Making distclean in test                                                                                                          
   make[1]: Entering directory `/usr/local/src/opencore-amr-0.1.2/test'                                                              
   test -z "out.amr out.wav" || rm -f out.amr out.wav                                                                                
   rm -rf .libs _libs                                                                                                                
    rm -f amrnb-dec amrnb-enc amrwb-dec linkboth                                                                                     
   rm -f *.o                                                                                                                         
   rm -f *.lo                                                                                                                        
   rm -f *.tab.c                                                                                                                     
   test -z "" || rm -f                                                                                                               
   test . = "." || test -z "" || rm -f                                                                                               
   rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags                                                                                       
   rm -rf ./.deps                                                                                                                    
   rm -f Makefile                                                                                                                    
   make[1]: Leaving directory `/usr/local/src/opencore-amr-0.1.2/test'                                                               
   Making distclean in amrwb                                                                                                         
   make[1]: Entering directory `/usr/local/src/opencore-amr-0.1.2/amrwb'                                                             
   test -z "libopencore-amrwb.la" || rm -f libopencore-amrwb.la                                                                      
   rm -f "./so_locations"                                                                                                            
   rm -rf .libs _libs                                                                                                                
   rm -f *.o                                                                                                                         
   rm -f *.lo                                                                                                                        
   rm -f *.tab.c                                                                                                                     
   test -z "opencore-amrwb.pc" || rm -f opencore-amrwb.pc                                                                            
   test . = "." || test -z "" || rm -f                                                                                               
   rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags                                                                                                       
   rm -rf ./.deps                                                                                                                                    
   rm -f Makefile                                                                                                                                    
   make[1]: Leaving directory `/usr/local/src/opencore-amr-0.1.2/amrwb'                                                                              
   Making distclean in amrnb                                                                                                                         
   make[1]: Entering directory `/usr/local/src/opencore-amr-0.1.2/amrnb'                                                                             
   test -z "libopencore-amrnb.la" || rm -f libopencore-amrnb.la                                                                                      
   rm -f "./so_locations"                                                                                                                            
   rm -rf .libs _libs                                                                                                                                
   rm -f *.o                                                                                                                                         
   rm -f *.lo                                                                                                                                        
   rm -f *.tab.c                                                                                                                                     
   test -z "opencore-amrnb.pc" || rm -f opencore-amrnb.pc                                                                                            
   test . = "." || test -z "" || rm -f                                                                                                               
   rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags                                                                                                       
   rm -rf ./.deps                                                                                                                                    
   rm -f Makefile                                                                                                                                    
   make[1]: Leaving directory `/usr/local/src/opencore-amr-0.1.2/amrnb'                                                                              
   Making distclean in .                                                                                                                             
   make[1]: Entering directory `/usr/local/src/opencore-amr-0.1.2'                                                                                   
   rm -rf .libs _libs                                                                                                                                
   rm -f *.lo                                                                                                                                        
   test -z "" || rm -f                                                                                                                               
   test . = "." || test -z "" || rm -f                                                                                                               
   rm -f config.h stamp-h1                                                                                                                           
   rm -f libtool config.lt                                                                                                                           
   rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags                                                                                                       
   make[1]: Leaving directory `/usr/local/src/opencore-amr-0.1.2'                                                                                    
   rm -f config.status config.cache config.log configure.lineno config.status.lineno                                                                 
   rm -f Makefile                                                                                                                                    
   checking for a BSD-compatible install... /usr/bin/install -c                                                                                      
   checking whether build environment is sane... yes                                                                                                 
   checking for a thread-safe mkdir -p... ./install-sh -c -d                                                                                         
   checking for gawk... no                                                                                                                           
   checking for mawk... no                                                                                                                           
   checking for nawk... no                                                                                                                           
   checking for awk... awk                                                                                                                           
   checking whether make sets $(MAKE)... yes                                                                                                         
   checking how to create a ustar tar archive... gnutar                                                                                              
   checking whether to enable maintainer-specific portions of Makefiles... no                                                                        
   checking build system type... xtensa_test_mmuhifi_c3-unknown-linux-gnu                                                                            
   checking host system type... xtensa_test_mmuhifi_c3-unknown-linux-gnu                                                                             
   checking for g++... g++                                                                                                                           
   checking for C++ compiler default output file name... a.out                                                                                       
   checking whether the C++ compiler works... yes                                                                                                    
   checking whether we are cross compiling... no                                                                                                     
   checking for suffix of executables...                                                                                                             
   checking for suffix of object files... o                                                                                                          
   checking whether we are using the GNU C++ compiler... yes                                                                                         
   checking whether g++ accepts -g... yes                                                                                                            
   checking for style of include used by make... GNU                                                                                                 
   checking dependency style of g++... gcc3                                                                                                          
   checking for gcc... gcc                                                                                                                           
   checking whether we are using the GNU C compiler... yes                                                                                           
   checking whether gcc accepts -g... yes                                                                                                            
   checking for gcc option to accept ISO C89... none needed                                                                                          
   checking dependency style of gcc... gcc3                                                                                                          
   checking whether ln -s works... yes                                                                                                               
   checking whether make sets $(MAKE)... (cached) yes                                                                                                
   checking for a sed that does not truncate output... /bin/sed                                                                                      
   checking for grep that handles long lines and -e... /bin/grep                                                                                     
   checking for egrep... /bin/grep -E                                                                                                                
   checking for fgrep... /bin/grep -F                                                                                                                
   checking for ld used by gcc... /usr/bin/ld                                                                                                        
   checking if the linker (/usr/bin/ld) is GNU ld... yes                                                                                             
   checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B                                                                             
   checking the name lister (/usr/bin/nm -B) interface... BSD nm                                                                                     
   checking the maximum length of command line arguments... expr: syntax error                                                                       
                                                                                                                                                    
   checking whether the shell understands some XSI constructs... yes                                                                                 
   checking whether the shell understands "+="... yes                                                                                                
   checking for /usr/bin/ld option to reload object files... -r                                                                                      
   checking for objdump... objdump                                                                                                                   
   checking how to recognize dependent libraries... pass_all                                                                                         
   checking for ar... ar                                                                                                                             
   checking for strip... strip                                                                                                                       
   checking for ranlib... ranlib                                                                                                                     
   checking command to parse /usr/bin/nm -B output from gcc object... ok                                                                             
   checking how to run the C preprocessor... gcc -E                                                                                                  
   checking for ANSI C header files... yes                                                                                                           
   checking for sys/types.h... yes                                                                                                                   
   checking for sys/stat.h... yes                                                                                                                    
   checking for stdlib.h... yes                                                                                                                      
   checking for string.h... yes                                                                                                                      
   checking for memory.h... yes                                                                                                                      
   checking for strings.h... yes                                                                                                                     
   checking for inttypes.h... yes                                                                                                                    
   checking for stdint.h... yes                                                                                                                      
   checking for unistd.h... yes                                                                                                                      
   checking for dlfcn.h... yes                                                                                                                       
   checking whether we are using the GNU C++ compiler... (cached) yes                                                                                
   checking whether g++ accepts -g... (cached) yes                                                                                                   
   checking dependency style of g++... (cached) gcc3                                                                                                 
   checking how to run the C++ preprocessor... g++ -E                                                                                                
   checking for objdir... .libs                                                                                                                      
   checking if gcc supports -fno-rtti -fno-exceptions... no                                                                                          
   checking for gcc option to produce PIC... -fPIC -DPIC                                                                                             
   checking if gcc PIC flag -fPIC -DPIC works... yes                                                                                                 
   checking if gcc static flag -static works... yes                                                                                                  
   checking if gcc supports -c -o file.o... yes                                                                                                      
   checking if gcc supports -c -o file.o... (cached) yes                                                                                             
   checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes                                                                    
   checking whether -lc should be explicitly linked in... no                                                                                         
   checking dynamic linker characteristics... GNU/Linux ld.so                                                                                        
   checking how to hardcode library paths into programs... immediate                                                                                 
   checking whether stripping libraries is possible... yes                                                                                           
   checking if libtool supports shared libraries... yes                                                                                              
   checking whether to build shared libraries... yes                                                                                                 
   checking whether to build static libraries... yes                                                                                                 
   checking for ld used by g++... /usr/bin/ld                                                                                                        
   checking if the linker (/usr/bin/ld) is GNU ld... yes                                                                                             
   checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes                                                                    
   checking for g++ option to produce PIC... -fPIC -DPIC                                                                                             
   checking if g++ PIC flag -fPIC -DPIC works... yes                                                                                                 
   checking if g++ static flag -static works... yes                                                                                                  
   checking if g++ supports -c -o file.o... yes                                                                                                      
   checking if g++ supports -c -o file.o... (cached) yes                                                                                             
   checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes                                                                    
   checking dynamic linker characteristics... GNU/Linux ld.so                                                                                        
   checking how to hardcode library paths into programs... immediate                                                                                 
   checking for main in -lm... yes                                                                                                                   
   checking for stdint.h... (cached) yes                                                                                                             
   checking for stdlib.h... (cached) yes                                                                                                             
   checking for string.h... (cached) yes                                                                                                             
   checking for stdbool.h that conforms to C99... yes                                                                                                
   checking for _Bool... yes                                                                                                                         
   checking for inline... inline                                                                                                                     
   checking for int16_t... yes                                                                                                                       
   checking for int32_t... yes                                                                                                                       
   checking for int64_t... yes                                                                                                                       
   checking for int8_t... yes                                                                                                                        
   checking for uint16_t... yes                                                                                                                      
   checking for uint32_t... yes                                                                                                                      
   checking for uint64_t... yes                                                                                                                      
   checking for uint8_t... yes                                                                                                                       
   checking for stdlib.h... (cached) yes                                                                                                             
   checking for GNU libc compatible malloc... yes                                                                                                    
   checking for memset... yes                                                                                                                        
   configure: creating ./config.status                              
  .
  .
  .   
   libtool: link: : .libs/libopencore-amrwb.a
   libtool: link: ar cru .libs/libopencore-amrwb.a voice_factor.o
   libtool: link: : .libs/libopencore-amrwb.a
   libtool: link: ar cru .libs/libopencore-amrwb.a wb_syn_filt.o
   libtool: link: : .libs/libopencore-amrwb.a
   libtool: link: ar cru .libs/libopencore-amrwb.a weight_amrwb_lpc.o
   libtool: link: ranlib .libs/libopencore-amrwb.a
   libtool: link: ( cd ".libs" && rm -f "libopencore-amrwb.la" && ln -s "../libopencore-amrwb.la" "libopencore-amrwb.la" )
   make[2]: Leaving directory `/usr/local/src/opencore-amr-0.1.2/amrwb'
   Making all in test
   make[2]: Entering directory `/usr/local/src/opencore-amr-0.1.2/test'
   g++ -DHAVE_CONFIG_H -I. -I.. -I../amrnb -I../amrwb    -g -O2 -MT amrnb-dec.o -MD -MP -MF .deps/amrnb-dec.Tpo -c -o amrnb-dec.o amrnb-dec.cpp
   mv -f .deps/amrnb-dec.Tpo .deps/amrnb-dec.Po
   g++ -DHAVE_CONFIG_H -I. -I.. -I../amrnb -I../amrwb    -g -O2 -MT wav.o -MD -MP -MF .deps/wav.Tpo -c -o wav.o wav.cpp
   mv -f .deps/wav.Tpo .deps/wav.Po
   /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o amrnb-dec amrnb-dec.o wav.o ../amrnb/libopencore-amrnb.la -lm
   libtool: link: g++ -g -O2 -o .libs/amrnb-dec amrnb-dec.o wav.o  ../amrnb/.libs/libopencore-amrnb.so -lm -Wl,-rpath -Wl,/usr/local/lib
   gcc -DHAVE_CONFIG_H -I. -I.. -I../amrnb -I../amrwb    -g -O2 -MT amrnb-enc.o -MD -MP -MF .deps/amrnb-enc.Tpo -c -o amrnb-enc.o amrnb-enc.c
   mv -f .deps/amrnb-enc.Tpo .deps/amrnb-enc.Po
   /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -lm  -o amrnb-enc amrnb-enc.o ../amrnb/libopencore-amrnb.la -lm
   libtool: link: gcc -g -O2 -o .libs/amrnb-enc amrnb-enc.o  ../amrnb/.libs/libopencore-amrnb.so -lm -Wl,-rpath -Wl,/usr/local/lib
   g++ -DHAVE_CONFIG_H -I. -I.. -I../amrnb -I../amrwb    -g -O2 -MT amrwb-dec.o -MD -MP -MF .deps/amrwb-dec.Tpo -c -o amrwb-dec.o amrwb-dec.cpp
   mv -f .deps/amrwb-dec.Tpo .deps/amrwb-dec.Po
   /bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2   -o amrwb-dec amrwb-dec.o wav.o ../amrwb/libopencore-amrwb.la -lm
   libtool: link: g++ -g -O2 -o .libs/amrwb-dec amrwb-dec.o wav.o  ../amrwb/.libs/libopencore-amrwb.so -lm -Wl,-rpath -Wl,/usr/local/lib
   gcc -DHAVE_CONFIG_H -I. -I.. -I../amrnb -I../amrwb    -g -O2 -MT linkboth.o -MD -MP -MF .deps/linkboth.Tpo -c -o linkboth.o linkboth.c
   mv -f .deps/linkboth.Tpo .deps/linkboth.Po
   /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -static  -o linkboth linkboth.o ../amrnb/libopencore-amrnb.la ../amrwb/libopencore-amrwb.la -lm
   libtool: link: gcc -g -O2 -o linkboth linkboth.o  ../amrnb/.libs/libopencore-amrnb.a ../amrwb/.libs/libopencore-amrwb.a -lm
   make[2]: Leaving directory `/usr/local/src/opencore-amr-0.1.2/test'
   make[2]: Entering directory `/usr/local/src/opencore-amr-0.1.2'
   make[2]: Leaving directory `/usr/local/src/opencore-amr-0.1.2'
   make[1]: Leaving directory `/usr/local/src/opencore-amr-0.1.2'
   [root@hifi opencore-amr-0.1.2]#

[piet@fc9desktop ~]$