On 01.05.19 18:46, Leopold Palomo-Avellaneda via Xenomai wrote:
Hi,


trying to build a new kernel for xenomai 3.0.8 using debian packages
(x86 arch) I have found that fails:

scripts/Makefile.build:585: recipe for target
'drivers/xenomai/net/addons' failed
make[4]: *** [drivers/xenomai/net/addons] Error 2
make[4]: *** Waiting for unfinished jobs....
   CC [M]  drivers/staging/rtl8712/rtl8712_cmd.o
In file included from drivers/xenomai/net/stack/include/rtdev.h:37:0,
                  from drivers/xenomai/net/stack/include/rtnet_port.h:32,
                  from drivers/xenomai/net/drivers/too.c:54:
drivers/xenomai/net/stack/include/rtskb.h:32:22: fatal error:
rtdm/net.h: El fitxer o directori no existeix
  #include <rtdm/net.h>
                       ^
compilation terminated.
scripts/Makefile.build:326: recipe for target
'drivers/xenomai/net/drivers/8139too.o' failed

checking a bit, I have found that that include is used:

drivers/xenomai/net/stack/rtdev_mgr.c:#include <rtdm/net.h>
drivers/xenomai/net/stack/include/rtskb.h:#include <rtdm/net.h>
drivers/xenomai/net/stack/include/rtnet_socket.h:#include <rtdm/net.h>
drivers/xenomai/net/stack/socket.c:#include <rtdm/net.h>
drivers/xenomai/net/stack/ipv4/tcp/timerwheel.h:#include <rtdm/net.h>
drivers/xenomai/net/drivers/macb.c:#include <rtdm/net.h>
drivers/xenomai/net/drivers/at91_ether.c:#include <rtdm/net.h>

that file is here:

xenomai-dev: /usr/include/xenomai/rtdm/net.h
xenomai-kernel-source: /usr/src/xenomai-kernel-source/include/rtdm/net.h

so, or the prepare-kernel.sh is wrong forget to make a link, or I made a
some mistake in the debian package or something is happening.

Any idea?


There are no obviously related patches in next or master that might be missing
in stable.

Does it work when you build that thing outside of the package generation?

Jan

Reply via email to