Hi Thomas

I tried editing /usr/include/host_config.h as below to bypass the GCC version check. After this change, I was able to build all of the CUDA 5.5 SDK samples without error.

Let me know if this works for you too and I will prepare a patch.

Regards
Graham


--- /usr/include/host_config.h.orig    2014-08-14 11:44:17.760255774 +0200
+++ /usr/include/host_config.h    2014-08-14 11:34:42.820275680 +0200
@@ -77,7 +77,7 @@

 #if defined(__GNUC__)

-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 8)
+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 9)

 #error -- unsupported GNU version! gcc 4.9 and up are not supported!


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to