-
Notifications
You must be signed in to change notification settings - Fork 3
Compilate under Ethos 1.3.3 #5
Comments
Ubuntu 14.04 you probably have too old a version of GCC. You need GCC 5 or above. Type in terminal: gcc --version gcc (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010 ^ if it's less than 5.x, you need to upgrade it. You can use GCC 7, install it with the terminal commands listed below: sudo add-apt-repository ppa:jonathonf/gcc Then go to your build directory and run cmake with these flags (plus any other flags you want like -DWITH_HTTPD=OFF or -DWITH_TLS=OFF cmake .. -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 make -j 2 --keep-going This should work, if not then you have some other issue. You didn't give much info about your system so I just assumed because it's old 14.04 that you have an old compiler. Note: you will probably get "-Wno-class-memaccess" warning from cmake, but it's just warning you can ignore, not an error. |
Yes GCC was v4.8.5. Nice ! Compilation worked perfectly, no errors.
2018-11-02 03:13:49] found OpenCL GPU: Radeon RX 570 Series, cu: 32
|
Trying to compilate 2.8.4-om on Ethos 1.3.3 (Ubuntu 14.04), got errors related to OpenCL.
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-class-memaccess" [enabled by default]
make[2]: *** [CMakeFiles/xmrig-amd.dir/src/amd/OclGPU.cpp.o] Error 1
make[1]: *** [CMakeFiles/xmrig-amd.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: