bacnet-stack icon indicating copy to clipboard operation
bacnet-stack copied to clipboard

FreeBSD support

Open sparvu opened this issue 4 years ago • 1 comments

Is the BACnet stack designed for Linux only systems ? I tried to compile the project on FreeBSD 10 amd64 without success:

krmx@fbsd1064:~/bacnet-stack % gmake
gmake -s -C lib all
In file included from ../src/tsm.c:45:
In file included from ../include/datalink.h:61:
In file included from ../include/bip.h:32:
../ports/linux/net.h:85:10: fatal error: 'features.h' file not found
#include <features.h>   /* for the glibc version number */
         ^
1 error generated.
Makefile:219: recipe for target '../src/tsm.o' failed
gmake[1]: *** [../src/tsm.o] Error 1
Makefile:68: recipe for target 'library' failed
gmake: *** [library] Error 2

Is there any hope to see this portable across different UNIX systems or the stack will stay only for Linux based systems ?

Thanks

sparvu avatar Nov 04 '19 09:11 sparvu

upstream bacnet stack is now on github; https://github.com/bacnet-stack/bacnet-stack

gocarlos avatar Jan 11 '20 23:01 gocarlos