Opened 14 years ago
Closed 14 years ago
#1310 closed defect (fixed)
compile fails in ubuntu 10.04 64 bits
Reported by: | Jorge | Owned by: | Jorge |
---|---|---|---|
Priority: | highest | Milestone: | Mantainance |
Component: | Kernel | Version: | 2.0.1 |
Severity: | critical | Keywords: | |
Cc: | hacarralero@…, apalonso@… |
Description
On ubuntu 10.0.4 64 bits, the compilation fails with:
btol/vmatrix_type/vmat_io.cpp:511: error: call of overloaded ‘Write(size_t&, BStream*&)’ is ambiguous ./tol/tol_oiscreator.h:60: note: candidates are: bool BOisCreator::Write(const char&, BStream*) ./tol/tol_oiscreator.h:61: note: bool BOisCreator::Write(const unsigned char&, BStream*) ./tol/tol_oiscreator.h:62: note: bool BOisCreator::Write(const short int&, BStream*) ./tol/tol_oiscreator.h:63: note: bool BOisCreator::Write(const short unsigned int&, BStream*) ./tol/tol_oiscreator.h:64: note: bool BOisCreator::Write(const int&, BStream*) ./tol/tol_oiscreator.h:65: note: bool BOisCreator::Write(const unsigned int&, BStream*) ...
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Other errors:
./tol/tol_bvmat_bsr.h:168: error: cast from ‘const char*’ to ‘int’ loses precision
contrib/alglib/ap.cpp:437: error: ‘fopen’ was not declared in this scope contrib/alglib/ap.cpp:442: error: ‘fgets’ was not declared in this scope contrib/alglib/ap.cpp:458: error: ‘fclose’ was not declared in this scope contrib/alglib/ap.cpp:478: error: ‘fclose’ was not declared in this scope contrib/alglib/ap.cpp: In function ‘void ap::explodestring(std::string, char, st
contrib/cint/tolCint.cpp:669: error: cast from ‘double*’ to ‘int’ loses precision contrib/cint/tolCint.cpp:678: error: cast from ‘double*’ to ‘int’ loses precision contrib/cint/tolCint.cpp:690: error: cast from ‘char*’ to ‘int’ loses precision
comment:3 Changed 14 years ago by
Status: | new → accepted |
---|
The problem is due to bjam is not invoking gcc with the correct options in order to generate a 32 bit program.
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
TOL only compile for 32 bit, so make sure -m32 is used when compiling
Note: See
TracTickets for help on using
tickets.
The same happens to Read