qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/2] linux-user: fix build error against older glibc


From: Eduardo Habkost
Subject: [Qemu-devel] [PATCH 0/2] linux-user: fix build error against older glibcs
Date: Tue, 9 Jun 2009 18:26:30 -0300

This series fixes the following build error on older glibc versions (on my
case, version 2.5-34 from RHEL-5).

   LINK  x86_64-linux-user/qemu-x86_64
 syscall.o: In function `sys_utimensat':
 /home/ehabkost/code/qemu/qemu/linux-user/syscall.c:419: undefined reference to 
`utimensat'
 collect2: ld returned 1 exit status
 make[1]: *** [qemu-x86_64] Error 1
 make: *** [subdir-x86_64-linux-user] Error 2

This happens because the older glibc has most xxxat() functions available, but
not utimensat(). utimensat() needs a separate test on configure.

---
Eduardo Habkost (2):
  linux-user/syscall.c: define _ATFILE_SOURCE
  check for utimensat() availability on configure

 configure            |   24 ++++++++++++++++++++++++
 linux-user/syscall.c |   26 ++++++++++++++++++--------
 2 files changed, 42 insertions(+), 8 deletions(-)

-- 
Eduardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]