Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 157. (Read 1193223 times)

hero member
Activity: 630
Merit: 500
I had 14 devices attached, which all display - I attached a few more fpgas and the seem to all be hashing but i only see the first 14 devices - is there someway to force display in the dos window of all devices and their hashing info
hero member
Activity: 630
Merit: 500
I am soliciting some advice for the optimal .conf file config for BFL ASICS - I am bringing 8 Jalapenos online tomorrow night and have always ran my FPGA Singles with a rather vanilla .conf. (I know there are probably more optimum settings) With the Asics I want to get the maximum utility with them  - below is the conf  - I use with my 10 FPGA Singles

Thanks in advance for any input

{
"pools" : [
   {
      "url" : "stratum.btcguild.com:3333",
      "user" : "xxxxxxxxxxxxxxxxxxx",
      "pass" : "xxxxxxxxxxxxxxxxxxx",
      "pool-priority" : "0"
   }
]
,
"api-port" : "4028",
"expiry" : "120",
"expiry-lp" : "3600",
"gpu-dyninterval" : "7",
"gpu-threads" : "2",
"log" : "5",
"no-pool-disable" : true,
"no-show-processors" : true,
"no-show-procs" : true,
"queue" : "1",
"scan-time" : "60",
"skip-security-checks" : "0",
"submit-stale" : true,
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "C:\\Program Files\\BFGMiner\\/bin"
}
legendary
Activity: 2576
Merit: 1186
Hello. I´m trying to compile 3.0.2 on windows but it´s imposible to me.  Angry Sad Sad
I would like to have the BFG 3.0.2 compiled with the --enable-cpu and --enable-scrypt.

I know that only CPU mining is a waste of time, but it´s for testing. I'm trying to test CPU and GPU mining (only for FUN and for make diferent testing).

someone have the BFG 3.x.x with "--enable-scrypt --enable-cpu"?
You'll probably have better success working with the latest git code.
I posted binaries a few days ago with scrypt CPU mining supported as well.
sorry but, download from here: https://github.com/luke-jr/bfgminer ??
https://github.com/luke-jr/bfgminer/blob/bfgminer/windows-build.txt

I'm trying to run bfgminer (3.0.2) with my 30 erupters but I'm getting about 3-4% h/w errors.   I cool them in a specially designed cooling case.  The temperature on the sinks is abut 24-26C.

Here is a screenshot with stats:

http://www.petermoss.com/akbash-dev/bfgminer-erupters.jpg

My question is:  In your experience, what is the root cause of h/w errors?  More importantly, can it be improved in s/w?
Usually you can clock FPGAs/ASICs higher without damaging the chips themselves (overclocking), but getting instead logic errors resulting in things like this.
Since the overall hashrate is higher (desite the errors), it's usually considered "normal" to clock it to such a level (although 5% is quite a bit).
Unfortunately, for Block Erupters, there is zero software control available, so the only thing that can be done is try to cool it better.
It might also be possible that since their hashrate is about 10% higher than advertised, they simply declare them "good" even if there are actual defects that reduce the hashrate within that 10% - in which case there may be nothing you can do even with cooling.
newbie
Activity: 32
Merit: 0
Hello. I´m trying to compile 3.0.2 on windows but it´s imposible to me.  Angry Sad Sad
I would like to have the BFG 3.0.2 compiled with the --enable-cpu and --enable-scrypt.

I know that only CPU mining is a waste of time, but it´s for testing. I'm trying to test CPU and GPU mining (only for FUN and for make diferent testing).

someone have the BFG 3.x.x with "--enable-scrypt --enable-cpu"?
You'll probably have better success working with the latest git code.
I posted binaries a few days ago with scrypt CPU mining supported as well.


sorry but, download from here: https://github.com/luke-jr/bfgminer ??

thanks....
legendary
Activity: 2576
Merit: 1186
Hello. I´m trying to compile 3.0.2 on windows but it´s imposible to me.  Angry Sad Sad
I would like to have the BFG 3.0.2 compiled with the --enable-cpu and --enable-scrypt.

I know that only CPU mining is a waste of time, but it´s for testing. I'm trying to test CPU and GPU mining (only for FUN and for make diferent testing).

someone have the BFG 3.x.x with "--enable-scrypt --enable-cpu"?
You'll probably have better success working with the latest git code.
I posted binaries a few days ago with scrypt CPU mining supported as well.
newbie
Activity: 32
Merit: 0
Hello. I´m trying to compile 3.0.2 on windows but it´s imposible to me.  Angry Sad Sad
I would like to have the BFG 3.0.2 compiled with the --enable-cpu and --enable-scrypt.

I know that only CPU mining is a waste of time, but it´s for testing. I'm trying to test CPU and GPU mining (only for FUN and for make diferent testing).

someone have the BFG 3.x.x with "--enable-scrypt --enable-cpu"?


thanks.....
sorry for my english

newbie
Activity: 50
Merit: 0
BFGminer running for 2 months without issues. Updated to AMD drivers 13.4 today. Now it's crashing on startup everytime. Using AMD HD6850 and Windows 7 x64 SP1 + all windows updates.

Command line: --gpu-threads 1 --queue 0 --intensity=d --gpu-dyninterval 16 --failover-only

I deleted the precompiled kernel and it's not making a new one. There's nothing written to the console.

Problem Event Name:   APPCRASH
  Application Name:   bfgminer.exe
  Application Version:   0.0.0.0
  Application Timestamp:   517cb77a
  Fault Module Name:   bfgminer.exe
  Fault Module Version:   0.0.0.0
  Fault Module Timestamp:   517cb77a
  Exception Code:   c0000005
  Exception Offset:   000000000003c9d9
  OS Version:   6.1.7601.2.1.0.256.1
  Locale ID:   1033
  Additional Information 1:   e68f
  Additional Information 2:   e68fabd2622a99ce852fcf528f13d88e
  Additional Information 3:   bf43
  Additional Information 4:   bf43415df077bf09da15770f50cc570b


Both 3.0.2 and 2.10.8 crash in the same manner.

EDIT:

Fixed. I am leaving this here for those who end up having my issue.

-Uninstall all ATI software.
-Restart.
-Create a batch file with the following and run it:

@C:
@cd C:\Windows\System32
del SlotMaximizerAg.dll
del SlotMaximizerBe.dll
del amdocl64.dll
del OpenCL.dll
del OpenVideo64.dll
del OVDecode64.dll
@Cd C:\Windows\SysWOW64
del SlotMaximizerAg.dll
Del SlotMaximizerBe.dll
del amdocl.dll
del OpenCL.dll
del OpenVideo.dll
del OVDecode.dll
@rmdir C:\ProgramData\AMD\KDB /S /Q

-Reinstall ATI 13.1 drivers.

Thanks a lot for this information. I was able to get my 6850 to work perfectly with bfgminer after doing this. I'm averaging 235 MH/s with the core clock at 925, and the memory clock at 300. It's also very stable. I've had it running for about 5 days now.
sr. member
Activity: 435
Merit: 250
I have no screen on my mac, homebrow seam complex to install, I have 10.6, then I need curl...
Just provide simple package is very more simple for me.
It's not that simple or binaries would already be available. You need the right libraries as well, which is why Homebrew or an installer are necessary. I think, either way, you're going to have a hard time getting it going on 10.6. There's a Mac app and installer in beta here, but it requires 10.8.

You might want to rephrase the original "compile from source using Homebrew", because it really isn't that obvious. "brew search bfgminer" is the first thing that pops to mind.
It was no problem to compile under 10.8. I don't have a 10.6 anymore, can't report on that.
legendary
Activity: 922
Merit: 1003
Good news: I think I have stumbled upon the stratum-went-down-related crash people have been reporting while testing BFGMiner in Valgrind.
This should give me enough information to get it fixed in the next release. Smiley
Ok, I believe this problem should be fixed in the latest git code.

For Windows testers... Win32 and Win64 binaries are built (drop them in a directory with 3.0.2 DLLs)
As one of the people experiencing these 'crash' issues, I just wanted to mention that I've been running this experimental version for about 3 days straight now. 3 separate clusters. No issues so far. Still too early to conclude anything with certainty, but it *seems* to have solved the issues I've been having with anything post 2.10.x.

So, looking good so far!
member
Activity: 98
Merit: 10
Danke! Tak! Merci! I'll post back once the USB erupter arrives.
legendary
Activity: 2576
Merit: 1186
Ok, I'm a relative neophyte regarding ASICs. Up to this point have been mining on GPUs. So I need a bit of hand-holding step-by-step here Smiley I'm getting a USB block erupter and if I want to mine with BFGMiner under Win7 x64 , to my knowledge this is what I need to do:

1. install SiLabs VCP driver
2. run bfgminer -S all [mining pool parameters]
Right, though the VCP driver install should be automatic in most cases.

Questions:

1. do I need WinUSB driver too (and zadig to install it)?
NO! This will break it.
2. how to I specify specific com ports (-S 1 for COM1 or is it -S COM1)?
-S \\.\COM1 but -S all is sufficient to probe every COM port
member
Activity: 98
Merit: 10
Ok, I'm a relative neophyte regarding ASICs. Up to this point have been mining on GPUs. So I need a bit of hand-holding step-by-step here Smiley I'm getting a USB block erupter and if I want to mine with BFGMiner under Win7 x64 , to my knowledge this is what I need to do:

1. install SiLabs VCP driver
2. run bfgminer -S all [mining pool parameters]

Questions:

1. do I need WinUSB driver too (and zadig to install it)?
2. how to I specify specific com ports (-S 1 for COM1 or is it -S COM1)?

Thanks!
legendary
Activity: 2576
Merit: 1186
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Compilation error:
...
Code:
miner.h:38:20: fatal error: uthash.h: No such file or directory
util.c:51:20: fatal error: utlist.h: No such file or directory
As mentioned in the (updated) README, uthash-dev is now an external dependency.

Thanks:) uthash-dev installed, it works now.
Can you please add uthash-dev check to ./configure script? It will prevent to fail during make like it does right now.
legendary
Activity: 2576
Merit: 1186
Compilation error:
...
Code:
miner.h:38:20: fatal error: uthash.h: No such file or directory
util.c:51:20: fatal error: utlist.h: No such file or directory
As mentioned in the (updated) README, uthash-dev is now an external dependency.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Compilation error:
Code:
$ git log |head -n 6
commit 8c0eea3179aa1c8f248243a73f57ff383a327a1d
Merge: bc4e33a e432407
Author: Luke Dashjr
Date:   Sun Jun 2 21:01:08 2013 +0000

    Merge branch '20130530_portablecpu' into bfgminer
Code:
CFLAGS="-O2 -Wall -march=native" ./configure --enable-icarus --disable-ztex --disable-opencl --disable-adl --disable-modminer --disable-x6500 --disable-bitforce
make -j4
Code:
make  all-recursive
make[1]: Entering directory `/home/pioruns/bfgminer'
Making all in lib
make[2]: Entering directory `/home/pioruns/bfgminer/lib'
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    signal.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/home/pioruns/bfgminer/lib'
make[4]: Entering directory `/home/pioruns/bfgminer/lib'
  CC     dummy.o
  AR     libgnu.a
make[4]: Leaving directory `/home/pioruns/bfgminer/lib'
make[3]: Leaving directory `/home/pioruns/bfgminer/lib'
make[2]: Leaving directory `/home/pioruns/bfgminer/lib'
Making all in ccan
make[2]: Entering directory `/home/pioruns/bfgminer/ccan'
  CC     libccan_a-helpers.o
  CC     libccan_a-opt.o
  CC     libccan_a-parse.o
  CC     libccan_a-usage.o
  AR     libccan.a
make[2]: Leaving directory `/home/pioruns/bfgminer/ccan'
Making all in libblkmaker
make[2]: Entering directory `/home/pioruns/bfgminer/libblkmaker'
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.     -O2 -Wall -march=native -MT libblkmaker_jansson_0.1_la-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Tpo -c -o libblkmaker_jansson_0.1_la-blkmaker_jansson.lo `test -f 'blkmaker_jansson.c' || echo './'`blkmaker_jansson.c
/bin/bash ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.     -O2 -Wall -march=native -MT base58.lo -MD -MP -MF .deps/base58.Tpo -c -o base58.lo base58.c
/bin/bash ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.     -O2 -Wall -march=native -MT blkmaker.lo -MD -MP -MF .deps/blkmaker.Tpo -c -o blkmaker.lo blkmaker.c
/bin/bash ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.     -O2 -Wall -march=native -MT blktemplate.lo -MD -MP -MF .deps/blktemplate.Tpo -c -o blktemplate.lo blktemplate.c
libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -Wall -march=native -MT base58.lo -MD -MP -MF .deps/base58.Tpo -c base58.c  -fPIC -DPIC -o .libs/base58.o
libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -Wall -march=native -MT blkmaker.lo -MD -MP -MF .deps/blkmaker.Tpo -c blkmaker.c  -fPIC -DPIC -o .libs/blkmaker.o
libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -Wall -march=native -MT blktemplate.lo -MD -MP -MF .deps/blktemplate.Tpo -c blktemplate.c  -fPIC -DPIC -o .libs/blktemplate.o
mv -f .deps/blkmaker.Tpo .deps/blkmaker.Plo
mv -f .deps/base58.Tpo .deps/base58.Plo
/bin/bash ./libtool --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.     -O2 -Wall -march=native -MT hex.lo -MD -MP -MF .deps/hex.Tpo -c -o hex.lo hex.c
libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -Wall -march=native -MT libblkmaker_jansson_0.1_la-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Tpo -c blkmaker_jansson.c  -fPIC -DPIC -o .libs/libblkmaker_jansson_0.1_la-blkmaker_jansson.o
mv -f .deps/blktemplate.Tpo .deps/blktemplate.Plo
blkmaker_jansson.c: In function '_blkmk_submit_jansson':
blkmaker_jansson.c:287:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
mv -f .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Tpo .deps/libblkmaker_jansson_0.1_la-blkmaker_jansson.Plo
libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -O2 -Wall -march=native -MT hex.lo -MD -MP -MF .deps/hex.Tpo -c hex.c  -fPIC -DPIC -o .libs/hex.o
mv -f .deps/hex.Tpo .deps/hex.Plo
/bin/bash ./libtool --tag=CC   --mode=link gcc -std=gnu99  -O2 -Wall -march=native -version-info 4:0:4 -no-undefined  -o libblkmaker-0.1.la -rpath /usr/local/lib base58.lo blkmaker.lo blktemplate.lo hex.lo
libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/base58.o .libs/blkmaker.o .libs/blktemplate.o .libs/hex.o    -O2 -march=native   -Wl,-soname -Wl,libblkmaker-0.1.so.0 -o .libs/libblkmaker-0.1.so.0.4.0
libtool: link: (cd ".libs" && rm -f "libblkmaker-0.1.so.0" && ln -s "libblkmaker-0.1.so.0.4.0" "libblkmaker-0.1.so.0")
libtool: link: (cd ".libs" && rm -f "libblkmaker-0.1.so" && ln -s "libblkmaker-0.1.so.0.4.0" "libblkmaker-0.1.so")
libtool: link: ( cd ".libs" && rm -f "libblkmaker-0.1.la" && ln -s "../libblkmaker-0.1.la" "libblkmaker-0.1.la" )
/bin/bash ./libtool --tag=CC   --mode=link gcc -std=gnu99  -O2 -Wall -march=native -L.libs -lblkmaker-0.1 -ljansson   -no-undefined -version-info 4:0:4  -o libblkmaker_jansson-0.1.la -rpath /usr/local/lib libblkmaker_jansson_0.1_la-blkmaker_jansson.lo
libtool: link: gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/libblkmaker_jansson_0.1_la-blkmaker_jansson.o   -Wl,-rpath -Wl,/home/pioruns/bfgminer/libblkmaker/.libs -L.libs /home/pioruns/bfgminer/libblkmaker/.libs/libblkmaker-0.1.so -ljansson  -O2 -march=native   -Wl,-soname -Wl,libblkmaker_jansson-0.1.so.0 -o .libs/libblkmaker_jansson-0.1.so.0.4.0
libtool: link: (cd ".libs" && rm -f "libblkmaker_jansson-0.1.so.0" && ln -s "libblkmaker_jansson-0.1.so.0.4.0" "libblkmaker_jansson-0.1.so.0")
libtool: link: (cd ".libs" && rm -f "libblkmaker_jansson-0.1.so" && ln -s "libblkmaker_jansson-0.1.so.0.4.0" "libblkmaker_jansson-0.1.so")
libtool: link: ( cd ".libs" && rm -f "libblkmaker_jansson-0.1.la" && ln -s "../libblkmaker_jansson-0.1.la" "libblkmaker_jansson-0.1.la" )
make[2]: Leaving directory `/home/pioruns/bfgminer/libblkmaker'
make[2]: Entering directory `/home/pioruns/bfgminer'
  CC     bfgminer-miner.o
  CC     bfgminer-deviceapi.o
  CC     bfgminer-util.o
  CC     bfgminer-sha2.o
  CC     bfgminer-api.o
In file included from deviceapi.h:8:0,
                 from deviceapi.c:28:
miner.h:38:20: fatal error: uthash.h: No such file or directory
compilation terminated.
util.c:51:20: fatal error: utlist.h: No such file or directory
compilation terminated.
In file included from api.c:29:0:
miner.h:38:20: fatal error: uthash.h: No such file or directory
compilation terminated.
miner.c:48:20: fatal error: utlist.h: No such file or directory
compilation terminated.
make[2]: *** [bfgminer-deviceapi.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [bfgminer-util.o] Error 1
make[2]: *** [bfgminer-api.o] Error 1
make[2]: *** [bfgminer-miner.o] Error 1
make[2]: Leaving directory `/home/pioruns/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pioruns/bfgminer'
make: *** [all] Error 2
legendary
Activity: 896
Merit: 1000
Hi Luke,

Small compile error to report again from git;-

uname -a
Linux minepeon 3.6.11-11-ARCH+ #1 PREEMPT Tue May 14 16:12:58 UTC 2013 armv6l GNU/Linux

./autogen.sh

CFLAGS="-O2 -Wall -march=native" ./configure --enable-cpumining --disable-opencl --disable-adl --enable-bitforce --enable-icarus --enable-modminer --enable-ztex --with-libudev  --enable-avalon --enable-bflsc --prefix=/opt/minepeon

make

make  all-recursive
make[1]: Entering directory `/opt/minepeon/src/gitsources/bfgminer'
Making all in lib
make[2]: Entering directory `/opt/minepeon/src/gitsources/bfgminer/lib'
  GEN      signal.h
  GEN      stdint.h
  GEN      string.h
make  all-recursive
make[3]: Entering directory `/opt/minepeon/src/gitsources/bfgminer/lib'
make[4]: Entering directory `/opt/minepeon/src/gitsources/bfgminer/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/opt/minepeon/src/gitsources/bfgminer/lib'
make[3]: Leaving directory `/opt/minepeon/src/gitsources/bfgminer/lib'
make[2]: Leaving directory `/opt/minepeon/src/gitsources/bfgminer/lib'
Making all in ccan
make[2]: Entering directory `/opt/minepeon/src/gitsources/bfgminer/ccan'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/minepeon/src/gitsources/bfgminer/ccan'
Making all in libblkmaker
make[2]: Entering directory `/opt/minepeon/src/gitsources/bfgminer/libblkmaker'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/minepeon/src/gitsources/bfgminer/libblkmaker'
make[2]: Entering directory `/opt/minepeon/src/gitsources/bfgminer'
  CC       libsse2cpuminer_a-sha256_4way.o
gcc: error: unrecognized command line option â-msse2â
make[2]: *** [libsse2cpuminer_a-sha256_4way.o] Error 1
make[2]: Leaving directory `/opt/minepeon/src/gitsources/bfgminer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/minepeon/src/gitsources/bfgminer'
make: *** [all] Error 2

Thanks

Neil
newbie
Activity: 32
Merit: 0
thanks. I will try with 3.0.2


Hello, someone with experience compiling in windows???
windows-build.txt is outdated. A contributor is working on bringing it up to date for 3.1.0; his current progress is in http://pastebin.com/raw.php?i=drN7QHBV
legendary
Activity: 2576
Merit: 1186
Hello, someone with experience compiling in windows???
windows-build.txt is outdated. A contributor is working on bringing it up to date for 3.1.0; his current progress is in http://pastebin.com/raw.php?i=drN7QHBV
newbie
Activity: 32
Merit: 0
Hello, someone with experience compiling in windows???

the error is when I ejecute the command "MAKE"
I paste below the command ./configure too and the jansson.pc file
please HELP and sorry for my english...

Thanks

MAKE
-------------------------------------------------

make  all-recursive
make[1]: Entering directory `/home/joseska/bfgminer-3.0.0'
Making all in lib
make[2]: Entering directory `/home/joseska/bfgminer-3.0.0/lib'
  GEN    arg-nonnull.h
  GEN    c++defs.h
  GEN    warn-on-use.h
  GEN    signal.h
  GEN    string.h
make  all-recursive
make[3]: Entering directory `/home/joseska/bfgminer-3.0.0/lib'
make[4]: Entering directory `/home/joseska/bfgminer-3.0.0/lib'
  CC     dummy.o
  CC     memmem.o
  CC     sigaction.o
  CC     sigprocmask.o
  CC     strtok_r.o
  AR     libgnu.a
make[4]: Leaving directory `/home/joseska/bfgminer-3.0.0/lib'
make[3]: Leaving directory `/home/joseska/bfgminer-3.0.0/lib'
make[2]: Leaving directory `/home/joseska/bfgminer-3.0.0/lib'
Making all in ccan
make[2]: Entering directory `/home/joseska/bfgminer-3.0.0/ccan'
  CC     helpers.o
  CC     opt.o
  CC     parse.o
  CC     usage.o
  AR     libccan.a
make[2]: Leaving directory `/home/joseska/bfgminer-3.0.0/ccan'
Making all in libblkmaker
make[2]: Entering directory `/home/joseska/bfgminer-3.0.0/libblkmaker'
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -std=gnu99 -DPACKAGE_NAME=\"lib
blkmaker\" -DPACKAGE_TARNAME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE
_STRING=\"libblkmaker\ 0.1\" -DPACKAGE_BUGREPORT=\"[email protected]\"
 -DPACKAGE_URL=\"http://gitorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkma
ker\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=
1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAV
E_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE
_LIBWS2_32=1 -I.    @CPPFLAG_JANSSON_STATICLIB@ -IC:/MinGW/include   -O2 -msse2
-MT libblkmaker_jansson_0.1_la-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker
_jansson_0.1_la-blkmaker_jansson.Tpo -c -o libblkmaker_jansson_0.1_la-blkmaker_j
ansson.lo `test -f 'blkmaker_jansson.c' || echo './'`blkmaker_jansson.c
libtool: compile:  gcc -std=gnu99 -DPACKAGE_NAME=\"libblkmaker\" -DPACKAGE_TARNA
ME=\"libblkmaker\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"libblkmaker 0.1
\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"http://g
itorious.org/bitcoin/libblkmaker\" -DPACKAGE=\"libblkmaker\" -DVERSION=\"0.1\" -
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAV
E_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STD
INT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBWS2_32=1 -I. @CPPFLAG
_JANSSON_STATICLIB@ -IC:/MinGW/include -O2 -msse2 -MT libblkmaker_jansson_0.1_la
-blkmaker_jansson.lo -MD -MP -MF .deps/libblkmaker_jansson_0.1_la-blkmaker_janss
on.Tpo -c blkmaker_jansson.c  -DDLL_EXPORT -DPIC -o .libs/libblkmaker_jansson_0.
1_la-blkmaker_jansson.o
gcc.exe: error: @CPPFLAG_JANSSON_STATICLIB@: No such file or directory
make[2]: *** [libblkmaker_jansson_0.1_la-blkmaker_jansson.lo] Error 1
make[2]: Leaving directory `/home/joseska/bfgminer-3.0.0/libblkmaker'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joseska/bfgminer-3.0.0'
make: *** [all] Error 2


joseska@WIN-HDBU4L5I4L6 ~/bfgminer-3.0.0



----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




CFLAGS="-O2 -msse2" ./configure --enable-cpumining --enable-scrypt
-------------------------------------------------------------------------------
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc option to accept ISO C99... -std=gnu99
checking for ranlib... ranlib
checking whether gcc -std=gnu99 needs -traditional... no
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking for ranlib... (cached) ranlib
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for mprotect... yes
checking for sigaction... no
checking for sigaltstack... no
checking for siginterrupt... no
checking for mmap... no
checking whether memchr works... yes
checking whether memmem is declared... no
checking for memmem... no
checking for C/C++ restrict keyword... __restrict
checking for uid_t in sys/types.h... no
checking for inline... inline
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for wchar_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether memmem is declared without a macro... no
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... no
checking whether stpncpy is declared without a macro... no
checking whether strchrnul is declared without a macro... no
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... no
checking whether strnlen is declared without a macro... no
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... no
checking whether strcasestr is declared without a macro... no
checking whether strtok_r is declared without a macro... no
checking whether strerror_r is declared without a macro... no
checking whether strsignal is declared without a macro... no
checking whether strverscmp is declared without a macro... no
checking whether strtok_r is declared... no
checking for memmem... (cached) no
checking for siginfo_t... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether sigaction is declared without a macro... no
checking whether sigaddset is declared without a macro... no
checking whether sigdelset is declared without a macro... no
checking whether sigemptyset is declared without a macro... no
checking whether sigfillset is declared without a macro... no
checking whether sigismember is declared without a macro... no
checking whether sigpending is declared without a macro... no
checking whether sigprocmask is declared without a macro... no
checking for sigset_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for strtok_r... no
checking for ANSI C header files... (cached) yes
checking syslog.h usability... no
checking syslog.h presence... no
checking for syslog.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for pthread_cancel... with -pthread -lpthread
checking for pkg-config... /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JANSSON... yes
checking for pkg-config... (cached) /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... no
checking for libusb_init in -lusb-1.0... no
checking for libusb_init in -lusb... no
configure: WARNING: Could not find libusb, required for X6500 support
configure: WARNING: Could not find libusb, required for ZTEX support
checking for best native curses library... none?
checking for library containing addstr... -lpdcurses
checking for yasm... false
configure: yasm is required for the assembly algorithms. They will be skipped.
checking libudev.h usability... no
checking libudev.h presence... no
checking for libudev.h... no
checking for LIBCURL... yes
configure: WARNING: Your libcurl pkgconfig file is broken, applying workaround
checking for bswap_* functions... no
checking for __builtin_bswap* functions... no
checking for __bswap_* functions... no
checking for __swap* functions... no
checking for swap* functions... no
checking for OSSwapInt* functions... no
checking for platform endian... little endian (sys/param.h)
checking if GNU format attribute compiles... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating x86_64/Makefile
config.status: creating x86_32/Makefile
config.status: creating ccan/Makefile
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=== configuring in libblkmaker (/home/joseska/bfgminer-3.0.0/libblkmaker)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/
local'  '--enable-cpumining' '--enable-scrypt' 'CFLAGS=-O2 -msse2' --cache-file=
/dev/null --srcdir=.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... no, using cp -p
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format...
func_convert_file_msys_to_w32
checking how to convert i686-pc-mingw32 file names to toolchain format... func_c
onvert_file_msys_to_w32
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_imp
lib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc -std=gnu99 PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (c:/mingw/mingw32/bin/ld.exe) support
s shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /mingw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JANSSON... yes
checking for strchr in -lws2_32... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libblkmaker_jansson-0.1.pc
config.status: executing depfiles commands
config.status: executing libtool commands



------------------------------------------------------------------------
bfgminer 3.0.0
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: pdcurses
  scrypt...............: Enabled

  OpenCL...............: Enabled
    ADL.monitoring.....: Enabled
  Avalon.ASICs.........: Disabled
  BitForce.devices.....: Enabled
  Icarus.FPGAs.........: Enabled
  ModMiner.FPGAs.......: Enabled
  X6500.FPGAs..........: Disabled (libusb not found)
  ZTEX.FPGAs...........: Disabled (libusb not found)
  libudev.detection....: no

  CPU Mining...........: Enabled
  ASM.(for CPU mining).: false

Compilation............: make (or gmake)
  CPPFLAGS.............: -pthread
  CFLAGS...............: -O2 -msse2 @CPPFLAG_JANSSON_STATICLIB@ -IC:/MinGW/inclu
de -pthread
  LDFLAGS..............: -pthread -lpthread
  LDADD................: -LC:/MinGW/lib -lcurl -lcurldll -LC:/MinGW/bin/lib -lja
nsson -lpdcurses -lws2_32 -lm

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local


joseska@WIN-HDBU4L5I4L6 ~/bfgminer-3.0.0
$







jansson.pc File
------------------------------------------------------------------------------------

prefix=.
exec_prefix=${prefix}/bin
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: jansson
Description: Library for encoding, decoding and manipulating JSON data
Version: 2.4
Libs: -L${libdir} -ljansson
Cflags: -I${includedir} @CPPFLAG_JANSSON_STATICLIB@



Thanks again
Jump to: