Re: [PATCH 3/5] acpi: Convert translator to an emulated mach device

2022-09-07 Thread Samuel Thibault
Damien Zammit, le jeu. 08 sept. 2022 06:15:12 +, a ecrit: > On 8/9/22 4:11 pm, Samuel Thibault wrote: > > Damien Zammit, le jeu. 08 sept. 2022 05:42:43 +, a ecrit: > >> On 6/9/22 9:05 am, Samuel Thibault wrote: > >>> machdev_trivfs_server can probably be split into two functions, so that >

Re: [PATCH 3/5] acpi: Convert translator to an emulated mach device

2022-09-07 Thread Damien Zammit
On 8/9/22 4:11 pm, Samuel Thibault wrote: > Damien Zammit, le jeu. 08 sept. 2022 05:42:43 +, a ecrit: >> On 6/9/22 9:05 am, Samuel Thibault wrote: >>> machdev_trivfs_server can probably be split into two functions, so that >>> one can run the initialization part sequentially in the main thread,

Re: [PATCH 1/5] acpi: Link translator to libacpica and provide RPCs

2022-09-07 Thread Samuel Thibault
Damien Zammit, le jeu. 08 sept. 2022 05:39:30 +, a ecrit: > On 6/9/22 8:47 am, Samuel Thibault wrote: > >> > >> -#include "acpi.h" > >> +#include "myacpi.h" > > > > Aren't the libacpi headers in acpi/acpi.h and thus no conflict? > > Yes, but -I../.. seems to take precedence over /usr/include

Re: [PATCH 3/5] acpi: Convert translator to an emulated mach device

2022-09-07 Thread Samuel Thibault
Damien Zammit, le jeu. 08 sept. 2022 05:42:43 +, a ecrit: > On 6/9/22 9:05 am, Samuel Thibault wrote: > > machdev_trivfs_server can probably be split into two functions, so that > > one can run the initialization part sequentially in the main thread, > > then initialize the rest, and then only

Re: [PATCH] Add struct ip_mreqn in the glue headers

2022-09-07 Thread Samuel Thibault
Flavio Cruz, le mer. 07 sept. 2022 22:58:53 -0400, a ecrit: > When I compile from master, I get the following error: > > gcc -std=gnu99 -fgnu89-inline -Wall -g -O3 -fno-strict-aliasing -g -O2 > -fno-strict-aliasing -I. -I.. -I../include -I../include -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=64 -DP

Re: [PATCH 3/5] acpi: Convert translator to an emulated mach device

2022-09-07 Thread Damien Zammit
Hi Samuel, On 6/9/22 9:05 am, Samuel Thibault wrote: > machdev_trivfs_server can probably be split into two functions, so that > one can run the initialization part sequentially in the main thread, > then initialize the rest, and then only start the libmachdev demuxer in > another thread. I can f

Re: [PATCH 1/5] acpi: Link translator to libacpica and provide RPCs

2022-09-07 Thread Damien Zammit
Hi Samuel, On 6/9/22 8:47 am, Samuel Thibault wrote: >> >> -#include "acpi.h" >> +#include "myacpi.h" > > Aren't the libacpi headers in acpi/acpi.h and thus no conflict? Yes, but -I../.. seems to take precedence over /usr/include therefore the compiler discovers ../../acpi/acpi.h instead of /us

[PATCH] Add struct ip_mreqn in the glue headers

2022-09-07 Thread Flavio Cruz
When I compile from master, I get the following error: gcc -std=gnu99 -fgnu89-inline -Wall -g -O3 -fno-strict-aliasing -g -O2 -fno-strict-aliasing -I. -I.. -I../include -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPACKAGE_NAME=\"GNU\ Hurd\" -DPACKAGE_TARNAME=\"hurd\" -DPACKAGE_VERSIO