Can't compile C++ code: "undefined reference to:"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
armadillo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:
program.
Changed in armadillo (Ubuntu): | |
status: | Confirmed → Fix Released |
this is most likely due to the toolchain transition done in oneiric: /wiki.kubuntu. org/NattyNarwha l/ToolchainTran sition
https:/
read the part about --as-needed