You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if on Linux environ is global variable or where it's supposed to come from. I can confirm that code with this change still compiles on archlinux.
I have not yet tested if it actually works, it compilled and I can run ebusd --help. I don't yet have my ebus adapter to check if it's working.
Description
There are 3 changes needed to get ebusd to compile on FreeBSD. Tested with current source from git (commit
c3935d494619203dac308a197e3554786098fa01
).In
src/lib/knx/knxnet.h
, we need to changeendian.h
tomachine/endian.h
. We can use ifdef here:Also, in
ebusd::main
, variableenviron
is undefined, and we need to pass it frommain
as an argument. Somain
is now:And we need to change definition of
ebusd::main
to:I don't know if on Linux
environ
is global variable or where it's supposed to come from. I can confirm that code with this change still compiles on archlinux.I have not yet tested if it actually works, it compilled and I can run
ebusd --help
. I don't yet have my ebus adapter to check if it's working.Complete steps to compile on FreeBSD:
It'd be nice to have those changes included in next releases. If not, maybe it'd be usefull to someone to have those steps on wiki page.
Thank you for maintaining this project
The text was updated successfully, but these errors were encountered: