Cgminer Pthread Error

Discussion in 'cgminer' started by jumparo, Aug 22, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. jumparo

    jumparo New Member

    Mar 27, 2016
    Hello to everyone,
    I am trying to compile decred/cgminer from a long time in linux 16.04 using mingw32

    After this command i have no errors :

    CPPFLAGS="-I`pwd`/../win32/include" LDFLAGS="-L`pwd`/../win32/lib -lcurldll" ./configure --host=i586-mingw32msvc --disable-git-version --enable-opencl --disable-adl

    But when I do make, I am having this error :

    cgminer.c: In function ‘api_thread’:
    cgminer.c:5250: error: incompatible types in assignment
    cgminer.c: In function ‘main’:
    cgminer.c:8677: warning: integer constant is too large for ‘long’ type
    Makefile:850: recipe for target 'cgminer-cgminer.o' failed
    make[2]: *** [cgminer-cgminer.o] Error 1
    make[2]: Leaving directory '/home/cgminer'
    Makefile:1208: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/cgminer'
    Makefile:654: recipe for target 'all' failed

    I even tried this fix : , but it didn't work. Any ideas , will be greatly appreciated !

    Thank you !

Share This Page