[BUG] missing prototypes for chown and execle

Amir Shalem amir at boom.org.il
Fri May 19 12:21:59 UTC 2006


hey


there are missing prototypes for chown() and execle() in uClibc-snapshot

I'm attaching a patch to add the missing prototypes

and the .config file I have used to compile uClibc


I have cross-compiled uClibc to x86 using binutils 2.16.1, gcc 4.1.0, 
linux 2.6.16.16 headers, and uClibc 2006.05.05 snapshot.


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'
    make[1]: *** [lib/libc.so] Error 1
    make: *** [lib/libc.so.0] Error 2


Amir.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: missing-prototypes.diff
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20060519/f2faf663/attachment.diff 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20060519/f2faf663/attachment-0001.diff 


More information about the uClibc mailing list