Pages:
Author

Topic: [Sell][in stock] HashBuster ASIC Miners - page 10. (Read 72000 times)

sr. member
Activity: 432
Merit: 254
October 13, 2013, 01:19:53 AM
#71
minor changes - https://www.dropbox.com/s/ne4xscjn2x53cz4/cgminer_hid_spike.tar.bz2
improved performance and longer pull the chip (in this case, the screen will write Freqency (55) not changed for chip xx).
Who said rigid 52> frequency <55.

hero member
Activity: 546
Merit: 500
Owner, Minersource.net
October 12, 2013, 07:54:28 PM
#70
Emailed
member
Activity: 80
Merit: 10
October 12, 2013, 05:13:20 PM
#69
And the HB Nanos are running at a higher Hashrate I see now  Grin between 2.7 and 2.95 GH/s  Cool


+10% is reasonable result for software only tuning Smiley
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 05:01:29 PM
#68
And the HB Nanos are running at a higher Hashrate I see now  Grin between 2.7 and 2.95 GH/s  Cool

legendary
Activity: 2210
Merit: 1109
October 12, 2013, 04:53:01 PM
#67
Your help is very much appreciated and thank you for all help so far. I will try to solve the problem, a challenge for a Linux-newbie  Grin
Do you tried to run cgminer as root ? (sudo ./cgminer ...) ? If successfully - check permissions of /dev/hidraw* (ls -laF /dev/hidraw; chmod 666 /dev/hidraw*)
It seems that 01-cgminer.rules contains wrong usb IDs for hasbuster so your OS don't set permissions of /dev/hidraw* to allow unprivileged users to open USB device.

Praise the Lord ! and the Lords name is XBOCT ! This solved the problem, cgminer is now running with the hashbusters on my ubuntu machine. Thank you a thousand times gades and XBOCT !

member
Activity: 80
Merit: 10
October 12, 2013, 04:24:59 PM
#66
Your help is very much appreciated and thank you for all help so far. I will try to solve the problem, a challenge for a Linux-newbie  Grin
Do you tried to run cgminer as root ? (sudo ./cgminer ...) ? If successfully - check permissions of /dev/hidraw* (ls -laF /dev/hidraw; chmod 666 /dev/hidraw*)
It seems that 01-cgminer.rules contains wrong usb IDs for hasbuster so your OS don't set permissions of /dev/hidraw* to allow unprivileged users to open USB device.
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 03:57:01 PM
#65
Unfortunately I just ported the code to the new version cgminer, to get rid of pereodicheskih segfault. I operate the device without a virtual machine. Fix Firmware I can not do this as you are a consumer. Therefore I propose to work together to improve the code!

Your help is very much appreciated and thank you for all help so far. I will try to solve the problem, a challenge for a Linux-newbie  Grin
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 03:53:59 PM
#64
Oracle Virtualbox shows the Hashbuster Nano as: Starfury Laboratories hashbuster.nano Project [0100]

sr. member
Activity: 432
Merit: 254
October 12, 2013, 03:51:07 PM
#63
Unfortunately I just ported the code to the new version cgminer, to get rid of pereodicheskih segfault. I operate the device without a virtual machine. Fix Firmware I can not do this as you are a consumer. Therefore I propose to work together to improve the code!
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 03:45:31 PM
#62
disconnect power and usb, waited 30 sec, connected power, waited for led to stop blinking, connected usb: same error

The weird thing is, when I run the VirtualBox machine they work in cgminer ! When I do a lsub in a terminal in the virtual machine it shows the same as on the ubuntu machine, no manufacturer

lsusb on the virtualbox machine
Based on your image, then you have all worked, and lsusb output will not display the manufacturer because the package usbutils not know such a device as fa04: 0011

it works in the virtualmachine yes, but I don't want to use the virtualmachine. I want to run cgminer (or bfgminer) without a virtualboxmachine on my ubuntuserver or even better on my rapsberry pi with minepeon (my ultimate setup)

so more help is very much appriciated
sr. member
Activity: 432
Merit: 254
October 12, 2013, 03:38:34 PM
#61
disconnect power and usb, waited 30 sec, connected power, waited for led to stop blinking, connected usb: same error

The weird thing is, when I run the VirtualBox machine they work in cgminer ! When I do a lsub in a terminal in the virtual machine it shows the same as on the ubuntu machine, no manufacturer

lsusb on the virtualbox machine
Based on your image, then you have all worked, and lsusb output will not display the manufacturer because the package usbutils not know such a device as fa04: 0011
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 03:30:31 PM
#60
disconnect power and usb, waited 30 sec, connected power, waited for led to stop blinking, connected usb: same error

The weird thing is, when I run the VirtualBox machine they work in cgminer ! When I do a lsub in a terminal in the virtual machine it shows the same as on the ubuntu machine, no manufacturer

lsusb on the virtualbox machine

Code:
hashbuster@hashbuster-VirtualBox:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 003: ID fa04:0011 
Bus 002 Device 004: ID fa04:0011 
Bus 002 Device 005: ID fa04:0011 
hashbuster@hashbuster-VirtualBox:~$

This is what cgminer displays during startup in the Virtualbox machine
Code:
2013-10-12 15:34:04] BITFURY chip #1 detected
 [2013-10-12 15:34:08] BITFURY: 1 chips detected!
 [2013-10-12 15:34:08] Device Found
  type: fa04 0011
  path: /dev/hidraw3
  serial_number:
 [2013-10-12 15:34:08] Manufacturer: StarFury Laboratories

 [2013-10-12 15:34:08] Product: HashBuster.nano Project

 [2013-10-12 15:34:09] BITFURY chip #1 detected
 [2013-10-12 15:34:13] BITFURY: 1 chips detected!



sr. member
Activity: 432
Merit: 254
October 12, 2013, 03:02:46 PM
#59
Code:
[2013-10-12 20:25:27] Started cgminer 3.5.1[New Thread 0x7ffff1b72700 (LWP 4477)]

 [2013-10-12 20:25:27] Device Found
  type: fa04 0011
  path: /dev/hidraw2
  serial_number:
Program received signal SIGSEGV, Segmentation fault.
get_device_string (key=key@entry=DEVICE_STRING_MANUFACTURER,
    string=string@entry=0xf44800 L"", maxlen=maxlen@entry=255, dev=)
    at hid.c:256
256 fstat(dev->device_handle, &s);
(gdb) backtrace
#0  get_device_string (key=key@entry=DEVICE_STRING_MANUFACTURER,
    string=string@entry=0xf44800 L"", maxlen=maxlen@entry=255, dev=)
    at hid.c:256
#1  0x00007ffff6bfb65d in hid_get_manufacturer_string (dev=,
    string=string@entry=0xf44800 L"", maxlen=maxlen@entry=255) at hid.c:764
#2  0x000000000043fe6b in bitfury_detect () at driver-bitfury.c:985
#3  0x000000000040653d in main (argc=1, argv=0x7fffffffdff8) at cgminer.c:7950
(gdb)
Judging by mistake, the driver can not read the manufacturer: (Try to turn off the power and usb cord from all devices, and then turn back. then the error should abyss.

legendary
Activity: 2210
Merit: 1109
October 12, 2013, 02:29:01 PM
#58
Thanks, ldconfig did the job, I forgot that. Compile succesfull, no error with hidapi

did a configure and make for cgminer again. No I get this message running cgminer  Sad


 [2013-10-12 19:46:37] Started cgminer 3.5.1
 [2013-10-12 19:46:37] Device Found
  type: fa04 0011
  path: /dev/hidraw2
  serial_number:Segmentation fault (core dumped)


gdb /path_to_cgminer/bin/cgminer
run
backtrace

p.s./ I see you have more than one device, try to reload the board of power (molex connector) before starting cgminer

disconnected molex from boards, waited 30 seconds, reconnected molex

Code:
[2013-10-12 20:25:27] Started cgminer 3.5.1[New Thread 0x7ffff1b72700 (LWP 4477)]

 [2013-10-12 20:25:27] Device Found
  type: fa04 0011
  path: /dev/hidraw2
  serial_number:
Program received signal SIGSEGV, Segmentation fault.
get_device_string (key=key@entry=DEVICE_STRING_MANUFACTURER,
    string=string@entry=0xf44800 L"", maxlen=maxlen@entry=255, dev=)
    at hid.c:256
256 fstat(dev->device_handle, &s);
(gdb) backtrace
#0  get_device_string (key=key@entry=DEVICE_STRING_MANUFACTURER,
    string=string@entry=0xf44800 L"", maxlen=maxlen@entry=255, dev=)
    at hid.c:256
#1  0x00007ffff6bfb65d in hid_get_manufacturer_string (dev=,
    string=string@entry=0xf44800 L"", maxlen=maxlen@entry=255) at hid.c:764
#2  0x000000000043fe6b in bitfury_detect () at driver-bitfury.c:985
#3  0x000000000040653d in main (argc=1, argv=0x7fffffffdff8) at cgminer.c:7950
(gdb)

I have 3 hashbuster connected via an USB HUB

lsusb
Code:
lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 058: ID fa04:0011  
Bus 001 Device 059: ID fa04:0011  
Bus 001 Device 060: ID fa04:0011  
Bus 001 Device 004: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 005: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 001 Device 006: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 001 Device 010: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
Bus 001 Device 011: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB

Connected 1 hashbuster directly to usbport, disconnect other 2, same error
sr. member
Activity: 432
Merit: 254
October 12, 2013, 02:10:52 PM
#57
Thanks, ldconfig did the job, I forgot that. Compile succesfull, no error with hidapi

did a configure and make for cgminer again. No I get this message running cgminer  Sad


 [2013-10-12 19:46:37] Started cgminer 3.5.1
 [2013-10-12 19:46:37] Device Found
  type: fa04 0011
  path: /dev/hidraw2
  serial_number:Segmentation fault (core dumped)


gdb /path_to_cgminer/bin/cgminer
run
backtrace

p.s./ I see you have more than one device, try to reload the board of power (molex connector) before starting cgminer
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 01:48:27 PM
#56
cgminer: error while loading shared libraries: libhidapi-hidraw.so.0: cannot open shared object file: No such file or directory

if you install libhid - run ldconfig

To compile you need to:
1. install package: sudo apt-get install electric-fence dh-autoreconf
2. install hidapi library:
clone git from: https://github.com/signal11/hidapi
run ./bootstrap then ./configure, make, make install

Thanks, ldconfig did the job, I forgot that. Compile succesfull, no error with hidapi

did a configure and make for cgminer again. No I get this message running cgminer  Sad


 [2013-10-12 19:46:37] Started cgminer 3.5.1
 [2013-10-12 19:46:37] Device Found
  type: fa04 0011
  path: /dev/hidraw2
  serial_number:Segmentation fault (core dumped)
sr. member
Activity: 432
Merit: 254
October 12, 2013, 12:26:07 PM
#55
cgminer: error while loading shared libraries: libhidapi-hidraw.so.0: cannot open shared object file: No such file or directory

if you install libhid - run ldconfig

To compile you need to:
1. install package: sudo apt-get install electric-fence dh-autoreconf
2. install hidapi library:
clone git from: https://github.com/signal11/hidapi
run ./bootstrap then ./configure, make, make install
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 11:52:34 AM
#54
checking for pthread_create in -lpthread... no
configure: error: Could not find pthread library - please install libpthread

can you please help me. I just started with Linux so I am not an expert  Grin I run Ubuntu 13.04 64-bit

Check presence of hidapi (hidapi-hidraw)  library.

cloned hidapi with git but didn't compile it  Grin ./configure and make etc succesful, hidapi installed

Now I did run a configure for the cgminer-dir

./configure --disable-opencl --disable-adl --disable-bitforce --disable-icarus --disable-modminer --disable-ztex --disable-scrypt --enable-bitfury

Code:
------------------------------------------------------------------------
cgminer 3.5.1
------------------------------------------------------------------------


Configuration Options Summary:

  libcurl(GBT+getwork).: Enabled: -lcurl 
  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: Detection overrided. GPU mining support DISABLED
  scrypt...............: Disabled (needs OpenCL)
  ADL..................: Detection overrided. GPU monitoring support DISABLED

  Avalon.ASICs.........: Disabled
  BFL.ASICs............: Disabled
  BitForce.FPGAs.......: Disabled
  BitFury.ASICs........: Enabled
  Icarus.FPGAs.........: Disabled
  Klondike.ASICs.......: Disabled
  ModMiner.FPGAs.......: Disabled

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2
  LDFLAGS..............:  -lpthread
  LDADD................:  -lcurl   compat/jansson/libjansson.a -lpthread     -lm compat/libusb-1.0/libusb/.libs/libusb-1.0.a -ludev -lrt

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

then I did : sudo make install

Code:
petje@smurver:~/cgminer-hb/cgminer-hb06$ sudo make install
Making install in lib
make[1]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
  GEN    signal.h
  GEN    string.h
make  install-recursive
make[2]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
make[3]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
make[4]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
make[3]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
make[2]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
make[1]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/lib'
Making install in compat
make[1]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat'
Making install in jansson
make[2]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat/jansson'
make[3]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat/jansson'
make[3]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 jansson.h jansson_config.h '/usr/local/include'
make[3]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat/jansson'
make[2]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat/jansson'
Making install in libusb-1.0
make[2]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0'
Making install in libusb
make[3]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0/libusb'
make[4]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0/libusb'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libusb-1.0.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.2.0.0 /usr/local/lib/libusb-1.0.so.2.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.2.0.0 libusb-1.0.so.2 || { rm -f libusb-1.0.so.2 && ln -s libusb-1.0.so.2.0.0 libusb-1.0.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libusb-1.0.so.2.0.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.2.0.0 libusb-1.0.so; }; })
libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /usr/local/lib/libusb-1.0.la
libtool: install: /usr/bin/install -c .libs/libusb-1.0.a /usr/local/lib/libusb-1.0.a
libtool: install: chmod 644 /usr/local/lib/libusb-1.0.a
libtool: install: ranlib /usr/local/lib/libusb-1.0.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/include/libusb-1.0'
 /usr/bin/install -c -m 644 libusb.h '/usr/local/include/libusb-1.0'
make[4]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0/libusb'
make[3]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0/libusb'
make[3]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0'
make[4]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0'
make[4]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig'
make[4]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0'
make[3]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0'
make[2]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat/libusb-1.0'
make[2]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat'
make[3]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/compat'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat'
make[2]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat'
make[1]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/compat'
Making install in ccan
make[1]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/ccan'
make[2]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06/ccan'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/ccan'
make[1]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06/ccan'
make[1]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06'
  CC     cgminer-cgminer.o
  CC     cgminer-util.o
  CC     cgminer-sha2.o
  CC     cgminer-sha2_old.o
  CC     cgminer-api.o
  CC     cgminer-logging.o
  CC     cgminer-driver-opencl.o
  CC     cgminer-usbutils.o
  CC     cgminer-driver-bitfury.o
driver-bitfury.c: In function ‘spi_txrx’:
driver-bitfury.c:152:5: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat]
driver-bitfury.c: In function ‘libbitfury_sendHashData’:
driver-bitfury.c:785:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘unsigned int’ [-Wformat]
driver-bitfury.c:785:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘unsigned int’ [-Wformat]
driver-bitfury.c:797:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘unsigned int’ [-Wformat]
driver-bitfury.c:797:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘unsigned int’ [-Wformat]
driver-bitfury.c:835:8: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘unsigned int’ [-Wformat]
driver-bitfury.c:835:8: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘unsigned int’ [-Wformat]
driver-bitfury.c: At top level:
driver-bitfury.c:878:8: warning: conflicting types for ‘nmsleep’ [enabled by default]
driver-bitfury.c:593:7: note: previous implicit declaration of ‘nmsleep’ was here
driver-bitfury.c: In function ‘bitfury_detect’:
driver-bitfury.c:1011:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘double’ [-Wformat]
driver-bitfury.c:1011:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘double’ [-Wformat]
driver-bitfury.c: At top level:
driver-bitfury.c:1683:3: warning: initialization from incompatible pointer type [enabled by default]
driver-bitfury.c:1683:3: warning: (near initialization for ‘bitfury_drv.drv_detect’) [enabled by default]
driver-bitfury.c:1685:3: warning: initialization from incompatible pointer type [enabled by default]
driver-bitfury.c:1685:3: warning: (near initialization for ‘bitfury_drv.get_statline_before’) [enabled by default]
  CC     cgminer-libbitfury.o
  CC     cgminer-spidevc.o
In file included from spidevc.c:1:0:
spidevc.h:26:64: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:26:64: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
spidevc.h:29:27: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:30:36: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:31:36: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:32:30: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:34:64: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
In file included from spidevc.c:1:0:
spidevc.h:35:56: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:37:28: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:38:28: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:39:36: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
spidevc.h:47:73: warning: ‘struct cgpu_info’ declared inside parameter list [enabled by default]
  CCLD   cgminer
make[2]: Entering directory `/home/petje/cgminer-hb/cgminer-hb06'
 /bin/mkdir -p '/usr/local/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c cgminer '/usr/local/bin'
libtool: install: /usr/bin/install -c cgminer /usr/local/bin/cgminer
 /bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c ./diablo130302.cl ./diakgcn121016.cl ./phatk121016.cl ./poclbm130302.cl ./scrypt130511.cl '/usr/local/bin'
make[2]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06'
make[1]: Leaving directory `/home/petje/cgminer-hb/cgminer-hb06'

when I try to start cgminer I get this:

cgminer

cgminer: error while loading shared libraries: libhidapi-hidraw.so.0: cannot open shared object file: No such file or directory
member
Activity: 80
Merit: 10
October 12, 2013, 11:03:07 AM
#53
checking for pthread_create in -lpthread... no
configure: error: Could not find pthread library - please install libpthread

can you please help me. I just started with Linux so I am not an expert  Grin I run Ubuntu 13.04 64-bit

Check presence of hidapi (hidapi-hidraw)  library.
legendary
Activity: 2210
Merit: 1109
October 12, 2013, 10:11:13 AM
#52

I downloaded the new version, when I run ./configure I get this error:

checking for pthread_create in -lpthread... no
configure: error: Could not find pthread library - please install libpthread

library is installed:

sudo apt-get install libpthread-stubs0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libpthread-stubs0 is already the newest version.

can you please help me. I just started with Linux so I am not an expert  Grin I run Ubuntu 13.04 64-bit
Pages:
Jump to: