All of lore.kernel.org
 help / color / mirror / Atom feed
* undefined reference problem persists
@ 2022-11-06  7:45 Ron Eggler
  2022-11-06  8:14 ` [yocto] " Alexander Kanavin
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Ron Eggler @ 2022-11-06  7:45 UTC (permalink / raw)
  To: yocto@lists.yoctoproject.org

Hi,

I'm working with dunfell and want to compile and install the drivers for 
the Laird LWB5+ module (available from 
https://github.com/LairdCP/meta-laird-cp).
I have included the path to the layer in meta-laird-cp-pre-3.4 in my 
`bblayers.conf` and since I need the networkmanager and with information 
from their support team (don't trust the README apparently), I've added 
`lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in 
`sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake 
sample-image-cp-lwb5plus`, I keep getting:

     | 
/usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: 
undefined reference to `rl_echo_signal_char'

even though I've added `readline` to the `DEPENDS` list. Why is this? I 
expected the `rl_echo_signal_char` dependency to be resolved, any hints?



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

* Re: [yocto] undefined reference problem persists
  2022-11-06  7:45 undefined reference problem persists Ron Eggler
@ 2022-11-06  8:14 ` Alexander Kanavin
  2022-11-06 15:43   ` Ron Eggler
  2022-11-06  8:40 ` Markus Volk
  2022-11-06 10:26 ` Anders Montonen
  2 siblings, 1 reply; 23+ messages in thread
From: Alexander Kanavin @ 2022-11-06  8:14 UTC (permalink / raw)
  To: Mistyron; +Cc: yocto@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1524 bytes --]

It may help if you show the complete logs for configure and compile ,
otherwise there is not enough information in your message to diagnose the
issue.

Alex

On Sun 6. Nov 2022 at 8.45, Mistyron <ron.eggler@mistywest.com> wrote:

> Hi,
>
> I'm working with dunfell and want to compile and install the drivers for
> the Laird LWB5+ module (available from
> https://github.com/LairdCP/meta-laird-cp).
> I have included the path to the layer in meta-laird-cp-pre-3.4 in my
> `bblayers.conf` and since I need the networkmanager and with information
> from their support team (don't trust the README apparently), I've added
> `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in
> `sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake
> sample-image-cp-lwb5plus`, I keep getting:
>
>      |
> /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904:
>
> undefined reference to `rl_echo_signal_char'
>
> even though I've added `readline` to the `DEPENDS` list. Why is this? I
> expected the `rl_echo_signal_char` dependency to be resolved, any hints?
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#58492):
> https://lists.yoctoproject.org/g/yocto/message/58492
> Mute This Topic: https://lists.yoctoproject.org/mt/94840876/1686489
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 2617 bytes --]

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

* Re: [yocto] undefined reference problem persists
  2022-11-06  7:45 undefined reference problem persists Ron Eggler
  2022-11-06  8:14 ` [yocto] " Alexander Kanavin
@ 2022-11-06  8:40 ` Markus Volk
  2022-11-06 15:45   ` Ron Eggler
  2022-11-06 10:26 ` Anders Montonen
  2 siblings, 1 reply; 23+ messages in thread
From: Markus Volk @ 2022-11-06  8:40 UTC (permalink / raw)
  To: Mistyron; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

Am So, 6. Nov 2022 um 00:45:36 -0700 schrieb Mistyron 
<ron.eggler@mistywest.com>:
>     | 
> /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: 
> undefined reference to `rl_echo_signal_char'

missing readline dependency ?


[-- Attachment #2: Type: text/html, Size: 469 bytes --]

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

* Re: [yocto] undefined reference problem persists
  2022-11-06  7:45 undefined reference problem persists Ron Eggler
  2022-11-06  8:14 ` [yocto] " Alexander Kanavin
  2022-11-06  8:40 ` Markus Volk
@ 2022-11-06 10:26 ` Anders Montonen
  2022-11-06 16:02   ` Ron Eggler
  2 siblings, 1 reply; 23+ messages in thread
From: Anders Montonen @ 2022-11-06 10:26 UTC (permalink / raw)
  To: Mistyron; +Cc: yocto@lists.yoctoproject.org

On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
> 
> Hi,
> 
> I'm working with dunfell and want to compile and install the drivers for the Laird LWB5+ module (available from https://github.com/LairdCP/meta-laird-cp).
> I have included the path to the layer in meta-laird-cp-pre-3.4 in my `bblayers.conf` and since I need the networkmanager and with information from their support team (don't trust the README apparently), I've added `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
> 
>     | /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: undefined reference to `rl_echo_signal_char'
> 
> even though I've added `readline` to the `DEPENDS` list. Why is this? I expected the `rl_echo_signal_char` dependency to be resolved, any hints?

Are you using meta-gplv2? That function doesn’t exist yet in the version of readline provided by that layer.

Regards,
Anders

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

* Re: [yocto] undefined reference problem persists
  2022-11-06  8:14 ` [yocto] " Alexander Kanavin
@ 2022-11-06 15:43   ` Ron Eggler
  0 siblings, 0 replies; 23+ messages in thread
From: Ron Eggler @ 2022-11-06 15:43 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: yocto@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 5516 bytes --]

On 11/6/22 01:14, Alexander Kanavin wrote:
> It may help if you show the complete logs for configure and compile , 
> otherwise there is not enough information in your message to diagnose 
> the issue.


Okay, yes, sorry about that, the compile output for bitbake 
sample-image-cp-lwb5plus looks like:

...

4.0.10-r0/laird-backport-10.4.0.10/net/bluetooth/bluetooth.o
|   MODPOST 
/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-lwb5p-backports-laird/10.
4.0.10-r0/laird-backport-10.4.0.10/Module.symvers
| ERROR: modpost: "crypto_ecdh_encode_key" 
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-
module-lwb5p-backports-laird/10.4.0.10-r0/laird-backport-10.4.0.10/net/bluetooth/bluetooth.ko] 
undefined!
| ERROR: modpost: "crypto_ecdh_key_len" 
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-mod
ule-lwb5p-backports-laird/10.4.0.10-r0/laird-backport-10.4.0.10/net/bluetooth/bluetooth.ko] 
undefined!
| make[6]: *** 
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work-shared/smarc-rzv2l/kernel-source/scripts/Makefile.modpost:
124: 
/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-lwb5p-backports-laird/10.4.0.10-
r0/laird-backport-10.4.0.10/Module.symvers] Error 1
| make[6]: *** Deleting file 
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-lwb5p-b
ackports-laird/10.4.0.10-r0/laird-backport-10.4.0.10/Module.symvers'
| make[5]: *** 
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work-shared/smarc-rzv2l/kernel-source/Makefile:1726: 
modules] E
rror 2
| make[4]: *** [Makefile:185: __sub-make] Error 2
| make[3]: *** [Makefile.build:13: modules] Error 2
| make[2]: *** [Makefile.real:91: modules] Error 2
| make[1]: *** [Makefile:43: modules] Error 2
| make: *** [Makefile:30: default] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of 
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-lwb5p-backport
s-laird/10.4.0.10-r0/temp/run.do_compile.235046' failed with exit code 1
ERROR: Task 
(/home/yocto/rzv_vlp_v3.0.0/build/../meta-mylayer/meta-laird-cp-pre-3.4/recipes-bsp/backports-laird/k
ernel-module-lwb5p-backports-laird.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3878 tasks of which 3876 didn't need to 
be rerun and 2 failed.

Summary: 2 tasks failed:
  /home/yocto/rzv_vlp_v3.0.0/build/../meta-mylayer/meta-laird-cp-pre-3.4/recipes-packages/lrd-networkmanager/lrd-
networkmanager-sterling.bb:do_compile
  /home/yocto/rzv_vlp_v3.0.0/build/../meta-mylayer/meta-laird-cp-pre-3.4/recipes-bsp/backports-laird/kernel-modul
e-lwb5p-backports-laird.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

Where my 
meta-mylayer/meta-laird-cp-pre-3.4/recipes-packages/images/sample-image-cp-lwb5plus.bb 
looks like:

DESCRIPTION = "Sterling LWB5+ SDIO/UART M.2 (diversity antenna) sample 
image"
LICENSE = "MIT"

inherit core-image

export IMAGE_BASENAME = "${PN}"

DEPENDS += "\
         readline \
         pkgconfig \
         "

IMAGE_FEATURES += "\
         ssh-server-dropbear \
         splash \
         "

IMAGE_FEATURES_remove = "\
         tools-profile \
         tools-debug \
         tools-testapps \
         "

IMAGE_INSTALL += "\
         iproute2 \
         rng-tools \
         ca-certificates \
         tzdata \
         alsa-utils \
         htop \
         ethtool \
         iperf3 \
         tcpdump \
         iw \
         kernel-module-lwb5p-backports-laird \
         lwb5plus-sdio-div-firmware \
         sterling-supplicant-lwb \
         lrd-networkmanager-sterling \
         "

>
> Alex
>
> On Sun 6. Nov 2022 at 8.45, Mistyron <ron.eggler@mistywest.com> wrote:
>
>     Hi,
>
>     I'm working with dunfell and want to compile and install the
>     drivers for
>     the Laird LWB5+ module (available from
>     https://github.com/LairdCP/meta-laird-cp).
>     I have included the path to the layer in meta-laird-cp-pre-3.4 in my
>     `bblayers.conf` and since I need the networkmanager and with
>     information
>     from their support team (don't trust the README apparently), I've
>     added
>     `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in
>     `sample-image-cp-lwb5plus.bb
>     <http://sample-image-cp-lwb5plus.bb>`. When I invoke `$ bitbake
>     sample-image-cp-lwb5plus`, I keep getting:
>
>          |
>     /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904:
>
>     undefined reference to `rl_echo_signal_char'
>
>     even though I've added `readline` to the `DEPENDS` list. Why is
>     this? I
>     expected the `rl_echo_signal_char` dependency to be resolved, any
>     hints?
>
>
>     -=-=-=-=-=-=-=-=-=-=-=-
>     Links: You receive all messages sent to this group.
>     View/Reply Online (#58492):
>     https://lists.yoctoproject.org/g/yocto/message/58492
>     Mute This Topic: https://lists.yoctoproject.org/mt/94840876/1686489
>     Group Owner: yocto+owner@lists.yoctoproject.org
>     <mailto:yocto%2Bowner@lists.yoctoproject.org>
>     Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
>     [alex.kanavin@gmail.com]
>     -=-=-=-=-=-=-=-=-=-=-=-
>

[-- Attachment #2: Type: text/html, Size: 9595 bytes --]

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

* Re: [yocto] undefined reference problem persists
  2022-11-06  8:40 ` Markus Volk
@ 2022-11-06 15:45   ` Ron Eggler
  0 siblings, 0 replies; 23+ messages in thread
From: Ron Eggler @ 2022-11-06 15:45 UTC (permalink / raw)
  To: Markus Volk; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

On 11/6/22 01:40, Markus Volk wrote:
> Am So, 6. Nov 2022 um 00:45:36 -0700 schrieb Mistyron 
> <ron.eggler@mistywest.com>:
>>     | 
>> /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: 
>> undefined reference to `rl_echo_signal_char'
>
> missing readline dependency ?

rl_echo_signal_char is a symbol from readline per 
https://tiswww.case.edu/php/chet/readline/readline.html

[-- Attachment #2: Type: text/html, Size: 1275 bytes --]

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

* Re: [yocto] undefined reference problem persists
  2022-11-06 10:26 ` Anders Montonen
@ 2022-11-06 16:02   ` Ron Eggler
  2022-11-06 16:48     ` Anders Montonen
  2022-11-07  1:00     ` Khem Raj
  0 siblings, 2 replies; 23+ messages in thread
From: Ron Eggler @ 2022-11-06 16:02 UTC (permalink / raw)
  To: Anders Montonen; +Cc: yocto@lists.yoctoproject.org

On 11/6/22 02:26, Anders Montonen wrote:
> On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
>> Hi,
>>
>> I'm working with dunfell and want to compile and install the drivers for the Laird LWB5+ module (available from https://github.com/LairdCP/meta-laird-cp).
>> I have included the path to the layer in meta-laird-cp-pre-3.4 in my `bblayers.conf` and since I need the networkmanager and with information from their support team (don't trust the README apparently), I've added `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
>>
>>      | /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: undefined reference to `rl_echo_signal_char'
>>
>> even though I've added `readline` to the `DEPENDS` list. Why is this? I expected the `rl_echo_signal_char` dependency to be resolved, any hints?
> Are you using meta-gplv2? That function doesn’t exist yet in the version of readline provided by that layer.

I see, yes my project is using "meta-gplv2".

Should removal of that layer help, or would you recommend that I update 
the readline version within it to the latest? (and provide an upstream 
patch to: https://github.com/lgirdk/meta-gplv2 ?

Thanks!
Ron



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

* Re: [yocto] undefined reference problem persists
  2022-11-06 16:02   ` Ron Eggler
@ 2022-11-06 16:48     ` Anders Montonen
  2022-11-06 17:13       ` Alexander Kanavin
  2022-11-06 17:36       ` Ron Eggler
  2022-11-07  1:00     ` Khem Raj
  1 sibling, 2 replies; 23+ messages in thread
From: Anders Montonen @ 2022-11-06 16:48 UTC (permalink / raw)
  To: Mistyron; +Cc: yocto@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1825 bytes --]

Hi,

> On 6 Nov 2022, at 18:02, Mistyron <ron.eggler@mistywest.com> wrote:
> 
> On 11/6/22 02:26, Anders Montonen wrote:
>> On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
>>> Hi,
>>> 
>>> I'm working with dunfell and want to compile and install the drivers for the Laird LWB5+ module (available from https://github.com/LairdCP/meta-laird-cp).
>>> I have included the path to the layer in meta-laird-cp-pre-3.4 in my `bblayers.conf` and since I need the networkmanager and with information from their support team (don't trust the README apparently), I've added `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
>>> 
>>>     | /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: undefined reference to `rl_echo_signal_char'
>>> 
>>> even though I've added `readline` to the `DEPENDS` list. Why is this? I expected the `rl_echo_signal_char` dependency to be resolved, any hints?
>> Are you using meta-gplv2? That function doesn’t exist yet in the version of readline provided by that layer.
> 
> I see, yes my project is using "meta-gplv2".
> 
> Should removal of that layer help, or would you recommend that I update the readline version within it to the latest? (and provide an upstream patch to: https://github.com/lgirdk/meta-gplv2 <https://github.com/lgirdk/meta-gplv2> ?

If your project doesn’t have any special requirements about not using (L)GPLv3-licensed packages, then dropping meta-gplv2 is by far the best option.
The dependency on readline comes from Networkmanager’s user interfaces (nmcli, nmtui). If you can live without them, disabling them is also an alternative.

Regards,
Anders

[-- Attachment #2: Type: text/html, Size: 6655 bytes --]

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

* Re: [yocto] undefined reference problem persists
  2022-11-06 16:48     ` Anders Montonen
@ 2022-11-06 17:13       ` Alexander Kanavin
  2022-11-06 17:36       ` Ron Eggler
  1 sibling, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2022-11-06 17:13 UTC (permalink / raw)
  To: Anders Montonen; +Cc: Mistyron, yocto@lists.yoctoproject.org

On Sun, 6 Nov 2022 at 17:48, Anders Montonen <Anders.Montonen@iki.fi> wrote:
> If your project doesn’t have any special requirements about not using (L)GPLv3-licensed packages, then dropping meta-gplv2 is by far the best option.
> The dependency on readline comes from Networkmanager’s user interfaces (nmcli, nmtui). If you can live without them, disabling them is also an alternative.

I can imagine that meta-gpl2 was in fact added in the first place for
exactly that reason. NM is a red hat project, and red hat has no
concerns for those pesky embedded linux needs. There's no
configuration switch to disable readline specifically. I vaguely
remember that in a similar situation I disabled nmcli/tui for the
product images but kept them in developer images.

Updating readline to a gpl3 licensed version is not an option at all,
as it would result in a product that you cannot ship.

Alex


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

* Re: [yocto] undefined reference problem persists
  2022-11-06 16:48     ` Anders Montonen
  2022-11-06 17:13       ` Alexander Kanavin
@ 2022-11-06 17:36       ` Ron Eggler
  2022-11-06 18:12         ` Alexander Kanavin
  1 sibling, 1 reply; 23+ messages in thread
From: Ron Eggler @ 2022-11-06 17:36 UTC (permalink / raw)
  To: Anders Montonen; +Cc: yocto@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2272 bytes --]

Hi,

On 11/6/22 08:48, Anders Montonen wrote:
> Hi,
>
>> On 6 Nov 2022, at 18:02, Mistyron <ron.eggler@mistywest.com> wrote:
>>
>> On 11/6/22 02:26, Anders Montonen wrote:
>>> On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
>>>> Hi,
>>>>
>>>> I'm working with dunfell and want to compile and install the 
>>>> drivers for the Laird LWB5+ module (available from 
>>>> https://github.com/LairdCP/meta-laird-cp).
>>>> I have included the path to the layer in meta-laird-cp-pre-3.4 in 
>>>> my `bblayers.conf` and since I need the networkmanager and with 
>>>> information from their support team (don't trust the README 
>>>> apparently), I've added `lrd-networkmanager-sterling` to the 
>>>> `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I 
>>>> invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
>>>>
>>>>     | 
>>>> /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: 
>>>> undefined reference to `rl_echo_signal_char'
>>>>
>>>> even though I've added `readline` to the `DEPENDS` list. Why is 
>>>> this? I expected the `rl_echo_signal_char` dependency to be 
>>>> resolved, any hints?
>>> Are you using meta-gplv2? That function doesn’t exist yet in the 
>>> version of readline provided by that layer.
>>
>> I see, yes my project is using "meta-gplv2".
>>
>> Should removal of that layer help, or would you recommend that I 
>> update the readline version within it to the latest? (and provide an 
>> upstream patch to:https://github.com/lgirdk/meta-gplv2?
>
> If your project doesn’t have any special requirements about not using 
> (L)GPLv3-licensed packages, then dropping meta-gplv2 is by far the 
> best option.
I'll attempt to "just drop" meta-gplv2, then. However I see that there 
are other dependencies on readline too, i.e. it might be easier to just 
replace the existing 5.2 version in meta-gplv2 with 8.2 from here: 
https://git.yoctoproject.org/poky/plain/meta/recipes-core/readline/
> The dependency on readline comes from Networkmanager’s user interfaces 
> (nmcli, nmtui). If you can live without them, disabling them is also 
> an alternative.

I need nmcli for configuration purposes, disabling it won't work for me.

Thanks,
Ron

[-- Attachment #2: Type: text/html, Size: 9522 bytes --]

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

* Re: [yocto] undefined reference problem persists
  2022-11-06 17:36       ` Ron Eggler
@ 2022-11-06 18:12         ` Alexander Kanavin
  2022-11-07  1:35           ` Ron Eggler
  2022-11-07  2:19           ` Ron Eggler
  0 siblings, 2 replies; 23+ messages in thread
From: Alexander Kanavin @ 2022-11-06 18:12 UTC (permalink / raw)
  To: Mistyron; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

On Sun, 6 Nov 2022 at 18:36, Mistyron <ron.eggler@mistywest.com> wrote:
> I'll attempt to "just drop" meta-gplv2, then. However I see that there are other dependencies on readline too, i.e. it might be easier to just replace the existing 5.2 version in meta-gplv2 with 8.2 from here: https://git.yoctoproject.org/poky/plain/meta/recipes-core/readline/

No. You cannot 'just replace' it, as they are under different
licenses, and meta-gplv2 specifically collects versions under gpl
version 2 only.

Are you going to ship what you're working on to other users, or is it
just experimentation?

Alex


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

* Re: [yocto] undefined reference problem persists
  2022-11-06 16:02   ` Ron Eggler
  2022-11-06 16:48     ` Anders Montonen
@ 2022-11-07  1:00     ` Khem Raj
  2022-11-07  2:16       ` Khem Raj
  1 sibling, 1 reply; 23+ messages in thread
From: Khem Raj @ 2022-11-07  1:00 UTC (permalink / raw)
  To: Mistyron; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

On Sun, Nov 6, 2022 at 8:02 AM Mistyron <ron.eggler@mistywest.com> wrote:
>
> On 11/6/22 02:26, Anders Montonen wrote:
> > On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
> >> Hi,
> >>
> >> I'm working with dunfell and want to compile and install the drivers for the Laird LWB5+ module (available from https://github.com/LairdCP/meta-laird-cp).
> >> I have included the path to the layer in meta-laird-cp-pre-3.4 in my `bblayers.conf` and since I need the networkmanager and with information from their support team (don't trust the README apparently), I've added `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
> >>
> >>      | /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: undefined reference to `rl_echo_signal_char'
> >>
> >> even though I've added `readline` to the `DEPENDS` list. Why is this? I expected the `rl_echo_signal_char` dependency to be resolved, any hints?
> > Are you using meta-gplv2? That function doesn’t exist yet in the version of readline provided by that layer.
>
> I see, yes my project is using "meta-gplv2".
>
> Should removal of that layer help, or would you recommend that I update
> the readline version within it to the latest? (and provide an upstream
> patch to: https://github.com/lgirdk/meta-gplv2 ?
>

you can also look into replacing readline with editline and see if
this would work for your package needs. That will be one less package
needed from meta-gpl2

> Thanks!
> Ron
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#58498): https://lists.yoctoproject.org/g/yocto/message/58498
> Mute This Topic: https://lists.yoctoproject.org/mt/94840876/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

* Re: [yocto] undefined reference problem persists
  2022-11-06 18:12         ` Alexander Kanavin
@ 2022-11-07  1:35           ` Ron Eggler
  2022-11-07  8:27             ` Alexander Kanavin
  2022-11-07  2:19           ` Ron Eggler
  1 sibling, 1 reply; 23+ messages in thread
From: Ron Eggler @ 2022-11-07  1:35 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Anders Montonen, yocto@lists.yoctoproject.org


On 11/6/22 10:12, Alexander Kanavin wrote:
> On Sun, 6 Nov 2022 at 18:36, Mistyron <ron.eggler@mistywest.com> wrote:
>> I'll attempt to "just drop" meta-gplv2, then. However I see that there are other dependencies on readline too, i.e. it might be easier to just replace the existing 5.2 version in meta-gplv2 with 8.2 from here: https://git.yoctoproject.org/poky/plain/meta/recipes-core/readline/
> No. You cannot 'just replace' it, as they are under different
> licenses, and meta-gplv2 specifically collects versions under gpl
> version 2 only.
>
> Are you going to ship what you're working on to other users, or is it
> just experimentation?
The intent is, that's it's going to be shipped (but with full access to 
the sources)
-- 
Ron


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

* Re: [yocto] undefined reference problem persists
  2022-11-07  1:00     ` Khem Raj
@ 2022-11-07  2:16       ` Khem Raj
  2022-11-07  2:30         ` Ron Eggler
       [not found]         ` <17252C937E759BD8.12191@lists.yoctoproject.org>
  0 siblings, 2 replies; 23+ messages in thread
From: Khem Raj @ 2022-11-07  2:16 UTC (permalink / raw)
  To: Mistyron; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

On Sun, Nov 6, 2022 at 5:00 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Sun, Nov 6, 2022 at 8:02 AM Mistyron <ron.eggler@mistywest.com> wrote:
> >
> > On 11/6/22 02:26, Anders Montonen wrote:
> > > On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
> > >> Hi,
> > >>
> > >> I'm working with dunfell and want to compile and install the drivers for the Laird LWB5+ module (available from https://github.com/LairdCP/meta-laird-cp).
> > >> I have included the path to the layer in meta-laird-cp-pre-3.4 in my `bblayers.conf` and since I need the networkmanager and with information from their support team (don't trust the README apparently), I've added `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
> > >>
> > >>      | /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: undefined reference to `rl_echo_signal_char'
> > >>
> > >> even though I've added `readline` to the `DEPENDS` list. Why is this? I expected the `rl_echo_signal_char` dependency to be resolved, any hints?
> > > Are you using meta-gplv2? That function doesn’t exist yet in the version of readline provided by that layer.
> >
> > I see, yes my project is using "meta-gplv2".
> >
> > Should removal of that layer help, or would you recommend that I update
> > the readline version within it to the latest? (and provide an upstream
> > patch to: https://github.com/lgirdk/meta-gplv2 ?
> >
>
> you can also look into replacing readline with editline and see if
> this would work for your package needs. That will be one less package
> needed from meta-gpl2

I should have said libedit and not editline

>
> > Thanks!
> > Ron
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > You automatically follow any topics you start or reply to.
> > View/Reply Online (#58498): https://lists.yoctoproject.org/g/yocto/message/58498
> > Mute This Topic: https://lists.yoctoproject.org/mt/94840876/1997914
> > Group Owner: yocto+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >


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

* Re: [yocto] undefined reference problem persists
  2022-11-06 18:12         ` Alexander Kanavin
  2022-11-07  1:35           ` Ron Eggler
@ 2022-11-07  2:19           ` Ron Eggler
  2022-11-07  8:32             ` Alexander Kanavin
  1 sibling, 1 reply; 23+ messages in thread
From: Ron Eggler @ 2022-11-07  2:19 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Anders Montonen, yocto@lists.yoctoproject.org


On 11/6/22 10:12, Alexander Kanavin wrote:
> On Sun, 6 Nov 2022 at 18:36, Mistyron <ron.eggler@mistywest.com> wrote:
>> I'll attempt to "just drop" meta-gplv2, then. However I see that there are other dependencies on readline too, i.e. it might be easier to just replace the existing 5.2 version in meta-gplv2 with 8.2 from here: https://git.yoctoproject.org/poky/plain/meta/recipes-core/readline/
> No. You cannot 'just replace' it, as they are under different
> licenses, and meta-gplv2 specifically collects versions under gpl
> version 2 only.
https://www.gnu.org/licenses/rms-why-gplv3.en.html specifies:

"When we say that GPLv2 and GPLv3 are incompatible, it means there is no 
legal way to combine code under GPLv2 with code under GPLv3 in a single 
program." - What is a single program though? Readline would still be a 
single program within the bitbake build, would it not? I'm not 
"stealing" nor editing its code but compile it as is.

>
> Are you going to ship what you're working on to other users, or is it
> just experimentation?
>
> Alex
-- 
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com


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

* Re: [yocto] undefined reference problem persists
  2022-11-07  2:16       ` Khem Raj
@ 2022-11-07  2:30         ` Ron Eggler
       [not found]         ` <17252C937E759BD8.12191@lists.yoctoproject.org>
  1 sibling, 0 replies; 23+ messages in thread
From: Ron Eggler @ 2022-11-07  2:30 UTC (permalink / raw)
  To: Khem Raj; +Cc: Anders Montonen, yocto@lists.yoctoproject.org


On 11/6/22 18:16, Khem Raj wrote:
> On Sun, Nov 6, 2022 at 5:00 PM Khem Raj <raj.khem@gmail.com> wrote:
>> On Sun, Nov 6, 2022 at 8:02 AM Mistyron <ron.eggler@mistywest.com> wrote:
>>> On 11/6/22 02:26, Anders Montonen wrote:
>>>> On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
>>>>> Hi,
>>>>>
>>>>> I'm working with dunfell and want to compile and install the drivers for the Laird LWB5+ module (available from https://github.com/LairdCP/meta-laird-cp).
>>>>> I have included the path to the layer in meta-laird-cp-pre-3.4 in my `bblayers.conf` and since I need the networkmanager and with information from their support team (don't trust the README apparently), I've added `lrd-networkmanager-sterling` to the `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
>>>>>
>>>>>       | /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: undefined reference to `rl_echo_signal_char'
>>>>>
>>>>> even though I've added `readline` to the `DEPENDS` list. Why is this? I expected the `rl_echo_signal_char` dependency to be resolved, any hints?
>>>> Are you using meta-gplv2? That function doesn’t exist yet in the version of readline provided by that layer.
>>> I see, yes my project is using "meta-gplv2".
>>>
>>> Should removal of that layer help, or would you recommend that I update
>>> the readline version within it to the latest? (and provide an upstream
>>> patch to: https://github.com/lgirdk/meta-gplv2 ?
>>>
>> you can also look into replacing readline with editline and see if
>> this would work for your package needs. That will be one less package
>> needed from meta-gpl2
> I should have said libedit and not editline
libedit is the editline library under meta-devtools: 
https://git.yoctoproject.org/poky/plain/meta/recipes-devtools/libedit/
I'll give this a shot!
>
>>> Thanks!
>>> Ron
>>>
>>>
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>> Links: You receive all messages sent to this group.
>>> You automatically follow any topics you start or reply to.
>>> View/Reply Online (#58498): https://lists.yoctoproject.org/g/yocto/message/58498
>>> Mute This Topic: https://lists.yoctoproject.org/mt/94840876/1997914
>>> Group Owner: yocto+owner@lists.yoctoproject.org
>>> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [raj.khem@gmail.com]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>
-- 
RON EGGLER Firmware Engineer (he/him/his) www.mistywest.com


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

* Re: [yocto] undefined reference problem persists
       [not found]         ` <17252C937E759BD8.12191@lists.yoctoproject.org>
@ 2022-11-07  4:19           ` Ron Eggler
  0 siblings, 0 replies; 23+ messages in thread
From: Ron Eggler @ 2022-11-07  4:19 UTC (permalink / raw)
  To: yocto


On 11/6/22 18:30, Mistyron via lists.yoctoproject.org wrote:
>
> On 11/6/22 18:16, Khem Raj wrote:
>> On Sun, Nov 6, 2022 at 5:00 PM Khem Raj <raj.khem@gmail.com> wrote:
>>> On Sun, Nov 6, 2022 at 8:02 AM Mistyron <ron.eggler@mistywest.com> 
>>> wrote:
>>>> On 11/6/22 02:26, Anders Montonen wrote:
>>>>> On 6 Nov 2022, at 9:45, Mistyron <ron.eggler@mistywest.com> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I'm working with dunfell and want to compile and install the 
>>>>>> drivers for the Laird LWB5+ module (available from 
>>>>>> https://github.com/LairdCP/meta-laird-cp).
>>>>>> I have included the path to the layer in meta-laird-cp-pre-3.4 in 
>>>>>> my `bblayers.conf` and since I need the networkmanager and with 
>>>>>> information from their support team (don't trust the README 
>>>>>> apparently), I've added `lrd-networkmanager-sterling` to the 
>>>>>> `IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I 
>>>>>> invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
>>>>>>
>>>>>>       | 
>>>>>> /usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904: 
>>>>>> undefined reference to `rl_echo_signal_char'
>>>>>>
>>>>>> even though I've added `readline` to the `DEPENDS` list. Why is 
>>>>>> this? I expected the `rl_echo_signal_char` dependency to be 
>>>>>> resolved, any hints?
>>>>> Are you using meta-gplv2? That function doesn’t exist yet in the 
>>>>> version of readline provided by that layer.
>>>> I see, yes my project is using "meta-gplv2".
>>>>
>>>> Should removal of that layer help, or would you recommend that I 
>>>> update
>>>> the readline version within it to the latest? (and provide an upstream
>>>> patch to: https://github.com/lgirdk/meta-gplv2 ?
>>>>
>>> you can also look into replacing readline with editline and see if
>>> this would work for your package needs. That will be one less package
>>> needed from meta-gpl2
>> I should have said libedit and not editline
> libedit is the editline library under meta-devtools: 
> https://git.yoctoproject.org/poky/plain/meta/recipes-devtools/libedit/
> I'll give this a shot!

I replaced replaced readline with libedit in 
meta-gplv2/recipes-support/gnupg/gnupg_1.4.7.bb, invoked bitbake and got:

| 
/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/ar: 
`u' modifier ignored since `D' is the default (see `U')
| aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc-ranlib 
src/core/.libs/libNetworkManager.a
| aarch64-poky-linux-libtool: link: rm -fr 
src/core/.libs/libNetworkManager.lax
| aarch64-poky-linux-libtool: link: ( cd "src/core/.libs" && rm -f 
"libNetworkManager.la" && ln -s "../libNetworkManager.la" 
"libNetworkManager.la" )
| make[2]: Leaving directory 
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/build'
| make[1]: *** [Makefile:18508: all-recursive] Error 1
| make[1]: Leaving directory 
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/build'
| make: *** [Makefile:8521: all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of 
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/temp/run.do_compile.78849' 
failed with exit code 1
ERROR: Task 
(/home/yocto/rzv_vlp_v3.0.0/build/../meta-mistylwb5p/meta-laird-cp-pre-3.4/recipes-packages/lrd-networkmanager/lrd-networkmanager-sterling.bb:do_compile) 
failed with exit code '1'
NOTE: Tasks Summary: Attempted 3706 tasks of which 3702 didn't need to 
be rerun and 1 failed.

Summary: 1 task failed:
/home/yocto/rzv_vlp_v3.0.0/build/../meta-mistylwb5p/meta-laird-cp-pre-3.4/recipes-packages/lrd-networkmanager/lrd-networkmanager-sterling.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 7 ERROR messages shown, returning a non-zero exit code.
yocto@933e43234703:~/rzv_vlp_v3.0.0/build$

And I have troubles to decode what exactly is causing the error in 
libNetworkManager.a - can anyone help me to shed some light onto this? 
I'm not sure about how to fix the the `u' modifier problem either nor do 
I know what it really means.

-- 

Ron



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

* Re: [yocto] undefined reference problem persists
  2022-11-07  1:35           ` Ron Eggler
@ 2022-11-07  8:27             ` Alexander Kanavin
  2022-11-07 15:12               ` Ron Eggler
  0 siblings, 1 reply; 23+ messages in thread
From: Alexander Kanavin @ 2022-11-07  8:27 UTC (permalink / raw)
  To: Ron Eggler; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

On Mon, 7 Nov 2022 at 02:35, Ron Eggler <ron.eggler@mistywest.com> wrote:
> > Are you going to ship what you're working on to other users, or is it
> > just experimentation?
> The intent is, that's it's going to be shipped (but with full access to
> the sources)

If you're shipping anything that is under gplv3 you also need to give
the recipient users a possibility to change the item under gplv3 from
the source code you have used to build it and install their modified
version to replace yours.

Are you able to fulfil that obligation you have under the license?

Alex


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

* Re: [yocto] undefined reference problem persists
  2022-11-07  2:19           ` Ron Eggler
@ 2022-11-07  8:32             ` Alexander Kanavin
  0 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2022-11-07  8:32 UTC (permalink / raw)
  To: Ron Eggler; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

On Mon, 7 Nov 2022 at 03:19, Ron Eggler <ron.eggler@mistywest.com> wrote:
> > On Sun, 6 Nov 2022 at 18:36, Mistyron <ron.eggler@mistywest.com> wrote:
> >> I'll attempt to "just drop" meta-gplv2, then. However I see that there are other dependencies on readline too, i.e. it might be easier to just replace the existing 5.2 version in meta-gplv2 with 8.2 from here: https://git.yoctoproject.org/poky/plain/meta/recipes-core/readline/
> > No. You cannot 'just replace' it, as they are under different
> > licenses, and meta-gplv2 specifically collects versions under gpl
> > version 2 only.
> https://www.gnu.org/licenses/rms-why-gplv3.en.html specifies:
>
> "When we say that GPLv2 and GPLv3 are incompatible, it means there is no
> legal way to combine code under GPLv2 with code under GPLv3 in a single
> program." - What is a single program though? Readline would still be a
> single program within the bitbake build, would it not? I'm not
> "stealing" nor editing its code but compile it as is.

Combining gpl2 and gpl3 is not an issue here. The issue is that if you
ship gpl3 items to users as a part of some product, you have an
obligation to allow them to change those items and install the changes
on the product. This is why meta-gplv2 was created: it effectively
reverts everything that is nowadays gpl3 licensed to older versions
which are still under gpl2.

Single program is commonly interpreted as a runtime process with its
own virtual address space. E.g. all linked libraries, even 3rd party
ones, are a part of the single program.

Alex


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

* Re: [yocto] undefined reference problem persists
  2022-11-07  8:27             ` Alexander Kanavin
@ 2022-11-07 15:12               ` Ron Eggler
  2022-11-07 15:20                 ` Alexander Kanavin
  0 siblings, 1 reply; 23+ messages in thread
From: Ron Eggler @ 2022-11-07 15:12 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Anders Montonen, yocto@lists.yoctoproject.org


On 11/7/22 00:27, Alexander Kanavin wrote:
> On Mon, 7 Nov 2022 at 02:35, Ron Eggler <ron.eggler@mistywest.com> wrote:
>>> Are you going to ship what you're working on to other users, or is it
>>> just experimentation?
>> The intent is, that's it's going to be shipped (but with full access to
>> the sources)
> If you're shipping anything that is under gplv3 you also need to give
> the recipient users a possibility to change the item under gplv3 from
> the source code you have used to build it and install their modified
> version to replace yours.
>
> Are you able to fulfil that obligation you have under the license?

Yes, that will definitely be doable for the recepient if they chose to 
do so.

-- 

Ron



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

* Re: [yocto] undefined reference problem persists
  2022-11-07 15:12               ` Ron Eggler
@ 2022-11-07 15:20                 ` Alexander Kanavin
  2022-11-07 17:57                   ` Ron Eggler
  0 siblings, 1 reply; 23+ messages in thread
From: Alexander Kanavin @ 2022-11-07 15:20 UTC (permalink / raw)
  To: Ron Eggler; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

On Mon, 7 Nov 2022 at 16:13, Ron Eggler <ron.eggler@mistywest.com> wrote:
> > Are you able to fulfil that obligation you have under the license?
>
> Yes, that will definitely be doable for the recepient if they chose to
> do so.

I'm curious as to how though. Are you going to give them a complete
set of yocto layers and source code for everything that goes into the
image, so that they can replicate the yocto build? If they choose to
replace readline with their own version, I don't see any other way.

Note that we are not talking about the manufacturer of the device, we
are talking about the actual end users who will buy and use the device
for its intended purpose.

Alex


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

* Re: [yocto] undefined reference problem persists
  2022-11-07 15:20                 ` Alexander Kanavin
@ 2022-11-07 17:57                   ` Ron Eggler
  2022-11-07 19:15                     ` Alexander Kanavin
  0 siblings, 1 reply; 23+ messages in thread
From: Ron Eggler @ 2022-11-07 17:57 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]


On 2022-11-07 7:20 a.m., Alexander Kanavin wrote:
> On Mon, 7 Nov 2022 at 16:13, Ron Eggler<ron.eggler@mistywest.com>  wrote:
>>> Are you able to fulfil that obligation you have under the license?
>> Yes, that will definitely be doable for the recepient if they chose to
>> do so.
> I'm curious as to how though. Are you going to give them a complete
> set of yocto layers and source code for everything that goes into the
> image, so that they can replicate the yocto build? If they choose to
> replace readline with their own version, I don't see any other way.
Exactly, the customer will have full access to the source code incl. the 
complete set of Yocto layers and all.
> Note that we are not talking about the manufacturer of the device, we
> are talking about the actual end users who will buy and use the device
> for its intended purpose.
Yes, understood!
-- 


*RON EGGLER*
Firmware Engineer
(he/him/his)
www.mistywest.com
MistyWest Logo

[-- Attachment #2.1: Type: text/html, Size: 2276 bytes --]

[-- Attachment #2.2: 2018_MistyWest_LogoCombo_FINAL_RGB.png --]
[-- Type: image/png, Size: 43986 bytes --]

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

* Re: [yocto] undefined reference problem persists
  2022-11-07 17:57                   ` Ron Eggler
@ 2022-11-07 19:15                     ` Alexander Kanavin
  0 siblings, 0 replies; 23+ messages in thread
From: Alexander Kanavin @ 2022-11-07 19:15 UTC (permalink / raw)
  To: Ron Eggler; +Cc: Anders Montonen, yocto@lists.yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

On Mon, 7 Nov 2022 at 18:57, Ron Eggler <ron.eggler@mistywest.com> wrote:

> Exactly, the customer will have full access to the source code incl. the
> complete set of Yocto layers and all.
>

Then your best option is to drop meta-gplv2 layer from builds altogether.
This will update everything to current, compatible versions that are easier
to fix if needed.

Just to be on the safe side, you do need to find out why it was added
though. The reason may still hold.

Alex

[-- Attachment #2: Type: text/html, Size: 868 bytes --]

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

end of thread, other threads:[~2022-11-07 19:16 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-06  7:45 undefined reference problem persists Ron Eggler
2022-11-06  8:14 ` [yocto] " Alexander Kanavin
2022-11-06 15:43   ` Ron Eggler
2022-11-06  8:40 ` Markus Volk
2022-11-06 15:45   ` Ron Eggler
2022-11-06 10:26 ` Anders Montonen
2022-11-06 16:02   ` Ron Eggler
2022-11-06 16:48     ` Anders Montonen
2022-11-06 17:13       ` Alexander Kanavin
2022-11-06 17:36       ` Ron Eggler
2022-11-06 18:12         ` Alexander Kanavin
2022-11-07  1:35           ` Ron Eggler
2022-11-07  8:27             ` Alexander Kanavin
2022-11-07 15:12               ` Ron Eggler
2022-11-07 15:20                 ` Alexander Kanavin
2022-11-07 17:57                   ` Ron Eggler
2022-11-07 19:15                     ` Alexander Kanavin
2022-11-07  2:19           ` Ron Eggler
2022-11-07  8:32             ` Alexander Kanavin
2022-11-07  1:00     ` Khem Raj
2022-11-07  2:16       ` Khem Raj
2022-11-07  2:30         ` Ron Eggler
     [not found]         ` <17252C937E759BD8.12191@lists.yoctoproject.org>
2022-11-07  4:19           ` Ron Eggler

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.