On Tue, 13 Jul 2010, Tony Cook wrote: > On Tue, Jul 13, 2010 at 03:13:00AM -0400, George Greer wrote: >> sv.c: In function ‘I32 Perl_sv_cmp(SV*, SV*)’: >> sv.c:6849: error: invalid conversion from ‘const void*’ to ‘const char*’ >> sv.c:6849: error: initializing argument 1 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’ >> sv.c:6849: error: initializing argument 2 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’ >> sv.c: In function ‘I32 Perl_sv_cmp_locale(SV*, SV*)’: >> sv.c:6906: error: invalid conversion from ‘void*’ to ‘const char*’ >> sv.c:6906: error: initializing argument 1 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’ >> sv.c:6906: error: initializing argument 2 of ‘I32 Perl_my_memcmp(const char*, const char*, I32)’ > > This appears to be two problems: > > a) the prototype for the replacement Perl_my_memcmp() doesn't match > the standard C memcmp(). Presumably this matches historical > (pre-ANSI) memcmp. > > b) Configure doesn't find the available memcmp() - so why? Great, glad you had time to look at it. All I had time for was the obvious, that it broke after a Ubuntu glibc update. You may want to perlbug it as a collector. -- George GreerThread Previous