Bug 3163 - __GI_utimensat error of compilation/link on 0.9.32.rc2
Summary: __GI_utimensat error of compilation/link on 0.9.32.rc2
Status: RESOLVED INVALID
Alias: None
Product: uClibc
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 blocker
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 13:31 UTC by Fred_busybox
Modified: 2011-02-02 18:44 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
config file (6.33 KB, application/octet-stream)
2011-01-31 09:15 UTC, Fred_busybox
Details

Note You need to log in before you can comment on or make changes to this bug.
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