Skip to contentSkip to conversation

Build error on the latest version of mono.

meta-mono Kory Maincent 2 participants 3 messages Nov 13, 2020 – Nov 16, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

Got this error when trying to build mono:
| ./include/private/gc_atomic_ops.h:105:11: fatal error: atomic_ops.h: No such file or directory
| 105 | # include "atomic_ops.h"

I am on Dunfell version of OE.
The last commit bring this error:
89f6d12 (HEAD -> dunfell, origin/dunfell) mono: add support for mono-6.10.0.104

I have never dive into mono building, could someone give me a hint to solve that issue.

Regards,

Signature · 3 lines
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
#1 lore raw
Quoted 7 lines · Kory Maincent

Hello,

Got this error when trying to build mono:
| ./include/private/gc_atomic_ops.h:105:11: fatal error: atomic_ops.h: No such file or directory
| 105 | # include "atomic_ops.h"

Quoted 7 lines

I am on Dunfell version of OE.
The last commit bring this error:
89f6d12 (HEAD -> dunfell, origin/dunfell) mono: add support for mono-6.10.0.104

I have never dive into mono building, could someone give me a hint to solve that issue.

can you try adding atomic-ops to DEPENDS and see if it helps

Quoted 6 lines

Regards,

#2 lore raw

Hello Khem,

Quoted 13 lines · On Fri, 13 Nov 2020 09:50:59 -0800 Khem Raj <[email protected]> wrote:
Quoted 12 lines · Kory Maincent

Hello,

Got this error when trying to build mono:
| ./include/private/gc_atomic_ops.h:105:11: fatal error: atomic_ops.h: No such file or directory
| 105 | # include "atomic_ops.h"

I am on Dunfell version of OE.
The last commit bring this error:
89f6d12 (HEAD -> dunfell, origin/dunfell) mono: add support for mono-6.10.0.104

Quoted 5 lines
Quoted 3 lines

I have never dive into mono building, could someone give me a hint to solve that issue.

can you try adding atomic-ops to DEPENDS and see if it helps

Thanks, it builds with this dependencies.
I will sent a patch to add it.

Regards,

Signature · 3 lines
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com