* [Xenomai 4] Compilation issue
@ 2025-02-14 8:11 KOCIK Rémy
2025-02-14 8:32 ` Philippe Gerum
0 siblings, 1 reply; 3+ messages in thread
From: KOCIK Rémy @ 2025-02-14 8:11 UTC (permalink / raw)
To: xenomai
Hi all,
I am new to xenomai 4.
Following the information given on the xenomai 4 website, I installed
linux-evl version v6.12.y and libevl version r50 on an Ubuntu 24.04 LTS.
With the kernel compiled and installed, I've managed to run evl test
correctly.
I'm now trying to compile and run a very simple program given as an
example on the site.
I don't know meson very well, so I've tried to compile the program with
the following command:
gcc -o foo foo.c -I/opt/evl/include -L/opt/evl/lib -levl
I get the following error :
/opt/evl/include/evl/syscall.h:11:10: fatal error: evl/syscall-abi.h:
Aucun fichier ou dossier de ce nom
11 | #include <evl/syscall-abi.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
In the evl include directory we find the following files:
drwxr-xr-x 3 root root 4096 févr. 12 11:52 .
drwxr-xr-x 3 root root 4096 févr. 12 09:42 ..
-rw-r--r-- 1 root root 1899 sept. 25 09:25 atomic.h
-rw-r--r-- 1 root root 675 sept. 25 09:25 clock.h
-rw-r--r-- 1 root root 1117 sept. 25 09:25 compat.h
-rw-r--r-- 1 root root 2439 sept. 25 09:25 compiler.h
-rw-r--r-- 1 root root 1782 sept. 25 09:25 event.h
-rw-r--r-- 1 root root 961 sept. 25 09:25 evl.h
-rw-r--r-- 1 root root 2413 sept. 25 09:25 flags.h
-rw-r--r-- 1 root root 4202 sept. 25 09:25 heap.h
-rw-r--r-- 1 root root 4873 sept. 25 09:25 list.h
-rw-r--r-- 1 root root 2128 sept. 25 09:25 mutex.h
drwxr-xr-x 2 root root 4096 févr. 12 11:52 net
-rw-r--r-- 1 root root 825 sept. 25 09:25 observable.h
-rw-r--r-- 1 root root 728 sept. 25 09:25 poll.h
-rw-r--r-- 1 root root 1043 sept. 25 09:25 proxy.h
-rw-r--r-- 1 root root 10460 sept. 25 09:25 ring_ptr.h
-rw-r--r-- 1 root root 1422 sept. 25 09:25 rwlock.h
-rw-r--r-- 1 root root 630 sept. 25 09:25 sched.h
-rw-r--r-- 1 root root 1774 sept. 25 09:25 sem.h
-rw-r--r-- 1 root root 462 sept. 25 09:25 syscall.h
-rw-r--r-- 1 root root 694 sept. 25 09:25 sys.h
-rw-r--r-- 1 root root 1311 sept. 25 09:25 thread.h
-rw-r--r-- 1 root root 465 sept. 25 09:25 timer.h
-rw-r--r-- 1 root root 560 sept. 25 09:25 xbuf.h
There is no syscall-abi.h file.
Is there a problem with my installation? I don't understand why this
file is not in the directory.
Thanks for your help
Rémy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai 4] Compilation issue
2025-02-14 8:11 [Xenomai 4] Compilation issue KOCIK Rémy
@ 2025-02-14 8:32 ` Philippe Gerum
2025-02-14 9:00 ` KOCIK Rémy
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gerum @ 2025-02-14 8:32 UTC (permalink / raw)
To: KOCIK Rémy; +Cc: xenomai
KOCIK Rémy <remy.kocik@esiee.fr> writes:
> Hi all,
>
> I am new to xenomai 4.
>
> Following the information given on the xenomai 4 website, I installed
> linux-evl version v6.12.y and libevl version r50 on an Ubuntu 24.04
> LTS.
>
> With the kernel compiled and installed, I've managed to run evl test
> correctly.
>
> I'm now trying to compile and run a very simple program given as an
> example on the site.
>
> I don't know meson very well, so I've tried to compile the program
> with the following command:
>
> gcc -o foo foo.c -I/opt/evl/include -L/opt/evl/lib -levl
>
> I get the following error :
>
> /opt/evl/include/evl/syscall.h:11:10: fatal error: evl/syscall-abi.h:
> Aucun fichier ou dossier de ce nom
> 11 | #include <evl/syscall-abi.h>
> | ^~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> In the evl include directory we find the following files:
>
> drwxr-xr-x 3 root root 4096 févr. 12 11:52 .
> drwxr-xr-x 3 root root 4096 févr. 12 09:42 ..
> -rw-r--r-- 1 root root 1899 sept. 25 09:25 atomic.h
> -rw-r--r-- 1 root root 675 sept. 25 09:25 clock.h
> -rw-r--r-- 1 root root 1117 sept. 25 09:25 compat.h
> -rw-r--r-- 1 root root 2439 sept. 25 09:25 compiler.h
> -rw-r--r-- 1 root root 1782 sept. 25 09:25 event.h
> -rw-r--r-- 1 root root 961 sept. 25 09:25 evl.h
> -rw-r--r-- 1 root root 2413 sept. 25 09:25 flags.h
> -rw-r--r-- 1 root root 4202 sept. 25 09:25 heap.h
> -rw-r--r-- 1 root root 4873 sept. 25 09:25 list.h
> -rw-r--r-- 1 root root 2128 sept. 25 09:25 mutex.h
> drwxr-xr-x 2 root root 4096 févr. 12 11:52 net
> -rw-r--r-- 1 root root 825 sept. 25 09:25 observable.h
> -rw-r--r-- 1 root root 728 sept. 25 09:25 poll.h
> -rw-r--r-- 1 root root 1043 sept. 25 09:25 proxy.h
> -rw-r--r-- 1 root root 10460 sept. 25 09:25 ring_ptr.h
> -rw-r--r-- 1 root root 1422 sept. 25 09:25 rwlock.h
> -rw-r--r-- 1 root root 630 sept. 25 09:25 sched.h
> -rw-r--r-- 1 root root 1774 sept. 25 09:25 sem.h
> -rw-r--r-- 1 root root 462 sept. 25 09:25 syscall.h
> -rw-r--r-- 1 root root 694 sept. 25 09:25 sys.h
> -rw-r--r-- 1 root root 1311 sept. 25 09:25 thread.h
> -rw-r--r-- 1 root root 465 sept. 25 09:25 timer.h
> -rw-r--r-- 1 root root 560 sept. 25 09:25 xbuf.h
>
>
> There is no syscall-abi.h file.
>
> Is there a problem with my installation? I don't understand why this
> file is not in the directory.
>
> Thanks for your help
>
>
> Rémy
-I$KERNEL_TREE/include/uapi. Ideally, some installation procedure would
deploy them to the build system, so that they could be found in e.g.
/usr/include/evl.
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai 4] Compilation issue
2025-02-14 8:32 ` Philippe Gerum
@ 2025-02-14 9:00 ` KOCIK Rémy
0 siblings, 0 replies; 3+ messages in thread
From: KOCIK Rémy @ 2025-02-14 9:00 UTC (permalink / raw)
To: rpm; +Cc: remy.kocik, xenomai
Do you mean that there is an installation issue ?
Do I have to manually copy the .h files from
$KERNEL_TREE/include/uapi/evl in my /opt/evl/include/evl repertory where
they should be found ?
Rémy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-02-14 9:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-14 8:11 [Xenomai 4] Compilation issue KOCIK Rémy
2025-02-14 8:32 ` Philippe Gerum
2025-02-14 9:00 ` KOCIK Rémy
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.