Sorry for that...
Please find detailed errors :
------------------------------------------------------------------------------------------------------------
manju@manju-lap:~/manju/asr/kaldi/kaldi-trunk/src$ make test
test -d || mkdir
make -C base
make[1]: Entering directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/base'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/base'
make -C base test
make[1]: Entering directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/base'
Running kaldi-math-test ...... SUCCESS
Running io-funcs-test ...... SUCCESS
Running kaldi-error-test ...... SUCCESS
Running timer-test ...... SUCCESS
make[1]: Leaving directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/base'
make -C matrix
make[1]: Entering directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/matrix'
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o kaldi-matrix.o kaldi-matrix.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o kaldi-vector.o kaldi-vector.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o packed-matrix.o packed-matrix.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o sp-matrix.o sp-matrix.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o tp-matrix.o tp-matrix.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o matrix-functions.o matrix-functions.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o qr.o qr.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o srfft.o srfft.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o kaldi-gpsr.o kaldi-gpsr.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o compressed-matrix.o compressed-matrix.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o sparse-matrix.o sparse-matrix.cc
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o optimization.o optimization.cc
ar -cru kaldi-matrix.a kaldi-matrix.o kaldi-vector.o packed-matrix.o sp-matrix.o tp-matrix.o matrix-functions.o qr.o srfft.o kaldi-gpsr.o compressed-matrix.o sparse-matrix.o optimization.o
ranlib kaldi-matrix.a
make[1]: Leaving directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/matrix'
make -C matrix test
make[1]: Entering directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/matrix'
g++ -msse -msse2 -Wall -I.. -pthread -DKALDI_DOUBLEPRECISION=0 -DHAVE_POSIX_MEMALIGN -Wno-sign-compare -Wno-unused-local-typedefs -Winit-self -DHAVE_EXECINFO_H=1 -rdynamic -DHAVE_CXXABI_H -DHAVE_ATLAS -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/ATLAS/include -I/home/manju/manju/asr/kaldi/kaldi-trunk/tools/openfst/include -g -c -o matrix-lib-test.o matrix-lib-test.cc
matrix-lib-test.cc: In function ‘void kaldi::UnitTestCopyRows() [with Real = float]’:
matrix-lib-test.cc:4669:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = float]’
matrix-lib-test.cc:4729:41: instantiated from here
matrix-lib-test.cc:741:57: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = const float*, _Alloc = std::allocator<const float*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<const float*>]’ [-Wconversion-null]
matrix-lib-test.cc: In function ‘void kaldi::UnitTestCopyToRows() [with Real = float]’:
matrix-lib-test.cc:4670:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = float]’
matrix-lib-test.cc:4729:41: instantiated from here
matrix-lib-test.cc:771:51: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = float*, _Alloc = std::allocator<float*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<float*>]’ [-Wconversion-null]
matrix-lib-test.cc: In function ‘void kaldi::UnitTestAddRows() [with Real = float]’:
matrix-lib-test.cc:4671:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = float]’
matrix-lib-test.cc:4729:41: instantiated from here
matrix-lib-test.cc:805:57: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = const float*, _Alloc = std::allocator<const float*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<const float*>]’ [-Wconversion-null]
matrix-lib-test.cc: In function ‘void kaldi::UnitTestAddToRows() [with Real = float]’:
matrix-lib-test.cc:4672:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = float]’
matrix-lib-test.cc:4729:41: instantiated from here
matrix-lib-test.cc:844:51: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = float*, _Alloc = std::allocator<float*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<float*>]’ [-Wconversion-null]
matrix-lib-test.cc: In function ‘void kaldi::UnitTestCopyRows() [with Real = double]’:
matrix-lib-test.cc:4669:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = double]’
matrix-lib-test.cc:4730:42: instantiated from here
matrix-lib-test.cc:741:57: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = const double*, _Alloc = std::allocator<const double*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<const double*>]’ [-Wconversion-null]
matrix-lib-test.cc: In function ‘void kaldi::UnitTestCopyToRows() [with Real = double]’:
matrix-lib-test.cc:4670:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = double]’
matrix-lib-test.cc:4730:42: instantiated from here
matrix-lib-test.cc:771:51: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = double*, _Alloc = std::allocator<double*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<double*>]’ [-Wconversion-null]
matrix-lib-test.cc: In function ‘void kaldi::UnitTestAddRows() [with Real = double]’:
matrix-lib-test.cc:4671:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = double]’
matrix-lib-test.cc:4730:42: instantiated from here
matrix-lib-test.cc:805:57: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = const double*, _Alloc = std::allocator<const double*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<const double*>]’ [-Wconversion-null]
matrix-lib-test.cc: In function ‘void kaldi::UnitTestAddToRows() [with Real = double]’:
matrix-lib-test.cc:4672:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = double]’
matrix-lib-test.cc:4730:42: instantiated from here
matrix-lib-test.cc:844:51: warning: passing NULL to non-pointer argument 2 of ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = double*, _Alloc = std::allocator<double*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<double*>]’ [-Wconversion-null]
In file included from /usr/include/c++/4.6/vector:65:0,
from ../matrix/sp-matrix.h:25,
from ../matrix/cblas-wrappers.h:25,
from ../matrix/matrix-lib.h:25,
from matrix-lib-test.cc:25:
/usr/include/c++/4.6/bits/stl_vector.h: In member function ‘void std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer, std::__true_type) [with _Integer = int, _Tp = const float*, _Alloc = std::allocator<const float*>]’:
/usr/include/c++/4.6/bits/stl_vector.h:340:4: instantiated from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = const float*, _Alloc = std::allocator<const float*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<const float*>]’
matrix-lib-test.cc:741:57: instantiated from ‘void kaldi::UnitTestCopyRows() [with Real = float]’
matrix-lib-test.cc:4669:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = float]’
matrix-lib-test.cc:4729:41: instantiated from here
/usr/include/c++/4.6/bits/stl_vector.h:1080:4: error: invalid conversion from ‘int’ to ‘std::vector<const float*, std::allocator<const float*> >::value_type {aka const float*}’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_vector.h:1122:7: error: initializing argument 2 of ‘void std::vector<_Tp, _Alloc>::_M_fill_initialize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = const float*, _Alloc = std::allocator<const float*>, std::vector<_Tp, _Alloc>::size_type = unsigned int, std::vector<_Tp, _Alloc>::value_type = const float*]’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_vector.h: In member function ‘void std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer, std::__true_type) [with _Integer = int, _Tp = float*, _Alloc = std::allocator<float*>]’:
/usr/include/c++/4.6/bits/stl_vector.h:340:4: instantiated from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = float*, _Alloc = std::allocator<float*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<float*>]’
matrix-lib-test.cc:771:51: instantiated from ‘void kaldi::UnitTestCopyToRows() [with Real = float]’
matrix-lib-test.cc:4670:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = float]’
matrix-lib-test.cc:4729:41: instantiated from here
/usr/include/c++/4.6/bits/stl_vector.h:1080:4: error: invalid conversion from ‘int’ to ‘std::vector<float*, std::allocator<float*> >::value_type {aka float*}’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_vector.h:1122:7: error: initializing argument 2 of ‘void std::vector<_Tp, _Alloc>::_M_fill_initialize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = float*, _Alloc = std::allocator<float*>, std::vector<_Tp, _Alloc>::size_type = unsigned int, std::vector<_Tp, _Alloc>::value_type = float*]’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_vector.h: In member function ‘void std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer, std::__true_type) [with _Integer = int, _Tp = const double*, _Alloc = std::allocator<const double*>]’:
/usr/include/c++/4.6/bits/stl_vector.h:340:4: instantiated from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = const double*, _Alloc = std::allocator<const double*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<const double*>]’
matrix-lib-test.cc:741:57: instantiated from ‘void kaldi::UnitTestCopyRows() [with Real = double]’
matrix-lib-test.cc:4669:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = double]’
matrix-lib-test.cc:4730:42: instantiated from here
/usr/include/c++/4.6/bits/stl_vector.h:1080:4: error: invalid conversion from ‘int’ to ‘std::vector<const double*, std::allocator<const double*> >::value_type {aka const double*}’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_vector.h:1122:7: error: initializing argument 2 of ‘void std::vector<_Tp, _Alloc>::_M_fill_initialize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = const double*, _Alloc = std::allocator<const double*>, std::vector<_Tp, _Alloc>::size_type = unsigned int, std::vector<_Tp, _Alloc>::value_type = const double*]’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_vector.h: In member function ‘void std::vector<_Tp, _Alloc>::_M_initialize_dispatch(_Integer, _Integer, std::__true_type) [with _Integer = int, _Tp = double*, _Alloc = std::allocator<double*>]’:
/usr/include/c++/4.6/bits/stl_vector.h:340:4: instantiated from ‘std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&) [with _InputIterator = int, _Tp = double*, _Alloc = std::allocator<double*>, std::vector<_Tp, _Alloc>::allocator_type = std::allocator<double*>]’
matrix-lib-test.cc:771:51: instantiated from ‘void kaldi::UnitTestCopyToRows() [with Real = double]’
matrix-lib-test.cc:4670:3: instantiated from ‘void kaldi::MatrixUnitTest(bool) [with Real = double]’
matrix-lib-test.cc:4730:42: instantiated from here
/usr/include/c++/4.6/bits/stl_vector.h:1080:4: error: invalid conversion from ‘int’ to ‘std::vector<double*, std::allocator<double*> >::value_type {aka double*}’ [-fpermissive]
/usr/include/c++/4.6/bits/stl_vector.h:1122:7: error: initializing argument 2 of ‘void std::vector<_Tp, _Alloc>::_M_fill_initialize(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = double*, _Alloc = std::allocator<double*>, std::vector<_Tp, _Alloc>::size_type = unsigned int, std::vector<_Tp, _Alloc>::value_type = double*]’ [-fpermissive]
../base/kaldi-math.h: At global scope:
../base/kaldi-math.h:130:17: warning: ‘kaldi::kLogZeroBaseFloat’ defined but not used [-Wunused-variable]
cc1plus: warning: unrecognized command line option "-Wno-unused-local-typedefs" [enabled by default]
make[1]: *** [matrix-lib-test.o] Error 1
make[1]: Leaving directory `/home/manju/manju/asr/kaldi/kaldi-trunk/src/matrix'
make: *** [matrix/test] Error 2
manju@manju-lap:~/manju/asr/kaldi/kaldi-trunk/src$
------------------------------------------------------------------------------------------------------