Skip to contentSkip to conversation

Error compiling 3.0.8

DISCUSSION Leopold Palomo-Avellaneda 3 participants 9 messages May 1, 2019 – May 2, 2019

lore
Share & tools
lore
#0 lore raw

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?

Best regards,

Leopold

Signature · 16 lines
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://xenomai.org/pipermail/xenomai/attachments/20190501/3ca25ba2/attachment.sig>
#1 lore raw
Quoted 34 lines · Leopold Palomo-Avellaneda via Xenomai

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:

Quoted 8 lines

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

#2 lore raw

El 1/5/19 a les 20:55, Jan Kiszka ha escrit:

Quoted 41 lines · Leopold Palomo-Avellaneda via Xenomai
Quoted 40 lines

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.

Quoted 8 lines
Quoted 2 lines

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,
           ^~~~~~~~~~~~~~~

I will check what happens with the debian package.

Leopold

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

Signature · 8 lines
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
#3 lore raw
Quoted 53 lines · Leopold Palomo-Avellaneda

El 1/5/19 a les 20:55, Jan Kiszka ha escrit:

Quoted 41 lines · Leopold Palomo-Avellaneda via Xenomai
Quoted 40 lines

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.

Quoted 8 lines
Quoted 2 lines

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.

Quoted 8 lines

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.

Quoted 1 line

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.

Quoted 5 lines

Leopold

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

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

Jan

#4 lore raw

El 1/5/19 a les 22:27, Jan Kiszka ha escrit:

Quoted 43 lines · Leopold Palomo-Avellaneda
Quoted 42 lines

El 1/5/19 a les 20:55, Jan Kiszka ha escrit:

Quoted 41 lines · Leopold Palomo-Avellaneda via Xenomai
Quoted 40 lines

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.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

Any idea?

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

found the bug (missing net.h) in 3.0.8 but not in stable 3.0.x branch in this file:

https://gitlab.denx.de/Xenomai/xenomai/blob/stable/v3.0.x/include/cobalt/kernel/rtdm/Makefile.am

that was changed 2 months ago and 3.0.8 was released 3 months ago. If you compile from the sources it works, because the file it is. However, as the debian package builds and install, that file is not installed, then it fails.

Quoted 13 lines
Quoted 4 lines
Quoted 1 line

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

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

Quoted 8 lines

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, ^~~~~~~~~~~~~~~

Quoted 6 lines

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

Quoted 1 line

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.

Ok, then I'll check stable/v3.0.x branch.

Leopold

PS

Quoted 4 lines
Quoted 2 lines

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

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

my list options in mailman were changed. Strange...

Signature · 16 lines
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://xenomai.org/pipermail/xenomai/attachments/20190502/f9117541/attachment.sig>
#5 lore raw
Quoted 52 lines · Leopold Palomo-Avellaneda

El 1/5/19 a les 22:27, Jan Kiszka ha escrit:

Quoted 43 lines · Leopold Palomo-Avellaneda
Quoted 42 lines

El 1/5/19 a les 20:55, Jan Kiszka ha escrit:

Quoted 41 lines · Leopold Palomo-Avellaneda via Xenomai
Quoted 40 lines

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.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

Any idea?

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

Quoted 9 lines

found the bug (missing net.h) in 3.0.8 but not in stable 3.0.x branch in this file:

https://gitlab.denx.de/Xenomai/xenomai/blob/stable/v3.0.x/include/cobalt/kernel/rtdm/Makefile.am

that was changed 2 months ago and 3.0.8 was released 3 months ago. If you compile from the sources it works, because the file it is. However, as the debian package builds and install, that file is not installed, then it fails.

Ah, yes, of course. Forgot about that...

Quoted 13 lines
Quoted 13 lines
Quoted 12 lines
Quoted 1 line

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, ^~~~~~~~~~~~~~~

Quoted 8 lines
Quoted 6 lines

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

Quoted 1 line

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.

Ok, then I'll check stable/v3.0.x branch.

Perfect, that will help.

Quoted 4 lines

Leopold

Quoted 9 lines

PS

Quoted 4 lines
Quoted 2 lines

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

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

my list options in mailman were changed. Strange...

Bouncing issues?

Jan

#6 lore raw

El 2/5/19 a les 11:49, Jan Kiszka ha escrit:

Quoted 82 lines · Leopold Palomo-Avellaneda
Quoted 55 lines

El 1/5/19 a les 22:27, Jan Kiszka ha escrit:

Quoted 43 lines · Leopold Palomo-Avellaneda
Quoted 42 lines

El 1/5/19 a les 20:55, Jan Kiszka ha escrit:

Quoted 41 lines · Leopold Palomo-Avellaneda via Xenomai
Quoted 40 lines

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.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

Any idea?

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

found the bug (missing net.h) in 3.0.8 but not in stable 3.0.x branch in this file:

Quoted 8 lines

https://gitlab.denx.de/Xenomai/xenomai/blob/stable/v3.0.x/include/cobalt/kernel/rtdm/Makefile.am

that was changed 2 months ago and 3.0.8 was released 3 months ago. If you compile from the sources it works, because the file it is. However, as the debian package builds and install, that file is not installed, then it fails.

Ah, yes, of course. Forgot about that...

Quoted 15 lines
Quoted 15 lines
Quoted 4 lines
Quoted 1 line

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

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

Quoted 8 lines

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.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

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.

Ok, then I'll check stable/v3.0.x branch.

Perfect, that will help.

everything worked with stable/v3.0.x: compilation from sources and build debian packages (using my own debian directory but no differs specially) and kernel from debian package.

Best regards,

Leopold

Signature · 16 lines
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://xenomai.org/pipermail/xenomai/attachments/20190502/e3a9b817/attachment.sig>
#7 lore raw
In reply to Leopold Palomo-Avellaneda
Quoted 86 lines · Leopold Palomo-Avellaneda via Xenomai

El 1/5/19 a les 22:27, Jan Kiszka ha escrit:

Quoted 43 lines · Leopold Palomo-Avellaneda
Quoted 42 lines

El 1/5/19 a les 20:55, Jan Kiszka ha escrit:

Quoted 41 lines · Leopold Palomo-Avellaneda via Xenomai
Quoted 40 lines

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.

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

Any idea?

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

found the bug (missing net.h) in 3.0.8 but not in stable 3.0.x branch in this file:

https://gitlab.denx.de/Xenomai/xenomai/blob/stable/v3.0.x/include/cobalt/kernel/rtdm/Makefile.am

that was changed 2 months ago and 3.0.8 was released 3 months ago. If you compile from the sources it works, because the file it is. However, as the debian package builds and install, that file is not installed, then it fails.

Quoted 13 lines
Quoted 4 lines
Quoted 1 line

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

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

Quoted 8 lines

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, ^~~~~~~~~~~~~~~

Quoted 6 lines

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

Quoted 1 line

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.

Ok, then I'll check stable/v3.0.x branch.

Leopold

Quoted 8 lines

PS

Quoted 4 lines
Quoted 2 lines

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

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

my list options in mailman were changed. Strange...

Nothing strange, your mail server has bounced messages from this mailing list too many times. At some point mailman automatically disables forwarding to this account.

Signature · 1 line
Philippe.
#8 lore raw

El 2/5/19 a les 14:28, Philippe Gerum ha escrit:
[...]

Quoted 11 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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

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

my list options in mailman were changed. Strange...

Nothing strange, your mail server has bounced messages from this mailing list too many times. At some point mailman automatically disables forwarding to this account.

thanks!!

I'll check it. I had a problem with my quota because my digital Diogenes and probably it was the problem.

Leopold

Signature · 16 lines
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://xenomai.org/pipermail/xenomai/attachments/20190502/62c0fb54/attachment.sig>