Michael Kerrisk wrote: > Hi Subrata, > > On Thu, Aug 21, 2008 at 5:00 PM, Subrata Modak > <[EMAIL PROTECTED]> wrote: >> Hi Martin/Shi/Michael, >> >> utimensat01.c is generating some build failure(s) on the following 1a64 >> machine. Can you please look in to this ? >> http://ltp.cvs.sourceforge.net/ltp/ltp/testcases/kernel/syscalls/utimensat/utimensat01.c >> >> 1) Linux 2.6.23.13 #1 SMP Wed Jan 9 18:14:28 PST 2008 ia64 GNU/Linux >> >> cc -Wall -I../../include -g -Wall -I../../../../include -Wall >> -I../../../../include -Wall utimensat01.c -L../../../../lib -lltp -o >> utimensat01 >> utimensat01.c: In function 'main': >> utimensat01.c:115: error: 'AT_FDCWD' undeclared (first use in this >> function) >> utimensat01.c:115: error: (Each undeclared identifier is reported only >> once >> utimensat01.c:115: error: for each function it appears in.) >> utimensat01.c:126: error: 'AT_SYMLINK_NOFOLLOW' undeclared (first use in >> this function) >> make[5]: *** [utimensat01] Error 1 > > What glibc version is on that system? Are AT_FDCWD and > AT_SYMLINK_NOFOLLOW defined in <fcntl.h> on that sytem?
I checked the 2.6.23.13's source,AT_FDCWD and AT_SYMLINK_NOFOLLOW defined in include/linux/fcntl.h. The kernel commit 5590ff0d5528b60153c0b4e7b771472b5a95e297 added AT_FDCWD and AT_SYMLINK_NOFOLLOW on "Wed Jan 18 17:43:53 2006 -0800". > > Cheers, > > Michael > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list