SlickMcFavorite (OP)
Newbie
Offline
Activity: 44
Merit: 0
|
|
April 09, 2013, 08:16:30 PM |
|
Hi everyone, I'm trying to set up Cgminer on a shiny new install of Ubuntu 12.04. I've installed the AMD SDK packages, put the *.h files into Cgminer's ADK folder and I've got all of the dependencies mentioned in the README. When I try to build Cgminer CFLAGS="-o2 -Wall -march=native" ./configure
It stops here: checking whether the C compiler works... no configure: error: in `/home/slick/cgminer-2.11.3': configure: error: C compiler cannot create executables
Any help/hints would be greatly appreciated as I am Linux noobie. I figured this would be a good project to get me more familiar, since I'll have to start using Linux more for work soon. I think this is the most relevant part of the config file (the entire thing is at the bottom): gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) configure:3796: $? = 0 configure:3785: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:3796: $? = 4 configure:3785: gcc -qversion >&5 gcc: error: unrecognized option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3796: $? = 4 configure:3816: checking whether the C compiler works configure:3838: gcc -o2 -Wall -march=native conftest.c >&5 configure:3842: $? = 0 configure:3880: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cgminer" | #define PACKAGE_TARNAME "cgminer" | #define PACKAGE_VERSION "2.11.3" | #define PACKAGE_STRING "cgminer 2.11.3" | #define PACKAGE_BUGREPORT "kernel@kolivas.org" | #define PACKAGE_URL "" | #define PACKAGE "cgminer" | #define VERSION "2.11.3" | /* end confdefs.h. */ Here's the whole config file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by cgminer configure 2.11.3, which was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ## ## Platform. ## ## --------- ##
hostname = Zamboni uname -m = x86_64 uname -r = 3.5.0-23-generic uname -s = Linux uname -v = #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013
/usr/bin/uname -p = unknown /bin/uname -X = unknown
/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown
PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin
## ----------- ## ## Core tests. ## ## ----------- ##
configure:2779: checking build system type configure:2793: result: x86_64-unknown-linux-gnu configure:2813: checking host system type configure:2826: result: x86_64-unknown-linux-gnu configure:2846: checking target system type configure:2859: result: x86_64-unknown-linux-gnu configure:2907: checking for a BSD-compatible install configure:2975: result: /usr/bin/install -c configure:2986: checking whether build environment is sane configure:3036: result: yes configure:3177: checking for a thread-safe mkdir -p configure:3216: result: /bin/mkdir -p configure:3230: checking for gawk configure:3260: result: no configure:3230: checking for mawk configure:3246: found /usr/bin/mawk configure:3257: result: mawk configure:3268: checking whether make sets $(MAKE) configure:3290: result: yes configure:3381: checking whether make supports nested variables configure:3398: result: yes configure:3421: checking for style of include used by make configure:3449: result: GNU configure:3520: checking for gcc configure:3536: found /usr/bin/gcc configure:3547: result: gcc configure:3776: checking for C compiler version configure:3785: gcc --version >&5 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3796: $? = 0 configure:3785: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) configure:3796: $? = 0 configure:3785: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:3796: $? = 4 configure:3785: gcc -qversion >&5 gcc: error: unrecognized option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3796: $? = 4 configure:3816: checking whether the C compiler works configure:3838: gcc -o2 -Wall -march=native conftest.c >&5 configure:3842: $? = 0 configure:3880: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "cgminer" | #define PACKAGE_TARNAME "cgminer" | #define PACKAGE_VERSION "2.11.3" | #define PACKAGE_STRING "cgminer 2.11.3" | #define PACKAGE_BUGREPORT "kernel@kolivas.org" | #define PACKAGE_URL "" | #define PACKAGE "cgminer" | #define VERSION "2.11.3" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3885: error: in `/home/slick/cgminer-2.11.3': configure:3887: error: C compiler cannot create executables See `config.log' for more details
## ---------------- ## ## Cache variables. ## ## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-o2 -Wall -march=native' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBCURL_CFLAGS_set= ac_cv_env_LIBCURL_CFLAGS_value= ac_cv_env_LIBCURL_LIBS_set= ac_cv_env_LIBCURL_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LIBUSB_CFLAGS_set= ac_cv_env_LIBUSB_CFLAGS_value= ac_cv_env_LIBUSB_LIBS_set= ac_cv_env_LIBUSB_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-unknown-linux-gnu ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu am_cv_make_support_nested_variables=yes
## ----------------- ## ## Output variables. ## ## ----------------- ##
ACLOCAL='${SHELL} /home/slick/cgminer-2.11.3/missing --run aclocal-1.11' ALLOCA='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' APPLE_UNIVERSAL_BUILD='' AUTOCONF='${SHELL} /home/slick/cgminer-2.11.3/missing --run autoconf' AUTOHEADER='${SHELL} /home/slick/cgminer-2.11.3/missing --run autoheader' AUTOMAKE='${SHELL} /home/slick/cgminer-2.11.3/missing --run automake-1.11' AWK='mawk' BITSIZEOF_PTRDIFF_T='' BITSIZEOF_SIG_ATOMIC_T='' BITSIZEOF_SIZE_T='' BITSIZEOF_WCHAR_T='' BITSIZEOF_WINT_T='' CC='gcc' CCDEPMODE='' CFLAGS='-o2 -Wall -march=native' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLOPEN_FLAGS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GL_COND_LIBTOOL_FALSE='' GL_COND_LIBTOOL_TRUE='' GL_GENERATE_STDDEF_H_FALSE='' GL_GENERATE_STDDEF_H_TRUE='' GL_GENERATE_STDINT_H_FALSE='' GL_GENERATE_STDINT_H_TRUE='' GNULIB_MBSCASECMP='' GNULIB_MBSCASESTR='' GNULIB_MBSCHR='' GNULIB_MBSCSPN='' GNULIB_MBSLEN='' GNULIB_MBSNCASECMP='' GNULIB_MBSNLEN='' GNULIB_MBSPBRK='' GNULIB_MBSPCASECMP='' GNULIB_MBSRCHR='' GNULIB_MBSSEP='' GNULIB_MBSSPN='' GNULIB_MBSSTR='' GNULIB_MBSTOK_R='' GNULIB_MEMCHR='' GNULIB_MEMMEM='' GNULIB_MEMPCPY='' GNULIB_MEMRCHR='' GNULIB_RAWMEMCHR='' GNULIB_SIGACTION='' GNULIB_SIGNAL_H_SIGPIPE='' GNULIB_SIGPROCMASK='' GNULIB_STPCPY='' GNULIB_STPNCPY='' GNULIB_STRCASESTR='' GNULIB_STRCHRNUL='' GNULIB_STRDUP='' GNULIB_STRERROR='' GNULIB_STRERROR_R='' GNULIB_STRNCAT='' GNULIB_STRNDUP='' GNULIB_STRNLEN='' GNULIB_STRPBRK='' GNULIB_STRSEP='' GNULIB_STRSIGNAL='' GNULIB_STRSTR='' GNULIB_STRTOK_R='' GNULIB_STRVERSCMP='' GREP='' HAS_BFLSC_FALSE='' HAS_BFLSC_TRUE='' HAS_BITFORCE_FALSE='' HAS_BITFORCE_TRUE='' HAS_CPUMINE_FALSE='' HAS_CPUMINE_TRUE='' HAS_ICARUS_FALSE='' HAS_ICARUS_TRUE='' HAS_MODMINER_FALSE='' HAS_MODMINER_TRUE='' HAS_SCRYPT_FALSE='' HAS_SCRYPT_TRUE='' HAS_YASM_FALSE='' HAS_YASM_TRUE='' HAS_ZTEX_FALSE='' HAS_ZTEX_TRUE='' HAVE_CURSES_FALSE='' HAVE_CURSES_TRUE='' HAVE_DECL_MEMMEM='' HAVE_DECL_MEMRCHR='' HAVE_DECL_STRDUP='' HAVE_DECL_STRERROR_R='' HAVE_DECL_STRNDUP='' HAVE_DECL_STRNLEN='' HAVE_DECL_STRSIGNAL='' HAVE_DECL_STRTOK_R='' HAVE_INTTYPES_H='' HAVE_LIBUDEV_FALSE='' HAVE_LIBUDEV_TRUE='' HAVE_LONG_LONG_INT='' HAVE_MBSLEN='' HAVE_MEMCHR='' HAVE_MEMPCPY='' HAVE_POSIX_SIGNALBLOCKING='' HAVE_RAWMEMCHR='' HAVE_SIGACTION='' HAVE_SIGHANDLER_T='' HAVE_SIGINFO_T='' HAVE_SIGNED_SIG_ATOMIC_T='' HAVE_SIGNED_WCHAR_T='' HAVE_SIGNED_WINT_T='' HAVE_SIGSET_T='' HAVE_STDINT_H='' HAVE_STPCPY='' HAVE_STPNCPY='' HAVE_STRCASESTR='' HAVE_STRCHRNUL='' HAVE_STRPBRK='' HAVE_STRSEP='' HAVE_STRUCT_SIGACTION_SA_SIGACTION='' HAVE_STRVERSCMP='' HAVE_SYS_BITYPES_H='' HAVE_SYS_INTTYPES_H='' HAVE_SYS_TYPES_H='' HAVE_TYPE_VOLATILE_SIG_ATOMIC_T='' HAVE_UNSIGNED_LONG_LONG_INT='' HAVE_WCHAR_H='' HAVE_WCHAR_T='' HAVE_WINDOWS_FALSE='' HAVE_WINDOWS_TRUE='' HAVE_x86_64_FALSE='' HAVE_x86_64_TRUE='' INCLUDE_NEXT='' INCLUDE_NEXT_AS_FIRST_DIRECTIVE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' JANSSON_LIBS='' LDFLAGS='' LIBCURL_CFLAGS='' LIBCURL_LIBS='' LIBGNU_LIBDEPS='' LIBGNU_LTLIBDEPS='' LIBOBJS='' LIBS='' LIBUSB_CFLAGS='' LIBUSB_LIBS='' LTLIBOBJS='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} /home/slick/cgminer-2.11.3/missing --run makeinfo' MATH_LIBS='' MKDIR_P='/bin/mkdir -p' NCURSES_LIBS='' NEED_FPGAUTILS_FALSE='' NEED_FPGAUTILS_TRUE='' NEED_USBUTILS_C_FALSE='' NEED_USBUTILS_C_TRUE='' NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H='' NEXT_AS_FIRST_DIRECTIVE_STDDEF_H='' NEXT_AS_FIRST_DIRECTIVE_STDINT_H='' NEXT_AS_FIRST_DIRECTIVE_STRING_H='' NEXT_SIGNAL_H='' NEXT_STDDEF_H='' NEXT_STDINT_H='' NEXT_STRING_H='' OBJEXT='' OPENCL_FLAGS='' OPENCL_LIBS='' PACKAGE='cgminer' PACKAGE_BUGREPORT='kernel@kolivas.org' PACKAGE_NAME='cgminer' PACKAGE_STRING='cgminer 2.11.3' PACKAGE_TARNAME='cgminer' PACKAGE_URL='' PACKAGE_VERSION='2.11.3' PATH_SEPARATOR=':' PDCURSES_LIBS='' PKG_CONFIG='' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PRAGMA_COLUMNS='' PRAGMA_SYSTEM_HEADER='' PTHREAD_FLAGS='' PTHREAD_LIBS='' PTRDIFF_T_SUFFIX='' RANLIB='' REPLACE_MEMCHR='' REPLACE_MEMMEM='' REPLACE_NULL='' REPLACE_STPNCPY='' REPLACE_STRCASESTR='' REPLACE_STRCHRNUL='' REPLACE_STRDUP='' REPLACE_STRERROR='' REPLACE_STRERROR_R='' REPLACE_STRNCAT='' REPLACE_STRNDUP='' REPLACE_STRNLEN='' REPLACE_STRSIGNAL='' REPLACE_STRSTR='' REPLACE_STRTOK_R='' SET_MAKE='' SHELL='/bin/bash' SIG_ATOMIC_T_SUFFIX='' SIZE_T_SUFFIX='' STDDEF_H='' STDINT_H='' STRIP='' UDEV_LIBS='' UNDEFINE_STRTOK_R='' VERSION='2.11.3' VMAJ='' WANT_JANSSON_FALSE='' WANT_JANSSON_TRUE='' WCHAR_T_SUFFIX='' WINT_T_SUFFIX='' WS2_LIBS='' YASM='' ac_ct_CC='gcc' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' gl_LIBOBJS='' gl_LTLIBOBJS='' gltests_LIBOBJS='' gltests_LTLIBOBJS='' gltests_WITNESS='' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/slick/cgminer-2.11.3/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' release_info='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown' version_info=''
## ----------- ## ## confdefs.h. ## ## ----------- ##
/* confdefs.h */ #define PACKAGE_NAME "cgminer" #define PACKAGE_TARNAME "cgminer" #define PACKAGE_VERSION "2.11.3" #define PACKAGE_STRING "cgminer 2.11.3" #define PACKAGE_BUGREPORT "kernel@kolivas.org" #define PACKAGE_URL "" #define PACKAGE "cgminer" #define VERSION "2.11.3"
configure: exit 77
|
|
|
|
-ck
Legendary
Offline
Activity: 4284
Merit: 1645
Ruu \o/
|
|
April 09, 2013, 11:14:11 PM |
|
CFLAGS="-o2 -Wall -march=native" ./configure
Take a reaaaaally good look at that and the readme.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
SlickMcFavorite (OP)
Newbie
Offline
Activity: 44
Merit: 0
|
|
April 09, 2013, 11:24:03 PM |
|
This is like one of those iSpy books -- i really don't see it
Is it that the o is not capitalized?
Anyhow, I just doing a clean install of Ubuntu -- seems like a solid option before I *gasp* go crawling back to windows
|
|
|
|
pccs
Member
Offline
Activity: 97
Merit: 10
|
|
April 12, 2013, 05:49:38 AM |
|
I'm trying the same thing right now. Ubuntu 12.1. Trying to get away from XP 32bit.
I can't get the display drivers installed before the graphics card gets flaky. I have tried 3 different Linux versions.
|
|
|
|
SlickMcFavorite (OP)
Newbie
Offline
Activity: 44
Merit: 0
|
|
April 13, 2013, 01:54:41 PM |
|
Hi pccs, I ended up getting it working after doing a clean install of linux and then following the instructions from the beginning. What kind of problems, exactly, are you having? The order you should do things is: - Install linux (while connected to the internet so that you can download any/all updates)
- Update your graphics card drivers (either by downloading them directly from ATI or using the hardware tool in Ubuntu)
- Install the AIT ADK/SDK
- Build and install cgminer
I'm interpreting your problem as having your graphics fail before you're able to install the drivers correctly. This is a bit odd, since linux should automatically use some low-level driver that I think would be pretty stable. Nonetheless, you should be able to get into Ubuntu's recovery mode (I think you hit "Shift" or "e" as the computer boots) and then enable networking and drop into a root prompt. Once you're there, you can probably use apt-get to install the ATI drivers. If none of this makes sense to you, do some googling and then post back here (or PM me) if you run into a wall. I'm a linux n00b, but I did manage to get my setup working after much hair-pulling.
|
|
|
|
pccs
Member
Offline
Activity: 97
Merit: 10
|
|
April 13, 2013, 03:53:39 PM |
|
Finally found the problem, my display cable didn't like Ubuntu for some reason but it worked fine with XP. Changed the cable and got rid of the problem. Just need to get CGMiner running now. I had a problem last night, I think I was trying to install the 64 bit and I should be using the 32 bit build. Gonna try that later today, had a funky error and made a post about it last night but no response yet. There was something in the CGMiner instructions about installing the ATI driver in a system directory. Maybe I installed it in the wrong place. I haven't even installed my 7970 yet, gonna try to get it working with my 6450 first. Hopefully I can just plug in the 7970 and it will work lol.
Congrats on your system set-up. Whats the hash rate?
I'm really starting to like Ubuntu, haven't used Linux since 1997! I got my music back(30G) on a drive that was courrupted under XP, my cpu temp is running about 12C cooler and my graphics card is running 15-20C cooler also! This is just tested watching a video on Youtube. I installed the sensors app, used to use Speccy on XP.
I need to find a replacement for Photoshop and I'll be all set, I think. Wish I could afford to just get a whole new box dedicated to mining. I think I might change the Ubuntu GUI(Desktop) also.
|
|
|
|
c789
|
|
April 13, 2013, 04:57:52 PM |
|
I need to find a replacement for Photoshop and I'll be all set, I think. Try Gimp.
|
|
|
|
pccs
Member
Offline
Activity: 97
Merit: 10
|
|
April 13, 2013, 05:15:39 PM |
|
Cool, Gimp installed, even opens up psd files:)
OK, back to CGMiner ..... hopefully by the end of the day I'll be posting the hash rates:)
|
|
|
|
pccs
Member
Offline
Activity: 97
Merit: 10
|
|
April 14, 2013, 04:34:48 AM |
|
I just can't get Ubuntu 12.1 to work, not sure if it's my hardware or just me.
Not sure if I should try the 7950, and take out the 6450 or try Ubuntu 12.04.
|
|
|
|
SlickMcFavorite (OP)
Newbie
Offline
Activity: 44
Merit: 0
|
|
April 23, 2013, 04:09:40 PM |
|
I'm using Ubuntu 12.04
My hash rate with cgminer is 400 kH/s (litecoin) with a 6950
I was never able to get cgminer to find the ADK and, as a result, can't see fan and temperature info from within the program. I can see it by querying the ati driver directly, though, so I have been able to keep track of everything.
For a while my card was running up at 99 degrees (yikes!). I jammed a new fan in front of it and took the side of the case off. Now it's running around 80.
|
|
|
|
centove
|
|
April 23, 2013, 04:55:18 PM |
|
I was never able to get cgminer to find the ADK and, as a result, can't see fan and temperature info from within the program. I can see it by querying the ati driver directly, though, so I have been able to keep track of everything.
If you look in the source directory, cgminer's configu looks for the ADK header files in ADK_SDL so.... /cgminer-3.0.0/ADL_SDK/ Should have something like: adl_defines.h adl_sdk.h adl_structures.h readme.txt then a configure --enable-adl should find it.
|
|
|
|
yeti_alchemist
Newbie
Offline
Activity: 41
Merit: 0
|
|
April 27, 2013, 05:58:05 PM |
|
This is like one of those iSpy books -- i really don't see it
Is it that the o is not capitalized?
Anyhow, I just doing a clean install of Ubuntu -- seems like a solid option before I *gasp* go crawling back to windows
grep native README
|
|
|
|
Trongersoll
|
|
April 27, 2013, 10:58:03 PM |
|
This is like one of those iSpy books -- i really don't see it
Is it that the o is not capitalized?
Anyhow, I just doing a clean install of Ubuntu -- seems like a solid option before I *gasp* go crawling back to windows
grep native README is it zero2?
|
|
|
|
c789
|
|
November 14, 2013, 01:53:41 AM |
|
I'm reposting in an old thread because I too experienced the following error message. I googled the error message and it brought me here, so hopefully I can help out anyone else who is experiencing this error. configure: error: C compiler cannot create executables First, as for the original post, the "o" needed to have been a capital letter "O" (and not the number zero), as the cgminer readme says. It's best to copy & paste these commands from the readme into the terminal. CFLAGS="-O2 -Wall -march=native" ./configure <options> As for my situation, on my Raspberry Pi, using cgminer 3.8.1, I had to add sudo to the command: CFLAGS="-O2 -Wall -march=native" sudo ./configure <options> So, the readme file is correct with its instructions. It's just that in my case, I needed to run the command as a superuser for the C compiler to work.
|
|
|
|
Eternity
|
|
November 14, 2013, 07:51:23 AM |
|
That worked like a charm
|
|
|
|
|
|