From: Philippe Gerum <rpm@xenomai.org>
To: "KOCIK Rémy" <remy.kocik@esiee.fr>
Cc: xenomai@lists.linux.dev
Subject: Re: [Xenomai 4] Compilation issue
Date: Fri, 14 Feb 2025 09:32:27 +0100 [thread overview]
Message-ID: <87frkh0vvo.fsf@xenomai.org> (raw)
In-Reply-To: <0b3100d7-ba07-4839-88ad-2df1c367d094@esiee.fr> ("KOCIK Rémy"'s message of "Fri, 14 Feb 2025 09:11:18 +0100")
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.
next prev parent reply other threads:[~2025-02-14 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 8:11 [Xenomai 4] Compilation issue KOCIK Rémy
2025-02-14 8:32 ` Philippe Gerum [this message]
2025-02-14 9:00 ` KOCIK Rémy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frkh0vvo.fsf@xenomai.org \
--to=rpm@xenomai.org \
--cc=remy.kocik@esiee.fr \
--cc=xenomai@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.