mheily / libkqueue

kqueue(2) compatibility library
Other
238 stars 77 forks source link

Does not compile on Solaris #145

Open neheb opened 2 years ago

neheb commented 2 years ago
/export/home/mangix/devstuff/libkqueue/src/common/../solaris/../posix/eventfd.h:18:56: error: ‘struct filter’ declared inside parameter list [-Werror]
 int     posix_eventfd_init(struct eventfd *efd, struct filter *filt);

https://cfarm.tetaneutral.net/machines/list/ <-- gcc211

neheb commented 2 years ago

Seems it supports C11 atomics too.

mheily commented 2 years ago

Thanks for reporting this. I haven't attempted to compile libkqueue on Solaris in a long time, and I don't have a Solaris machine available for testing. I've submitted a request to the GCC Farm project to get an account.

neheb commented 2 years ago

A tip: the solaris 10 machine's ssh server doesn't support modern openssh. Might need to use dropbear instead of openssh to connect to it. Both Solaris 10 and 11 don't support ed25519 for keys.

arr2036 commented 2 years ago

There's a solaris github actions recipe here: https://github.com/vmactions/solaris-vm

I'll see if I can add it to the standard set of builds and fix any outstanding issues.