Closed GoogleCodeExporter closed 8 years ago
Yes, you are using a 32bit kernel, which KGPU doesn't support.
If you could use a 64bit one, please get the latest kgpu code from github,
current supported kernel is 2.6.39.4. It is better to use your own compiled
kernel rather than the one shipped with your distribution.
Original comment by EndySun@gmail.com
on 12 Sep 2011 at 8:03
I've reinstalled 64-bit Ubuntu 11.04 and tried to install kgpu-9-12-2011. I've
run 'make all' command but produced the following error/s:
mkdir -p build
make -C kgpu BUILD_DIR=`pwd`/build
make[1]: Entering directory `/home/user/kgpu-9-12-2011/kgpu-9-12-2011/kgpu'
make -C /lib/modules/2.6.38-8-generic/build M=`pwd` modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
CC [M] /home/user/kgpu-9-12-2011/kgpu/kgpu.o
In file included from
/usr/src/linux-headers-2.6.38-8-generic/arch/x86/include/asm/percpu.h:44:0,
from /usr/src/linux-headers-2.6.38-8-generic/arch/x86/include/asm/current.h:5,
from /usr/src/linux-headers-2.6.38-8-generic/arch/x86/include/asm/processor.h:15,
from ./include/linux/prefetch.h:14,
from ./include/linux/list.h:7,
from ./include/linux/module.h:9,
from /home/user/kgpu-9-12-2011/kgpu/kgpu.c:13:
./include/linux/kernel.h:12:20: fatal error: stdarg.h: No such file or directory
compilation terminated.
make[3]: *** [/home/user/kgpu-9-12-2011/kgpu/kgpu.o] Error 1
make[2]: *** [_module_/home/user/kgpu-9-12-2011/kgpu] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make[1]: *** [kgpu] Error 2
make[1]: Leaving directory '/home/user/kgpu-9-12-2011/kgpu-9-12-2011/kgpu'
make: *** [kgpu] Error 2
I've located stdarg.h and had these results:
/usr/include/c++/4.5/tr1/stdarg.h
/usr/lib/syslinux/com32/include/stdarg.h
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/include/cross-stdarg.h
/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/include/stdarg.h
What seems to be the problem here? We need to make this work for our project.
Thanks!
Original comment by mavee....@gmail.com
on 20 Sep 2011 at 9:36
link /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5/include/stdarg.h
to the include/ folder in your kgpu
Original comment by Hoffmann...@googlemail.com
on 27 Apr 2012 at 3:07
Original issue reported on code.google.com by
mavee....@gmail.com
on 11 Sep 2011 at 8:59