svn commit: trunk/uClibc/libc: sysdeps/linux/common unistd

Peter Kjellerstedt peter.kjellerstedt at axis.com
Tue May 30 09:23:24 UTC 2006


I did not see this mail before I stumbled upon the problem
myself.  I have commit a fix for this (15229).

//Peter

> -----Original Message-----
> From: uclibc-bounces at uclibc.org 
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Peter S. Mazinger
> Sent: Saturday, May 27, 2006 05:07
> To: uclibc at uclibc.org
> Subject: Re: svn commit: trunk/uClibc/libc: 
> sysdeps/linux/common unistd
> 
> On Thu, 25 May 2006 vapier at uclibc.org wrote:
> 
> > Author: vapier
> > Date: 2006-05-25 19:01:29 -0700 (Thu, 25 May 2006)
> > New Revision: 15179
> > 
> > Log:
> > Amir Shalem writes:
> > there are missing prototypes for chown() and execle() in 
> uClibc-snapshot.
> > I'm attaching a patch to add the missing prototypes.
> > 
> > the error I'm getting without the patch:
> >       AR cr libc/libc_so.a
> >       LD libuClibc-0.9.28.so
> >     libc/libc_so.a(grantpt.os): In function `__unix_grantpt':
> >     grantpt.c:(.text+0x108): undefined reference to `__GI_chown'
> >     grantpt.c:(.text+0x1ae): undefined reference to `__GI_execle'
> > 
> > 
> > Modified:
> >    trunk/uClibc/libc/sysdeps/linux/common/chown.c
> >    trunk/uClibc/libc/unistd/exec.c
> 
> Missing libc_hidden_def pair
> 
> Peter
> > 
> > 
> > Changeset:
> > Modified: trunk/uClibc/libc/sysdeps/linux/common/chown.c
> > ===================================================================
> > --- trunk/uClibc/libc/sysdeps/linux/common/chown.c	
> 2006-05-26 01:56:42 UTC (rev 15178)
> > +++ trunk/uClibc/libc/sysdeps/linux/common/chown.c	
> 2006-05-26 02:01:29 UTC (rev 15179)
> > @@ -10,6 +10,8 @@
> >  #include "syscalls.h"
> >  #include <unistd.h>
> >  
> > +libc_hidden_proto(chown)
> > +
> >  #define __NR___syscall_chown __NR_chown
> >  static inline _syscall3(int, __syscall_chown, const char *, path,
> >  		__kernel_uid_t, owner, __kernel_gid_t, group);
> > 
> > Modified: trunk/uClibc/libc/unistd/exec.c
> > ===================================================================
> > --- trunk/uClibc/libc/unistd/exec.c	2006-05-26 01:56:42 UTC 
> (rev 15178)
> > +++ trunk/uClibc/libc/unistd/exec.c	2006-05-26 02:01:29 UTC 
> (rev 15179)
> > @@ -40,6 +40,7 @@
> >  #include <sys/mman.h>
> >  
> >  libc_hidden_proto(execl)
> > +libc_hidden_proto(execle)
> >  libc_hidden_proto(execvp)
> >  
> >  libc_hidden_proto(memcpy)
> > 
> > _______________________________________________
> > uClibc-cvs mailing list
> > uClibc-cvs at uclibc.org
> > http://busybox.net/cgi-bin/mailman/listinfo/uclibc-cvs
> > 
> > 
> 
> -- 
> Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> 



More information about the uClibc mailing list