On Fri, 1 Feb 2019 at 07:13, <[email protected]> wrote:

But it I try to compile inside the RT-system for userspace,
> this is the resulting error.
> ---------------------------------
> halcompile --compile --userspace hal/drivers/hal_parport.c
>

Is that the unmodified hal_parport?

"--userspace" means that the HAL component runs standalone as a normal
userspace application, rather than exporting functions that can be added to
a realtime thread.
It isn't the same as a component that runs in POSIX realtime (is the
"uspace" version of LinuxCNC realtime.
So, realtime components that export functions will not compile with
--userspace. There is a warning about that in halcompile, but it appears
that things fail before that point.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/utils/halcompile.g#L995


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to