On Friday 21 November 2008 13:22, Tobias Poschwatta wrote: > On Fri, Nov 21, 2008 at 11:59:31AM +0100, Tobias Poschwatta wrote: > > On Thu, Nov 20, 2008 at 11:20:05PM +0100, Denys Vlasenko wrote: > > > Please, if something broke, yell at me (and mail your .config). > > > > It broke ioperm.c on my ARM. Uncommenting the hidden_proto seems to > > fix it again. Config attached. > > Thanks. Commit r24112 fixed it. > > I have another problem with getopt, but I'm not sure if that's > related: > > ++ make utils > CC utils/readelf > STRIP -x -R .note -R .comment ../utils/readelf > CC utils/ldconfig > ../utils/ldconfig.c: In function 'is_shlib': > ../utils/ldconfig.c:287: warning: pointer targets in passing argument 1 of > 'strncmp' differ in signedness > /tmp/ccL7y67C.o: In function `main': > ldconfig.c:(.text+0x21b8): undefined reference to `getopt' > collect2: ld returned 1 exit status > make[1]: *** [../utils/ldconfig] Error 1 > make: *** [utils] Error 2 > > Same config.
Try attached patch. -- vda
diff -d -urpN uClibc.0/libc/unistd/getopt.c uClibc.1/libc/unistd/getopt.c --- uClibc.0/libc/unistd/getopt.c 2008-11-21 09:11:59.000000000 +0100 +++ uClibc.1/libc/unistd/getopt.c 2008-11-22 02:05:54.000000000 +0100 @@ -1180,6 +1180,7 @@ getopt (int argc, char *const *argv, con (int *) 0, 0); } +libc_hidden_def(getopt) int getopt_long (int argc, char *const *argv, const char *options,
_______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
