binutils test failure
Bruce Dubbs
bruce.dubbs at gmail.com
Thu Jun 4 14:51:22 MDT 2009
Tobias Gasser wrote:
> libiberty/testsuite/test-demangle.c
>
> error: conflicting types for 'getline'
>
> stdio.h now defines getline().
>
> i didn't check wether older versions did this define too, or another
> include is responsible for setting __USE_XOPEN2K8 requireing stdio.h to
> define this function. i've no clue what "Define XPG7 thins" means (found
> in features.h)
>
> hotfix:
> sed -i -e 's/getline/_getline/' libiberty/testsuite/test-demangle.c
>
>
>
> i assume to get some more errors with the same issue...
>
> it's not really a problem. i just think it might be helpfull to know for
> anybody having similar problems with other packages.
This is already in the -dev version of the book and I have reported it upstream.
-- Bruce
More information about the lfs-dev
mailing list