{"action":"opened","issue":{"url":"https://api.github.com/repos/SciRuby/sciruby/issues/45","labels_url":"https://api.github.com/repos/SciRuby/sciruby/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/SciRuby/sciruby/issues/45/comments","events_url":"https://api.github.com/repos/SciRuby/sciruby/issues/45/events","html_url":"https://github.com/SciRuby/sciruby/issues/45","id":122679811,"number":45,"title":"failed gem install sciruby ","user":{"login":"AbhimanyuAryan","id":8083613,"avatar_url":"https://avatars.githubusercontent.com/u/8083613?v=3","gravatar_id":"","url":"https://api.github.com/users/AbhimanyuAryan","html_url":"https://github.com/AbhimanyuAryan","followers_url":"https://api.github.com/users/AbhimanyuAryan/followers","following_url":"https://api.github.com/users/AbhimanyuAryan/following{/other_user}","gists_url":"https://api.github.com/users/AbhimanyuAryan/gists{/gist_id}","starred_url":"https://api.github.com/users/AbhimanyuAryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbhimanyuAryan/subscriptions","organizations_url":"https://api.github.com/users/AbhimanyuAryan/orgs","repos_url":"https://api.github.com/users/AbhimanyuAryan/repos","events_url":"https://api.github.com/users/AbhimanyuAryan/events{/privacy}","received_events_url":"https://api.github.com/users/AbhimanyuAryan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-17T07:36:31Z","updated_at":"2015-12-17T07:36:31Z","closed_at":null,"body":"I have no idea why built failed. Could anyone please help me what failed and how to fix this issue? \r\n\r\n    ➜  ~  gem install sciruby-full\r\n    Building native extensions.  This could take a while...\r\n    ERROR:  Error installing sciruby-full:\r\n    \tERROR: Failed to build gem native extension.\r\n    \r\n        /home/cooldudeabhi/.rvm/rubies/ruby-2.2.3/bin/ruby -r ./siteconf20151217-4634-15xzki5.rb extconf.rb\r\n    using C++ standard... c++11\r\n    g++ reports version... 5.2.1-22ubuntu2)\r\n    checking for main() in -lclapack... no\r\n    checking for main() in -llapack... no\r\n    checking for main() in -lcblas... no\r\n    checking for main() in -latlas... no\r\n    checking for atlas/cblas.h... no\r\n    checking for cblas.h... no\r\n    checking for clapack.h... no\r\n    checking for clapack_dgetrf() in atlas/clapack.h... no\r\n    checking for clapack_dgetri() in atlas/clapack.h... no\r\n    checking for dgesvd_() in clapack.h... no\r\n    checking for cblas_dgemm() in cblas.h... no\r\n    creating nmatrix_config.h\r\n    creating Makefile\r\n    \r\n    make \"DESTDIR=\" clean\r\n    \r\n    make \"DESTDIR=\"\r\n    compiling nmatrix.cpp\r\n    In file included from nmatrix.cpp:59:0:\r\n    math/math.h:128:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:128:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:128:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h:134:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:134:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:134:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h:140:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:140:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:140:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h: In function ‘void nm::math::syrk(int, int, int, int, int, const DType*, const DType*, int, const DType*, DType*, int) [with DType = float]’:\r\n    math/math.h:142:70: error: ‘cblas_ssyrk’ was not declared in this scope\r\n       cblas_ssyrk(Order, Uplo, Trans, N, K, *alpha, A, lda, *beta, C, ldc);\r\n                                                                          ^\r\n    math/math.h: At global scope:\r\n    math/math.h:146:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:146:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:146:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h: In function ‘void nm::math::syrk(int, int, int, int, int, const DType*, const DType*, int, const DType*, DType*, int) [with DType = double]’:\r\n    math/math.h:148:70: error: ‘cblas_dsyrk’ was not declared in this scope\r\n       cblas_dsyrk(Order, Uplo, Trans, N, K, *alpha, A, lda, *beta, C, ldc);\r\n                                                                          ^\r\n    math/math.h: At global scope:\r\n    math/math.h:152:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:152:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:152:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h: In function ‘void nm::math::syrk(int, int, int, int, int, const DType*, const DType*, int, const DType*, DType*, int) [with DType = nm::Complex<float>]’:\r\n    math/math.h:154:68: error: ‘cblas_csyrk’ was not declared in this scope\r\n       cblas_csyrk(Order, Uplo, Trans, N, K, alpha, A, lda, beta, C, ldc);\r\n                                                                        ^\r\n    math/math.h: At global scope:\r\n    math/math.h:158:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:158:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:158:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void syrk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h: In function ‘void nm::math::syrk(int, int, int, int, int, const DType*, const DType*, int, const DType*, DType*, int) [with DType = nm::Complex<double>]’:\r\n    math/math.h:160:68: error: ‘cblas_zsyrk’ was not declared in this scope\r\n       cblas_zsyrk(Order, Uplo, Trans, N, K, alpha, A, lda, beta, C, ldc);\r\n                                                                        ^\r\n    math/math.h: At global scope:\r\n    math/math.h:165:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:165:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:165:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h: In function ‘void nm::math::herk(int, int, int, int, int, const DType*, const DType*, int, const DType*, DType*, int) [with DType = nm::Complex<float>]’:\r\n    math/math.h:167:74: error: ‘cblas_cherk’ was not declared in this scope\r\n       cblas_cherk(Order, Uplo, Trans, N, K, alpha->r, A, lda, beta->r, C, ldc);\r\n                                                                              ^\r\n    math/math.h: At global scope:\r\n    math/math.h:171:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                 ^\r\n    math/math.h:171:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                               ^\r\n    math/math.h:171:87: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n     inline void herk(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo, const enum CBLAS_TRANSPOSE Trans, const int N,\r\n                                                                                           ^\r\n    math/math.h: In function ‘void nm::math::herk(int, int, int, int, int, const DType*, const DType*, int, const DType*, DType*, int) [with DType = nm::Complex<double>]’:\r\n    math/math.h:173:74: error: ‘cblas_zherk’ was not declared in this scope\r\n       cblas_zherk(Order, Uplo, Trans, N, K, alpha->r, A, lda, beta->r, C, ldc);\r\n                                                                              ^\r\n    math/math.h: At global scope:\r\n    math/math.h:178:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                 ^\r\n    math/math.h:178:59: error: use of enum ‘CBLAS_SIDE’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                               ^\r\n    math/math.h:178:87: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                                                           ^\r\n    math/math.h:179:29: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const DType* alpha,\r\n                                 ^\r\n    math/math.h:179:60: error: use of enum ‘CBLAS_DIAG’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const DType* alpha,\r\n                                                                ^\r\n    math/math.h:185:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                 ^\r\n    math/math.h:185:59: error: use of enum ‘CBLAS_SIDE’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                               ^\r\n    math/math.h:185:87: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                                                           ^\r\n    math/math.h:186:29: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const float* alpha,\r\n                                 ^\r\n    math/math.h:186:60: error: use of enum ‘CBLAS_DIAG’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const float* alpha,\r\n                                                                ^\r\n    math/math.h: In function ‘void nm::math::trmm(int, int, int, int, int, int, int, const DType*, const DType*, int, DType*, int) [with DType = float]’:\r\n    math/math.h:188:72: error: ‘cblas_strmm’ was not declared in this scope\r\n       cblas_strmm(order, side, uplo, ta, diag, m, n, *alpha, A, lda, B, ldb);\r\n                                                                            ^\r\n    math/math.h: At global scope:\r\n    math/math.h:192:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                 ^\r\n    math/math.h:192:59: error: use of enum ‘CBLAS_SIDE’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                               ^\r\n    math/math.h:192:87: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                                                           ^\r\n    math/math.h:193:29: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const double* alpha,\r\n                                 ^\r\n    math/math.h:193:60: error: use of enum ‘CBLAS_DIAG’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const double* alpha,\r\n                                                                ^\r\n    math/math.h: In function ‘void nm::math::trmm(int, int, int, int, int, int, int, const DType*, const DType*, int, DType*, int) [with DType = double]’:\r\n    math/math.h:195:72: error: ‘cblas_dtrmm’ was not declared in this scope\r\n       cblas_dtrmm(order, side, uplo, ta, diag, m, n, *alpha, A, lda, B, ldb);\r\n                                                                            ^\r\n    math/math.h: At global scope:\r\n    math/math.h:199:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                 ^\r\n    math/math.h:199:59: error: use of enum ‘CBLAS_SIDE’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                               ^\r\n    math/math.h:199:87: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                                                           ^\r\n    math/math.h:200:29: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const Complex64* alpha,\r\n                                 ^\r\n    math/math.h:200:60: error: use of enum ‘CBLAS_DIAG’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const Complex64* alpha,\r\n                                                                ^\r\n    math/math.h: In function ‘void nm::math::trmm(int, int, int, int, int, int, int, const DType*, const DType*, int, DType*, int) [with DType = nm::Complex<float>]’:\r\n    math/math.h:202:71: error: ‘cblas_ctrmm’ was not declared in this scope\r\n       cblas_ctrmm(order, side, uplo, ta, diag, m, n, alpha, A, lda, B, ldb);\r\n                                                                           ^\r\n    math/math.h: At global scope:\r\n    math/math.h:206:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                 ^\r\n    math/math.h:206:59: error: use of enum ‘CBLAS_SIDE’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                               ^\r\n    math/math.h:206:87: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void trmm(const enum CBLAS_ORDER order, const enum CBLAS_SIDE side, const enum CBLAS_UPLO uplo,\r\n                                                                                           ^\r\n    math/math.h:207:29: error: use of enum ‘CBLAS_TRANSPOSE’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const Complex128* alpha,\r\n                                 ^\r\n    math/math.h:207:60: error: use of enum ‘CBLAS_DIAG’ without previous declaration\r\n                      const enum CBLAS_TRANSPOSE ta, const enum CBLAS_DIAG diag, const int m, const int n, const Complex128* alpha,\r\n                                                                ^\r\n    math/math.h: In function ‘void nm::math::trmm(int, int, int, int, int, int, int, const DType*, const DType*, int, DType*, int) [with DType = nm::Complex<double>]’:\r\n    math/math.h:209:71: error: ‘cblas_ztrmm’ was not declared in this scope\r\n       cblas_ztrmm(order, side, uplo, ta, diag, m, n, alpha, A, lda, B, ldb);\r\n                                                                           ^\r\n    math/math.h: At global scope:\r\n    math/math.h:540:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline int potrf(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int N, DType* A, const int lda) {\r\n                                 ^\r\n    math/math.h:540:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline int potrf(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int N, DType* A, const int lda) {\r\n                                                               ^\r\n    math/math.h:881:30: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline void lauum(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int N, DType* A, const int lda) {\r\n                                  ^\r\n    math/math.h:881:60: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline void lauum(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int N, DType* A, const int lda) {\r\n                                                                ^\r\n    math/math.h: In function ‘void nm::math::lauum(int, int, int, DType*, int)’:\r\n    math/math.h:896:17: error: ‘CblasUpper’ was not declared in this scope\r\n         if (uplo == CblasUpper) {\r\n                     ^\r\n    math/math.h:897:20: error: ‘CblasRowMajor’ was not declared in this scope\r\n           if (order == CblasRowMajor) {\r\n                        ^\r\n    math/math.h:905:20: error: ‘CblasRowMajor’ was not declared in this scope\r\n           if (order == CblasRowMajor) {\r\n                        ^\r\n    math/math.h:919:37: error: ‘CblasLower’ was not declared in this scope\r\n                                 uplo == CblasLower ? CblasConjTrans : CblasNoTrans,\r\n                                         ^\r\n    math/math.h:919:50: error: ‘CblasConjTrans’ was not declared in this scope\r\n                                 uplo == CblasLower ? CblasConjTrans : CblasNoTrans,\r\n                                                      ^\r\n    math/math.h:919:67: error: ‘CblasNoTrans’ was not declared in this scope\r\n                                 uplo == CblasLower ? CblasConjTrans : CblasNoTrans,\r\n                                                                       ^\r\n    math/math.h:922:36: error: ‘CblasLeft’ was not declared in this scope\r\n           nm::math::trmm<DType>(order, CblasLeft, uplo, CblasConjTrans, CblasNonUnit, Nright, Nleft, &ONE, U1, lda, G, lda);\r\n                                        ^\r\n    math/math.h:922:69: error: ‘CblasNonUnit’ was not declared in this scope\r\n           nm::math::trmm<DType>(order, CblasLeft, uplo, CblasConjTrans, CblasNonUnit, Nright, Nleft, &ONE, U1, lda, G, lda);\r\n                                                                         ^\r\n    math/math.h:925:37: error: ‘CblasLower’ was not declared in this scope\r\n                                 uplo == CblasLower ? CblasTrans : CblasNoTrans,\r\n                                         ^\r\n    math/math.h:925:50: error: ‘CblasTrans’ was not declared in this scope\r\n                                 uplo == CblasLower ? CblasTrans : CblasNoTrans,\r\n                                                      ^\r\n    math/math.h:925:63: error: ‘CblasNoTrans’ was not declared in this scope\r\n                                 uplo == CblasLower ? CblasTrans : CblasNoTrans,\r\n                                                                   ^\r\n    math/math.h:928:36: error: ‘CblasLeft’ was not declared in this scope\r\n           nm::math::trmm<DType>(order, CblasLeft, uplo, CblasTrans, CblasNonUnit, Nright, Nleft, &ONE, U1, lda, G, lda);\r\n                                        ^\r\n    math/math.h:928:65: error: ‘CblasNonUnit’ was not declared in this scope\r\n           nm::math::trmm<DType>(order, CblasLeft, uplo, CblasTrans, CblasNonUnit, Nright, Nleft, &ONE, U1, lda, G, lda);\r\n                                                                     ^\r\n    math/math.h: At global scope:\r\n    math/math.h:969:37: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline int clapack_lauum(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, void* a, const int lda) {\r\n                                         ^\r\n    math/math.h:969:67: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline int clapack_lauum(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, void* a, const int lda) {\r\n                                                                       ^\r\n    math/math.h: In function ‘int nm::math::clapack_lauum(int, int, int, void*, int)’:\r\n    math/math.h:973:15: error: ‘CblasUpper’ was not declared in this scope\r\n       if (uplo == CblasUpper) lauum<is_complex, DType>(order, uplo, n, reinterpret_cast<DType*>(a), lda);\r\n                   ^\r\n    math/math.h: At global scope:\r\n    math/math.h:1016:37: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline int clapack_potrf(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, void* a, const int lda) {\r\n                                         ^\r\n    math/math.h:1016:67: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline int clapack_potrf(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, void* a, const int lda) {\r\n                                                                       ^\r\n    math/math.h:1023:29: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline int potri(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, DType* a, const int lda) {\r\n                                 ^\r\n    math/math.h:1023:59: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline int potri(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, DType* a, const int lda) {\r\n                                                               ^\r\n    math/math.h:1060:37: error: use of enum ‘CBLAS_ORDER’ without previous declaration\r\n     inline int clapack_potri(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, void* a, const int lda) {\r\n                                         ^\r\n    math/math.h:1060:67: error: use of enum ‘CBLAS_UPLO’ without previous declaration\r\n     inline int clapack_potri(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const int n, void* a, const int lda) {\r\n                                                                       ^\r\n    In file included from nmatrix.cpp:297:0:\r\n    ruby_nmatrix.c: In function ‘VALUE nm_reshape_bang(VALUE, VALUE)’:\r\n    ruby_nmatrix.c:1069:11: warning: unused variable ‘elem’ [-Wunused-variable]\r\n         void* elem = s->elements;\r\n               ^\r\n    Makefile:241: recipe for target 'nmatrix.o' failed\r\n    make: *** [nmatrix.o] Error 1\r\n    \r\n    make failed, exit code 2\r\n    \r\n    Gem files will remain installed in /home/cooldudeabhi/.rvm/gems/ruby-2.2.3/gems/nmatrix-0.1.0 for inspection.\r\n    Results logged to /home/cooldudeabhi/.rvm/gems/ruby-2.2.3/extensions/x86_64-linux/2.2.0/nmatrix-0.1.0/gem_make.out\r\n    ➜  ~          \r\n\r\n"}}