[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Patch 2.6.1 fails to build on Darwin
From: |
Eric Blake |
Subject: |
Re: GNU Patch 2.6.1 fails to build on Darwin |
Date: |
Mon, 11 Jan 2010 21:51:32 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Ludovic Courtès <ludo <at> gnu.org> writes:
> Patch 2.6.1 fails to build on Darwin with Apple’s “GCC” [0]:
>
> --8<---------------cut here---------------start------------->8---
> gcc -std=gnu99 -c -DHAVE_CONFIG_H
> -Ded_PROGRAM=\"/nix/store/1dk6yj85f9j1manfrd3001az2r7ggb8n-ed-1.4/bin/ed\" -
DENABLE_MERGE
> -I. -I./src -I./gl/lib -g -O2 -o gl/lib/strndup.o gl/lib/strndup.c
> gl/lib/strndup.c: In function 'strndup':
> gl/lib/strndup.c:33: warning: implicit declaration of function 'rpl_strnlen'
>
> [0] http://hydra.nixos.org/build/216441/nixlog/1/raw
I can't get it to fail for me, even when cross-compiling from cygwin to mingw.
Looking at that log, I don't see where the gnulib replacement string.h was
built. Are you using gnulib-tool --import, or are you pulling in modules
manually? My guess is that you are doing manual importing, and that you missed
the step that builds the replacement string.h header, and thus putting the bug
in patch's court rather than gnulib.
--
Eric Blake