Hi, 
I can successfully compile and run code with Xenomai api in user space 
but if i try to compile rtdm code there is many error 
I try to use own code and your example from /kernel/drivers/gpio - outputs 
below 

please guide me how to compile and run simple rtdm module 

yeti@yeti-UDOO-x86:~/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio$ make V=1 
make: *** No targets. Stop. 
yeti@yeti-UDOO-x86:~/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio$ make V=1 -C 
/usr/src/linux-headers-4.9.38-xenomai-3.0.5 M=$PWD modules 
make: Entering directory '/usr/src/linux-headers-4.9.38-xenomai-3.0.5' 
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ 
echo >&2; \ 
echo >&2 " ERROR: Kernel configuration is invalid."; \ 
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are 
missing.";\ 
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ 
echo >&2 ; \ 
/bin/false) 
mkdir -p /home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/.tmp_versions 
; rm -f 
/home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/.tmp_versions/* 
make -f ./scripts/Makefile.build 
obj=/home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio 
(cat /dev/null; ) > 
/home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/modules.order 
make -f ./scripts/Makefile.modpost 
find /home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/.tmp_versions 
-name '*.mod' | xargs -r grep -h '\.ko$' | sort -u | sed 's/\.ko$/.o/' | 
scripts/mod/modpost -a -i ./Module.symvers -I 
/home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/Module.symvers -o 
/home/yeti/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio/Module.symvers -S -w 
-s -T - 
make: Leaving directory '/usr/src/linux-headers-4.9.38-xenomai-3.0.5' 
yeti@yeti-UDOO-x86:~/xenoInstall/xenomai-3.0.5/kernel/drivers/gpio$ 
_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai
  • [Xenomai] cant compile ... Шевченко Тарас Григорьевич

Reply via email to