lkml.org 
[lkml]   [2009]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@redhat.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


    \
     
     \ /
      Last update: 2009-03-11 19:37    [W:0.020 / U:30.180 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site