All of lore.kernel.org
 help / color / mirror / Atom feed
* Error compiling 3.0.8
@ 2019-05-01 16:46 Leopold Palomo-Avellaneda
  2019-05-01 18:55 ` Jan Kiszka
  0 siblings, 1 reply; 9+ messages in thread
From: Leopold Palomo-Avellaneda @ 2019-05-01 16:46 UTC (permalink / raw)
  To: Xenomai list

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



-- 
--
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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-01 16:46 Error compiling 3.0.8 Leopold Palomo-Avellaneda
@ 2019-05-01 18:55 ` Jan Kiszka
  2019-05-01 20:20   ` Leopold Palomo-Avellaneda
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Kiszka @ 2019-05-01 18:55 UTC (permalink / raw)
  To: Leopold Palomo-Avellaneda, Xenomai list

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-01 18:55 ` Jan Kiszka
@ 2019-05-01 20:20   ` Leopold Palomo-Avellaneda
  2019-05-01 20:27     ` Jan Kiszka
  0 siblings, 1 reply; 9+ messages in thread
From: Leopold Palomo-Avellaneda @ 2019-05-01 20:20 UTC (permalink / raw)
  To: Jan Kiszka, Xenomai list

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

I will check what happens with the debian package.

Leopold

Ps. didn't receive any email from the list ...
-- 
--
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?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-01 20:20   ` Leopold Palomo-Avellaneda
@ 2019-05-01 20:27     ` Jan Kiszka
  2019-05-02  6:55       ` Leopold Palomo-Avellaneda
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Kiszka @ 2019-05-01 20:27 UTC (permalink / raw)
  To: Leopold Palomo-Avellaneda, Xenomai list

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-01 20:27     ` Jan Kiszka
@ 2019-05-02  6:55       ` Leopold Palomo-Avellaneda
  2019-05-02  9:49         ` Jan Kiszka
  2019-05-02 12:28         ` Philippe Gerum
  0 siblings, 2 replies; 9+ messages in thread
From: Leopold Palomo-Avellaneda @ 2019-05-02  6:55 UTC (permalink / raw)
  To: Jan Kiszka, Xenomai list

El 1/5/19 a les 22:27, Jan Kiszka ha escrit:
> 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.


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.

>>> 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.
> 

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

Leopold


PS

>> 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...

-- 
--
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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-02  6:55       ` Leopold Palomo-Avellaneda
@ 2019-05-02  9:49         ` Jan Kiszka
  2019-05-02 13:10           ` Leopold Palomo-Avellaneda
  2019-05-02 12:28         ` Philippe Gerum
  1 sibling, 1 reply; 9+ messages in thread
From: Jan Kiszka @ 2019-05-02  9:49 UTC (permalink / raw)
  To: Leopold Palomo-Avellaneda, Xenomai list

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

>>>> 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.
>>
>
> Ok, then I'll check stable/v3.0.x branch.

Perfect, that will help.

>
> Leopold
>
>
> PS
>
>>> 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-02  6:55       ` Leopold Palomo-Avellaneda
  2019-05-02  9:49         ` Jan Kiszka
@ 2019-05-02 12:28         ` Philippe Gerum
  2019-05-02 13:07           ` Leopold Palomo-Avellaneda
  1 sibling, 1 reply; 9+ messages in thread
From: Philippe Gerum @ 2019-05-02 12:28 UTC (permalink / raw)
  To: Leopold Palomo-Avellaneda, Jan Kiszka, Xenomai list

On 5/2/19 8:55 AM, Leopold Palomo-Avellaneda via Xenomai wrote:
> El 1/5/19 a les 22:27, Jan Kiszka ha escrit:
>> 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.
> 
> 
> 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.
> 
>>>> 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.
>>
> 
> Ok, then I'll check stable/v3.0.x branch.
> 
> Leopold
> 
> 
> PS
> 
>>> 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.

-- 
Philippe.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-02 12:28         ` Philippe Gerum
@ 2019-05-02 13:07           ` Leopold Palomo-Avellaneda
  0 siblings, 0 replies; 9+ messages in thread
From: Leopold Palomo-Avellaneda @ 2019-05-02 13:07 UTC (permalink / raw)
  To: Philippe Gerum, Jan Kiszka, Xenomai list

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

>>>> 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

-- 
--
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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Error compiling 3.0.8
  2019-05-02  9:49         ` Jan Kiszka
@ 2019-05-02 13:10           ` Leopold Palomo-Avellaneda
  0 siblings, 0 replies; 9+ messages in thread
From: Leopold Palomo-Avellaneda @ 2019-05-02 13:10 UTC (permalink / raw)
  To: Jan Kiszka, Xenomai list

El 2/5/19 a les 11:49, Jan Kiszka ha escrit:
> On 02.05.19 08:55, Leopold Palomo-Avellaneda wrote:
>> El 1/5/19 a les 22:27, Jan Kiszka ha escrit:
>>> 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.
>>
>>
>> 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...
> 
>>>>> 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.
>>>
>>
>> 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


-- 
--
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>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-05-02 13:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01 16:46 Error compiling 3.0.8 Leopold Palomo-Avellaneda
2019-05-01 18:55 ` Jan Kiszka
2019-05-01 20:20   ` Leopold Palomo-Avellaneda
2019-05-01 20:27     ` Jan Kiszka
2019-05-02  6:55       ` Leopold Palomo-Avellaneda
2019-05-02  9:49         ` Jan Kiszka
2019-05-02 13:10           ` Leopold Palomo-Avellaneda
2019-05-02 12:28         ` Philippe Gerum
2019-05-02 13:07           ` Leopold Palomo-Avellaneda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.