On 01.05.19 22:20, Leopold Palomo-Avellaneda wrote:
El 1/5/19 a les 20:55, Jan Kiszka ha escrit:
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?

yes, it works, but not 100%. But it's another issue.

drivers/xenomai/net/drivers/e1000e/netdev.c: In function
‘e1000e_set_interrupt_capability’:
drivers/xenomai/net/drivers/e1000e/netdev.c:1225:11: error: implicit
declaration of function ‘pci_enable_msix’
[-Werror=implicit-function-declaration]
      err = pci_enable_msix(adapter->pdev,
            ^~~~~~~~~~~~~~~


Yeah, that's already fixed in stable/v3.0.x.

I will check what happens with the debian package.

Ok. I'm planning for some 3.0.9 soon, so we should sort out remaining issues.


Leopold

Ps. didn't receive any email from the list ...


Seems only slightly delayed: the archive shows it now, also news.gmane.org.

Jan

Reply via email to