|
From: | Vladimir Merzliakov |
Subject: | Re: Binutils build broken at FreeBSD 5.3 after -Werror enabling |
Date: | Fri, 25 Mar 2005 00:53:15 +0300 |
Please could you try the patch below which *might* work. I have not tested it very much. You ought to regenerate the configure files after applying this patch but in case this is a problem for you I am attaching a compressed diff for them as well.
Results of testting: checking for an known getopt prototype in unistd.h... yes .... But terminated with message:In file included from /usr/home/wanderer/pkg/build/binutils/src/src/binutils/addr2line.c:35: /usr/home/wanderer/pkg/build/binutils/src/src/binutils/../include/getopt.h:116: warning: function declaration isn't a prototype
gmake[3]: *** [addr2line.o] Error 1gmake[3]: Leaving directory `/usr/home/wanderer/pkg/build/binutils/obj/binutils'
obj/binutils/config.h have: /* Is the prototype for getopt in <unistd.h> in the expected format? */ #define HAVE_DECL_GETOPT 1 And then configure part work fine at FreeBSD but binutils/config.h not #included in addr2line.c Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |