Skip to content
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

dnsdist does not compile on (k)FreeBSD #1658

Closed
zeha opened this issue Aug 9, 2014 · 1 comment
Closed

dnsdist does not compile on (k)FreeBSD #1658

zeha opened this issue Aug 9, 2014 · 1 comment

Comments

@zeha
Copy link
Collaborator

zeha commented Aug 9, 2014

From the Debian buildd logs of 3.4.0-rc1:

x86_64-kfreebsd-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -I/usr/include/botan-1.10    -D_FORTIFY_SOURCE=2 -I.. -I.. -DSYSCONFDIR=\"/etc/powerdns\" -DPKGLIBDIR=\"/usr/lib/x86_64-kfreebsd-gnu/pdns\" -DLOCALSTATEDIR=\"/var/run\"  -I/usr/include/lua5.1    -I../pdns/ext/rapidjson/include -I../pdns/ext/yahttp -pthread -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o dnsdist.o dnsdist.cc
[...snipped endian warnings...]
dnsdist.cc: In function 'int main(int, char**)':
dnsdist.cc:536:36: error: 'TCP_DEFER_ACCEPT' was not declared in this scope
     SSetsockopt(cs->tcpFD, SOL_TCP,TCP_DEFER_ACCEPT, 1);
@Habbie Habbie added this to the auth-3.4.0 milestone Aug 12, 2014
@zeha
Copy link
Collaborator Author

zeha commented Aug 15, 2014

http://cpansearch.perl.org/src/MONS/Socket-AcceptFilter-0.03/lib/Socket/AcceptFilter.pm may explain how to do a similar thing on (k)FreeBSD.

@Habbie Habbie closed this as completed in dad70f2 Aug 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants