-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build on FreeBSD: error: implicit declaration of function ‘TAILQ_END’ (with -Werror) #168
Comments
Interesting! I've made it a habit of always building and testing on FreeBSD before release, but I've not seen anything like that before. I just double checked, and even latest master builds fine; no warnings (we have The local copy of queue.h (which includes the _SAFE macros) is always used, but it's included last in all .c files that require it. And since it's the the same #ifndef guard as the official one, I guess one of the system headers may have pulled in the sys/queue.h version on kFreeBSD ... which perhaps doesn't have the TAILQ_HEAD/_END macros? I couldn't find any installer for Debian GNU/kFreeBSD on my first couple of googlings, but I guess moving/adding an explicit |
Possible root cause for issue #168, trouble building on Debian/kFreeBSD. Signed-off-by: Joachim Wiberg <[email protected]>
I just pushed a speculative fix, hopefully it solves the issue. |
Yeah, slightly better.
|
Configuring the build with |
Awesome, great then I can proceed with the patch release :) Yeah, the mrdisc code doesn't work on a FreeBSD kernel yet. I wanted to add IPv6 support to it first, but haven't had the time to do either. |
@bombadil v2.5.3 out now -> https://github.com/troglobit/smcroute/releases/tag/2.5.3 |
I tried to compile smcroute on Debian's FreeBSD architecture, but it failed:
I'll continue to poke around tomorrow, but I wanted to share at least this finding already...
The text was updated successfully, but these errors were encountered: