[Bug 888495] [NEW] Can't compile C++ code: "undefined reference to:"

Launchpad Bug Tracker 888495 at bugs.launchpad.net
Thu Dec 22 06:44:10 UTC 2011


You have been subscribed to a public bug by conrad_s (conradsand):

When I try to compile code that did work in previous Kubuntu release, where libarmadillo0 was the package, now I cannot.
Using Ubuntu Oneiric 11.10, and fulfilling the dependences here suggested.  Somehow, there may be some missing links.
Packages: libarmadillo2 2.0.1+dfsg-1 0; libarmadillo-dev 2.0.1+dfsg-1 0


This is a g++ compiler output example (I add the flag -larmadillo):

/tmp/ccI9Nbay.o: In function `void arma::lapack::syev<double>(char*, char*, int*, double*, int*, double*, double*, int*, int*)':
program.cpp:(.text._ZN4arma6lapack4syevIdEEvPcS2_PiPT_S3_S5_S5_S3_S3_[void arma::lapack::syev<double>(char*, char*, int*, double*, int*, double*, double*, int*, int*)]+0x45): undefined reference to `dsyev_'

** Affects: armadillo (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
Can't compile C++ code: "undefined reference to:"
https://bugs.launchpad.net/bugs/888495
You received this bug notification because you are a member of Ubuntu Package Archive Administrators, which is subscribed to the bug report.



More information about the ubuntu-archive mailing list