Bug 537 - gzip complains about existing function futimens from glibc
Summary: gzip complains about existing function futimens from glibc
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 16:29 UTC by Daniele Salvatore Albano
Modified: 2009-08-05 10:29 UTC (History)
1 user (show)

See Also:
Host: Ubuntu 9.0.4 Server 32 Bit
Target: i686
Build: i686


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Salvatore Albano 2009-08-02 16:29:52 UTC
Hi,

gzip complains, while compiling, about an existing function called futimens

Here is the output:
/home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir//usr/include/sys/stat.h:370: error: conflicting types for 'futimens'
utimens.h:2: error: previous declaration of 'futimens' was here
mv -f .deps/open-safer.Tpo .deps/open-safer.Po
utimens.c: In function 'utimens':
utimens.c:188: warning: passing argument 2 of 'futimens' from incompatible pointer type
utimens.c:188: error: too many arguments to function 'futimens'
make[3]: *** [utimens.o] Error 1

On ubuntu launchpad i've discovered that newer glibc contains this function so it doesn't compile with newer glibc, here is the link to ubuntu launchpad.

https://bugs.launchpad.net/ubuntu/+source/gzip/+bug/127206
Comment 1 Will Newton 2009-08-05 10:01:16 UTC
This bug should be fixed by this commit:

http://git.buildroot.net/buildroot/commit/?id=27c667c782d90c43fb6148134feb207307674019