Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: mordsith on February 28, 2014, 12:04:32 PM



Title: Installation help: Segmentation fault on Debian Linux 7.4
Post by: mordsith on February 28, 2014, 12:04:32 PM
When I ran cgminer, I got a message:

Started cgminer 3.5.1Segmentation fault

 

This is what I installed:

 

ADL_SDK_6.0

AMD-APP-SDK-v2.9-lnx64

litecoin-0.8.6.2

AMD Catalyst 12.6 (according to the Debian page:

aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') fglrx-driver

)

 

My system is: Debian Linux 7.4

Graphics card info from issuing: lspci -v | grep VGA

    Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cayman PRO [Radeon HD 6950] (prog-if 00 [VGA controller])
 

 

Then I installed cgminer-3.5.1 by doing the following:

./configure --enable-scrypt

make

sudo make install

 

Am I supposed to use the information from the CFLAGS, LDFLAGS, and LDADD from the results of the configure command below? Or is it just displaying it as an FYI.

 

Thanks.

 

==============

 

The results of ./configure --enable-scyrpt:

 

Configuration Options Summary:

  libcurl(GBT+getwork).: Enabled: -lcurl  
  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: FOUND. GPU mining support enabled
  scrypt...............: Enabled
  ADL..................: SDK found, GPU monitoring support enabled

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

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl   compat/jansson/libjansson.a -lpthread -L/opt/AMDAPP/lib/x86_64 -lOpenCL    -lm  -lrt

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