{"action":"created","issue":{"url":"https://api.github.com/repos/CESNET/GPUJPEG/issues/6","repository_url":"https://api.github.com/repos/CESNET/GPUJPEG","labels_url":"https://api.github.com/repos/CESNET/GPUJPEG/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/CESNET/GPUJPEG/issues/6/comments","events_url":"https://api.github.com/repos/CESNET/GPUJPEG/issues/6/events","html_url":"https://github.com/CESNET/GPUJPEG/issues/6","id":235672441,"number":6,"title":"Compiling Error on Ubuntu 16.04","user":{"login":"apenngrace","id":3463568,"avatar_url":"https://avatars1.githubusercontent.com/u/3463568?v=3","gravatar_id":"","url":"https://api.github.com/users/apenngrace","html_url":"https://github.com/apenngrace","followers_url":"https://api.github.com/users/apenngrace/followers","following_url":"https://api.github.com/users/apenngrace/following{/other_user}","gists_url":"https://api.github.com/users/apenngrace/gists{/gist_id}","starred_url":"https://api.github.com/users/apenngrace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apenngrace/subscriptions","organizations_url":"https://api.github.com/users/apenngrace/orgs","repos_url":"https://api.github.com/users/apenngrace/repos","events_url":"https://api.github.com/users/apenngrace/events{/privacy}","received_events_url":"https://api.github.com/users/apenngrace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-13T19:50:22Z","updated_at":"2017-06-13T20:20:14Z","closed_at":null,"body":"Under Ubuntu 16.04, I get this error when running the `make` command.\r\n\r\n```\r\n/usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:\r\n/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope\r\n   return (char *) memcpy (__dest, __src, __n) + __n;\r\n                                          ^\r\nMakefile:1356: recipe for target 'src/gpujpeg_huffman_gpu_encoder.cu.o' failed\r\nmake[2]: *** [src/gpujpeg_huffman_gpu_encoder.cu.o] Error 1\r\nmake[2]: Leaving directory '/home/andrew/git_code/GPUJPEG'\r\nMakefile:887: recipe for target 'all-recursive' failed\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory '/home/andrew/git_code/GPUJPEG'\r\nMakefile:491: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/CESNET/GPUJPEG/issues/comments/308236360","html_url":"https://github.com/CESNET/GPUJPEG/issues/6#issuecomment-308236360","issue_url":"https://api.github.com/repos/CESNET/GPUJPEG/issues/6","id":308236360,"user":{"login":"MartinPulec","id":9962268,"avatar_url":"https://avatars1.githubusercontent.com/u/9962268?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinPulec","html_url":"https://github.com/MartinPulec","followers_url":"https://api.github.com/users/MartinPulec/followers","following_url":"https://api.github.com/users/MartinPulec/following{/other_user}","gists_url":"https://api.github.com/users/MartinPulec/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinPulec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinPulec/subscriptions","organizations_url":"https://api.github.com/users/MartinPulec/orgs","repos_url":"https://api.github.com/users/MartinPulec/repos","events_url":"https://api.github.com/users/MartinPulec/events{/privacy}","received_events_url":"https://api.github.com/users/MartinPulec/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T20:20:14Z","updated_at":"2017-06-13T20:20:14Z","body":"Hi Andrew,\n\nthat is a bit interesting - I've just tested it with Ubuntu 16.04 \ndefault compilers - both Clang 3.8 and gcc 5.4 worked. Can you please \nsend me generated config.log file + versions of nvcc, clang and gcc?\n\n\nThanks a lot,\nMartin\n\nOn 13.6.2017 22:11, Andrew Grace wrote:\n>\n> Unfortunately, that also fails:\n>\n> |NVCCFLAGS=-D_FORCE_INLINES ./autogen.sh Makefile.am:86: warning: \n> '%'-style pattern rules are a GNU make extension Makefile.am:89: \n> warning: '%'-style pattern rules are a GNU make extension \n> Makefile.am:93: warning: '%'-style pattern rules are a GNU make \n> extension Makefile.am:97: warning: '%'-style pattern rules are a GNU \n> make extension test/memcheck/Makefile.am:10: warning: deprecated \n> feature: target 'memcheck' overrides 'memcheck$(EXEEXT)' \n> test/memcheck/Makefile.am:10: change your target to read \n> 'memcheck$(EXEEXT)' /usr/share/automake-1.15/am/program.am: target \n> 'memcheck$(EXEEXT)' was defined here test/memcheck/Makefile.am:5: \n> while processing program 'memcheck' test/memcheck/Makefile.am:20: \n> warning: deprecated feature: target 'memcheck_cuda.sh' overrides \n> 'memcheck_cuda.sh$(EXEEXT)' test/memcheck/Makefile.am:20: change your \n> target to read 'memcheck_cuda.sh$(EXEEXT)' \n> /usr/share/automake-1.15/am/program.am: target \n> 'memcheck_cuda.sh$(EXEEXT)' was defined here \n> test/memcheck/Makefile.am:4: while processing program \n> 'memcheck_cuda.sh' test/memcheck/Makefile.am:13: warning: deprecated \n> feature: target 'memcheck_local.sh' overrides \n> 'memcheck_local.sh$(EXEEXT)' test/memcheck/Makefile.am:13: change your \n> target to read 'memcheck_local.sh$(EXEEXT)' \n> /usr/share/automake-1.15/am/program.am: target \n> 'memcheck_local.sh$(EXEEXT)' was defined here \n> test/memcheck/Makefile.am:4: while processing program \n> 'memcheck_local.sh' test/opengl_interop/Makefile.am:28: warning: \n> '%'-style pattern rules are a GNU make extension checking for a \n> BSD-compatible install... /usr/bin/install -c checking whether build \n> environment is sane... yes checking for a thread-safe mkdir -p... \n> /bin/mkdir -p checking for gawk... no checking for mawk... mawk \n> checking whether make sets $(MAKE)... yes checking whether make \n> supports nested variables... yes checking build system type... \n> x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu \n> checking how to print strings... printf checking for style of include \n> used by make... GNU checking for gcc... clang checking whether the C \n> compiler works... no configure: error: in \n> `/home/andrew/git_code/GPUJPEG': configure: error: C compiler cannot \n> create executables See `config.log' for more details Autogen failed. \n> andrew GPUJPEG$ gcc gcc: fatal error: no input files compilation \n> terminated. |\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub \n> <https://github.com/CESNET/GPUJPEG/issues/6#issuecomment-308233939>, \n> or mute the thread \n> <https://github.com/notifications/unsubscribe-auth/AJgDHISE_rq1XfUe6h-pXM89Gz7IVu9pks5sDuzkgaJpZM4N4_0c>.\n>\n\n"}}
{"actor":{"display_login":"MartinPulec"}}