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
Putting this into a PR would require some opinions about the right way to handle multi-platform. So I'll just share the build steps that seemed necessary to get this to compile on macOS and FreeBSD.
(My FreeBSD target was a router running pfSense, a gateway/firewall.)
Putting this into a PR would require some opinions about the right way to handle multi-platform. So I'll just share the build steps that seemed necessary to get this to compile on macOS and FreeBSD.
(My FreeBSD target was a router running pfSense, a gateway/firewall.)
macOS
macOS only needs Makefile changes.
./src/Makefile
-pedantic
more seriously than gcc and had complaints, so that argument is removed.-lm
being used in the initial compile, so it's been removed there (but remains in linking)FreeBSD
FreeBSD needs Makefile tweaks and adding a couple of missing headers.
./src/Makefile
CC
set tocc
for FreeBSDOBJS
changed to an string list instead of being generated. BSDmake
didn't like thepatsubst
, and didn't bother trying to find out why../src/repeater.c
Needs these headers added:
./src/parseconfig.c
Needs this header added:
The text was updated successfully, but these errors were encountered: