samples make undefined reference to __sync_fetch_and_4 (Bug #4397)
Description
cmake ../open-3.0.0/samples
output attached
Related issues
related to Bug #4387: undeclared gtk_widget_set/get_realized | Cancelled | 2015-06-05 | ||
related to Bug #4400: test_operation.cpp kill cc1plus | Cancelled | 2015-06-11 | ||
duplicated by Bug #4399: sync_fetch_add_4 problem | Cancelled | 2015-06-11 |
History
Updated by j c over 9 years ago
i have nullified CVOperationsTest::TestMat, otherwise, compiler will be killed, asks you to submit a bug report to gcc@....
zlib 1.2.1 in my system, didn’t define Z_FIXED, like the one included in this source package.
add a virtual to bufferpool.cpp:19
so i got a successful build seemingly. now i am stuck at samples making.
Updated by Maksim Shabunin over 9 years ago
Now I see, you are using very old GCC toolchain (4.2.4). Unfortunately we do not support such rare compilers. I'd recommend you to try to overrun this problem by adding specific compiler flags or by disabling broken modules and examples. The best solution is to choose newer compiler, at least GCC 4.6.3 (Ubuntu 12.04 LTS).
Here is an example of similar problem: http://stackoverflow.com/questions/7994614/undefined-reference-to-sync-fetch-and-add-4
- Status changed from New to Cancelled