Bug 3163

Summary: __GI_utimensat error of compilation/link on 0.9.32.rc2
Product: uClibc Reporter: Fred_busybox <dark_footix>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: blocker CC: uclibc-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: config file

Description Fred_busybox 2011-01-28 13:31:44 UTC
At the compilation, I have an error : 

libc/libc_so.a(lutimes.os): In function `lutimes':
lutimes.c:(.text+0x94): undefined reference to `__GI_utimensat'
collect2: ld returned 1 exit status
make: *** [lib/libc.so] Erreur 1

I check my kernel header, I have not an utimensat function,

On the  0.9.32.rc1, I see this line :

#undef __NR_utimensat
#define __NR_utimensat 280
#define SYS_utimensat __NR_utimensat

in ./include/bits/sysnum.h

By modifing the same modification in the rc2, it compiles(....), BUT the header on the file there is the WARNING :
/* WARNING!!! AUTO-GENERATED FILE!!! DO NOT EDIT!!! */

So I suppose I should not do this ...

Can you help me 

Thanks
Comment 1 Bernhard Reutner-Fischer 2011-01-28 14:52:31 UTC
What arch are you building for, which kernel-headers are you using?
Please attach your .config
Comment 2 Fred_busybox 2011-01-31 09:15:54 UTC
Created attachment 2905 [details]
config file
Comment 3 Fred_busybox 2011-01-31 09:19:09 UTC
/include/bits/sysnum.h of the uClibc directory.

Kernel header 2.6.18.7-5

in mipsel-linux
Comment 4 Fred_busybox 2011-02-02 18:44:45 UTC
Sorry, I did a errno in my sysroot path