-
Notifications
You must be signed in to change notification settings - Fork 16
Installation issues on RESCH #2
Copy link
Copy link
Open
Description
Hi,
I tried to install the measurer.
for this we had to install RESCH.
Apparently, ROSCH is not installing because of RESCH.
i tried to install this version of RESCH and it still wasnt possible.
http://www.ertl.jp/~shinpei/resch/
any help/advice to install would be help.
below, is the installation output
hazem@Hazem-PC:~/ROSCH/Measurer$ make
make[1]: Entering directory '/home/hazem/ROSCH/Measurer/RESCH'
make[2]: Entering directory '/home/hazem/ROSCH/Measurer/RESCH/core'
make -C /lib/modules/4.15.0-65-generic/build
M=/home/hazem/ROSCH/Measurer/RESCH/core modules
make[3]: Entering directory '/usr/src/linux-headers-4.15.0-65-generic'
CC [M] /home/hazem/ROSCH/Measurer/RESCH/core/main.o
In file included from
/home/hazem/ROSCH/Measurer/RESCH/core/../include/resch-gpu-core.h:7:0,
from /home/hazem/ROSCH/Measurer/RESCH/core/main.c:21:
./include/linux/irqdesc.h:56:25: error: field ‘irq_common_data’ has
incomplete type
struct irq_common_data irq_common_data;
^
./include/linux/irqdesc.h:57:19: error: field ‘irq_data’ has incomplete type
struct irq_data irq_data;
^
./include/linux/irqdesc.h:59:2: error: unknown type name ‘irq_flow_handler_t’
irq_flow_handler_t handle_irq;
^
In file included from ./arch/x86/include/asm/percpu.h:45:0,
from ./arch/x86/include/asm/current.h:6,
from ./include/linux/sched.h:12,
from ./include/linux/uaccess.h:5,
from /home/hazem/ROSCH/Measurer/RESCH/core/main.c:12:
./include/linux/irqdesc.h: In function ‘irq_data_to_desc’:
./include/linux/irqdesc.h:121:26: error: dereferencing pointer to
incomplete type ‘struct irq_data’
return container_of(data->common, struct irq_desc, irq_common_data);
^
./include/linux/kernel.h:947:26: note: in definition of macro ‘container_of’
void *__mptr = (void *)(ptr); \
^
In file included from
/home/hazem/ROSCH/Measurer/RESCH/core/../include/resch-gpu-core.h:7:0,
from /home/hazem/ROSCH/Measurer/RESCH/core/main.c:21:
./include/linux/irqdesc.h: In function ‘generic_handle_irq_desc’:
./include/linux/irqdesc.h:160:2: error: called object is not a function or
function pointer
desc->handle_irq(desc);
^
./include/linux/irqdesc.h: At top level:
./include/linux/irqdesc.h:204:8: error: unknown type name
‘irq_flow_handler_t’
irq_flow_handler_t handler)
^
./include/linux/irqdesc.h:225:6: error: unknown type name
‘irq_flow_handler_t’
irq_flow_handler_t handler, const char *name)
^
./include/linux/irqdesc.h: In function ‘irq_balancing_disabled’:
./include/linux/irqdesc.h:239:38: error: ‘IRQ_NO_BALANCING_MASK’
undeclared (first use in this function)
return desc->status_use_accessors & IRQ_NO_BALANCING_MASK;
^
./include/linux/irqdesc.h:239:38: note: each undeclared identifier is
reported only once for each function it appears in
./include/linux/irqdesc.h: In function ‘irq_is_percpu’:
./include/linux/irqdesc.h:247:38: error: ‘IRQ_PER_CPU’ undeclared (first
use in this function)
return desc->status_use_accessors & IRQ_PER_CPU;
^
./include/linux/irqdesc.h: In function ‘irq_is_percpu_devid’:
./include/linux/irqdesc.h:255:38: error: ‘IRQ_PER_CPU_DEVID’ undeclared
(first use in this function)
return desc->status_use_accessors & IRQ_PER_CPU_DEVID;
^
scripts/Makefile.build:330: recipe for target
'/home/hazem/ROSCH/Measurer/RESCH/core/main.o' failed
make[4]: *** [/home/hazem/ROSCH/Measurer/RESCH/core/main.o] Error 1
Makefile:1571: recipe for target
'_module_/home/hazem/ROSCH/Measurer/RESCH/core' failed
make[3]: *** [_module_/home/hazem/ROSCH/Measurer/RESCH/core] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-4.15.0-65-generic'
Makefile:22: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/hazem/ROSCH/Measurer/RESCH/core'
Makefile:7: recipe for target 'core' failed
make[1]: *** [core] Error 2
make[1]: Leaving directory '/home/hazem/ROSCH/Measurer/RESCH'
Makefile:7: recipe for target 'RESCH' failed
make: *** [RESCH] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels