Can't compile current svn

Hello,

Having some issues with the current svn version 3206.

Note that it could be my systems as previously built versions no
longer compile either with gcc-4.5.2 and glibc-2.13.

However, just in case... these are the errors:

Hi Chris,

Hello,

Having some issues with the current svn version 3206.

Current svn is NSD4 in development and contains work in progress.
However it should compile ...

If you desire the RC it is in tags/NSD_3_2_8_RC1

Note that it could be my systems as previously built versions no
longer compile either with gcc-4.5.2 and glibc-2.13.

Thanks for the errorlog. I know this bug from the ubuntu system
headers. If does not happen on other linuxes I believe. I think I
already saw a bugreport for it. I do not expect it to get fixed, maybe
in later ubuntu releases, I guess a configure compile test is needed to
stop using advanced optimization.

However, just in case... these are the errors:

nsd.c:867:3: warning: ignoring return value of ‘chown’, declared with
attribute warn_unused_result
radtree.c: In function ‘radix_delete’:
/usr/include/bits/string3.h:49:1: sorry, unimplemented: inlining
failed in call to ‘memcpy’: redefined extern inline functions are not
considered for inlining
radtree.c:622:8: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56:1: sorry, unimplemented: inlining
failed in call to ‘memmove’: redefined extern inline functions are not
considered for inlining
radtree.c:626:9: sorry, unimplemented: called from here
/usr/include/bits/string3.h:56:1: sorry, unimplemented: inlining
failed in call to ‘memmove’: redefined extern inline functions are not
considered for inlining
radtree.c:671:9: sorry, unimplemented: called from here
make: *** [whole] Error 1

The current code does build fine with gcc-4.4.3 and glibc-2.11.1 and
will build with gcc-4.5.2 and glibc-2.13 if I enforce the CFLAG
-fno-inline although I'm guessing that should not be necessary.

Any assistance is appreciated.

Thank you,

Best regards,
   Wouter

Hi Chris,

Tested the trunk with Ubuntu 8.10, 9.10 and 10.04 and they all work. On
9.10 the fix for this problem is correctly triggered during configure.

Can you say which version of ubuntu you have, 9.10 does not have
gcc-4.5.2 but had 4.4 (on the live CD I used)? Perhaps send me your
configure output and config.log (large, send me offlist). Then I can
determine why it fails.

Best regards,
   Wouter

Will do.

Thanks!