Nvidia Gcc Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have the distribution-provided pre-install script failed! are you sure you want to continue? Meta Discuss the workings and policies of this site About Us Learn error unable to load the nvidia drm kernel module more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us
Unable To Find The Kernel Source Tree For The Currently Running Kernel
Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like https://devtalk.nvidia.com/default/topic/833061/nvidia-drivers-352-09-dont-install/?offset=8 you, helping each other. Join them; it only takes a minute: Sign up CUDA incompatible with my gcc version up vote 45 down vote favorite 22 I have troubles compiling some of the examples shipped with CUDA SDK. I have installed the developers driver (version 270.41.19) and the CUDA toolkit, then finally the SDK (both the http://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version 4.0.17 version). Initially it didn't compile at all giving: error -- unsupported GNU version! gcc 4.5 and up are not supported! I found the line responsible in 81:/usr/local/cuda/include/host_config.h and changed it to: //#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 4) #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 6) from that point on I got only a few of the examples to compile, it stops with: In file included from /usr/include/c++/4.6/x86_64-linux-gnu/bits/gthr.h:162:0, from /usr/include/c++/4.6/ext/atomicity.h:34, from /usr/include/c++/4.6/bits/ios_base.h:41, from /usr/include/c++/4.6/ios:43, from /usr/include/c++/4.6/ostream:40, from /usr/include/c++/4.6/iterator:64, from /usr/local/cuda/include/thrust/iterator/iterator_categories.h:38, from /usr/local/cuda/include/thrust/device_ptr.h:26, from /usr/local/cuda/include/thrust/device_malloc_allocator.h:27, from /usr/local/cuda/include/thrust/device_vector.h:26, from lineOfSight.cu:37: /usr/include/c++/4.6/x86_64-linux-gnu/bits/gthr-default.h:251:1: error: pasting "__gthrw_" and "/* Android's C library does not provide pthread_cancel, check for `pthread_create' instead. */" does not give a valid preprocessing token make[1]: *** [obj/x86_64/release/lineOfSight.cu.o] Error 1 As some of the examples compile I reckon this is not a driver problem, but rather must have something to do with an unsupported gcc version. Downgrading is not an option as gcc4.6 has a whole system as a dependency
silence in your studio, lab, home or office. DelugeExtreme performance with overclocking and multi-GPU. GenesisPost production and design. Cutting edge workstations. PeakHPC workstations and servers. SummitServers with flexible tower or rackmount design. Custom ComputersWant more choices? Customize a computer from https://www.pugetsystems.com/labs/hpc/Install-NVIDIA-CUDA-on-Fedora-22-with-gcc-5-1-654/ scratch. Solutions Recommended Systems For: Content Creation Recommended Systems For: Adobe After Effects Adobe Lightroom Adobe Photoshop Adobe Premiere Pro Agisoft PhotoScan AutoDesk 3ds Max AutoDesk Maya Cinema 4D CPU-Based Rendering GPU-Based Rendering Live Streaming Virtual Reality Engineering Recommended Systems For: AutoDesk AutoCAD Solidworks Scientific Computing Recommended Systems For: Agisoft PhotoScan Bitplane Imaris Molecular Dynamics More Recommended Systems For: Fallout 4 Flight Simulator X Live Streaming Stock Trading Total unable to War: Warhammer Virtual Reality Support Contact Support Online Help Guides Warranty Info Publications News Blog HPC Blog Articles Featured Systems About Us About Us Contact Us Reviews Press Kit Testimonials Careers Create Account Log In HomeView All ArticlesInstall NVIDIA CUDA on Fedora 22 with gcc 5.1 Install NVIDIA CUDA on Fedora 22 with gcc 5.1Written on May 19, 2015 by Dr Donald Kinghorn Share: Fedora 22! Kernel 4.0 gcc 5.1 nvidia kernel module Gnome 3.16 KDE Plasma 5 dnf (instead of yum) … Fedora is the RedHat Linux testing ground! It is very much bleeding edge. New developments that pass the “Fedora” test wind up eventually in Enterprise Linux, RHEL and CentOS. For the last several years I’ve found Fedora to be either insanely great or insanely broken. If it’s insanely broken it’s not too bad since you only have to wait about 6 months for a new one. I like it. I have F21 on a laptop which has been great and I now have a desktop system setup with F22 for testing. I haven’t decided if F22 is broken yet but so far it’s looking good. I’m thinking I’ll put up with a few hassles given how many important changes are in it. I’ll likely upgrade my home workstation running Ubuntu 14.10 to Fedora 22 in a week or two after the final release repos settle down. NVIDIA CUDA OpenACC and GCC 5 Of the new features in Fedora 22 the most obviously bleeding edge one is gcc 5. gcc 5 is the system compiler in F22, and that is the main reason I’m excited about it. Why? gcc 5 has support for openMP 4 and preliminary supp