Author

Topic: Cgminer ADL SDK problem on Cent os 64 (Read 1765 times)

legendary
Activity: 1124
Merit: 1013
ParalleCoin's ruler from the shadow
March 29, 2013, 06:18:58 AM
#3
Can this help?  http://bitcoin-mining-headless.blogspot.com/2011/09/finally-cgminer-install-tutorial.html

Code:
$ ./autogen.sh
$ CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure

if you get the following error :
/usr/bin/ld: cgminer-adl.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so: could not read symbols: Invalid operation

remove the ADL directory, you must disable ADL.


! be sure the GPU and ADL are enabled !

$ make

6. Testing (to see the number of gpu the software sees)
$ export DISPLAY=:0   #(use this command only if you have more than one card)
$ ./cgminer -n


Thank you on response but it do not work, again it give me "segmentation fault" at the end.
Everything goes fine, on ./autogen.sh it report that ADL_SDK is enabled, but after "make" when try to start ./cgminer again "segmentation fault" appear.
newbie
Activity: 33
Merit: 0
March 28, 2013, 10:44:49 PM
#2
Can this help?  http://bitcoin-mining-headless.blogspot.com/2011/09/finally-cgminer-install-tutorial.html

Code:
$ ./autogen.sh
$ CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86_64" ./configure

if you get the following error :
/usr/bin/ld: cgminer-adl.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../x86_64-linux-gnu/libdl.so: could not read symbols: Invalid operation

remove the ADL directory, you must disable ADL.


! be sure the GPU and ADL are enabled !

$ make

6. Testing (to see the number of gpu the software sees)
$ export DISPLAY=:0   #(use this command only if you have more than one card)
$ ./cgminer -n
legendary
Activity: 1124
Merit: 1013
ParalleCoin's ruler from the shadow
March 28, 2013, 10:00:45 PM
#1
Hello,

I had install cgminer on centos 6.4 x64 with radeon 7770.
Everithing works fine except one thing, ADL_SDK.
I have try few variants, with catalyst-13.1 and catalyst-12.10, AMD-APP-SDK-v2.8-linx_64 with ADL_SDK_5.
ADL_SDK_5 include/*.h files are in /cgminer/ADL_SDK
Everything goes fine when I do ./autogen.sh at the end it say that ADL is enabled.
But when try to start cgminer I get segmetation fault.
I have also try with fixing permissions but it did not help.
So I delete files from /cgminer/ADL_SDK do ./autogen.sh and make again and everything works again but cant use --gpu- commands.

Does anyone know how to solve this?  Huh

Thank you!  Smiley
Jump to: