Показано с 1 по 10 из 1275
Древовидный режим
-
04.09.2019, 13:41 #10
- Регистрация
- 04.08.2014
- Сообщений
- 4
- Сказал(а) спасибо
- 0
- Поблагодарили 0 раз(а) в 0 сообщениях
Re: как ломануть 1C 8.3 for Linux
Добрый день, не подскажите в чем может быть проблема? При установке на этапе sudo make
KVERSION=4.15.0-48-generic KSRC=/usr/src/linux-source-4.15.0make -C /lib/modules/4.15.0-60-generic/build SUBDIRS=/home/veizdem/vhci-hcd-1.15 PWD=/home/veizdem/vhci-hcd-1.15 BUILD_PREFIX= KDIR=/lib/modules/4.15.0-60-generic/build KVERSION=4.15.0-60-generic modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-60-generic'
CC [M] /home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.o
/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.c: In function ‘ioc_register’:
/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.c:216:5: error: implicit declaration of function ‘copy_to_user’; did you mean ‘copy_to_iter’? [-Werror=implicit-function-declaration]
if(copy_to_user(arg->bus_id, dname, i))
^~~~~~~~~~~~
copy_to_iter
In file included from ./include/linux/kernel.h:10:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.c:25:
/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.c: In function ‘ioc_fetch_work’:
/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.c:460:15: error: implicit declaration of function ‘__copy_to_user’; did you mean ‘raw_copy_to_user’? [-Werror=implicit-function-declaration]
if(unlikely(__copy_to_user(&arg->work.urb, &urb, sizeof urb)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.c: In function ‘ioc_giveback_common’:
/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.c:623:15: error: implicit declaration of function ‘copy_from_user’; did you mean ‘copy_from_iter’? [-Werror=implicit-function-declaration]
if(unlikely(copy_from_user(urbp->urb->transfer_buffer, buf, act)))
^
./include/linux/compiler.h:77:42: note: in definition of macro ‘unlikely’
# define unlikely(x) __builtin_expect(!!(x), 0)
^
cc1: some warnings being treated as errors
scripts/Makefile.build:337: recipe for target '/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.o' failed
make[2]: *** [/home/veizdem/vhci-hcd-1.15/usb-vhci-iocifc.o] Error 1
Makefile:1571: recipe for target '_module_/home/veizdem/vhci-hcd-1.15' failed
make[1]: *** [_module_/home/veizdem/vhci-hcd-1.15] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-60-generic'
Makefile:35: recipe for target 'default' failed
make: *** [default] Error 2
Социальные закладки