[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090311183735.GA2832@uranus.ravnborg.org>
Date: Wed, 11 Mar 2009 19:37:35 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Kyle McMartin <kyle@...radead.org>
Cc: linux-kernel@...r.kernel.org, jakub@...hat.com,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] scripts/unifdef.c: rename getline symbol to something else
On Wed, Mar 11, 2009 at 12:17:33PM -0400, Kyle McMartin wrote:
> From: Kyle McMartin <kyle@...hat.com>
>
> Rawhide builds are currently failing to build unifdef.c, as the next
> version of glibc changes the default _POSIX_C_SOURCE level, which
> exposes getline() from <stdio.h>
>
> scripts/unifdef.c:209: error: conflicting types for 'getline'
> /usr/include/stdio.h:653: note: previous declaration of 'getline' was
> here
> make[2]: *** [scripts/unifdef] Error 1
> make[1]: *** [__headers] Error 2
> make: *** [vmlinux] Error 2
>
> Rename the symbol in unifdef.c to parseline to avoid this conflicting
> declaration.
I have a similar patch queued in kbuild-fixes.git.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists