mDNSResponder / GCC 4.1 / Ubuntu Problem persists

A while back
I reported on an obscure problem when compiling applications against the dnssd library that comes with Apple’s mDNSResponder.

This post is just to report that these problems persist in mDNSResponder 108.4. As I reported before, here is what you’ll see when compiling your program:

hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO /usr/bin/ld: final link failed: Nonrepresentable section on output

As you can see, its all very intuitive.

About Josh

Josh is a software architect and engineer with a fine arts background. You can connect with him on Google+.
This entry was posted in Tech and tagged , , , , , , . Bookmark the permalink.

One Response to mDNSResponder / GCC 4.1 / Ubuntu Problem persists

  1. Russ Cox says:

    If you change the Makefile to add -fno-stack-protector to the CFLAGS variable line, then the build will go through.

    It’s magic!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>