On Tue, May 13, 2014 at 06:13:54PM +0200, Olaf Hering wrote: > On Tue, May 13, Richard W.M. Jones wrote: > > > That could obviously have caused this warning, but only if you're > > using a version of Perl that doesn't have newSVpvn_utf8. If you don't > > have that, then we'll need to add an #ifdef. > > perl 5.10.0 as included in sle11 does not have newSVpvn_utf8, 5.12.3 as > included in openSUSE 11.4 has it.
I'm able to reproduce this using an even older version of Perl (5.8.8 from RHEL 5). This patch fixes it for me: https://github.com/libguestfs/hivex/commit/f1cce9ce4d1c3882c639f1dcb218acd810606930 Rich. > > I don't understand the rest of the warnings. Could you attach the > > 'perl/Hivex.c' file from the build? I'll take a look to see if it's > > different from the Fedora one. > > I have it attached. > > cmdline is > cc -c -I../lib -I../lib -D_REENTRANT -D_GNU_SOURCE > -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmessage-length=0 -O2 -Wall > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables > -fasynchronous-unwind-tables -g -fmessage-length=0 -O2 -Wall > -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables > -fasynchronous-unwind-tables -g -Wall -pipe -DVERSION=\"1.3.10\" > -DXS_VERSION=\"1.3.10\" -fPIC > "-I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE" Hivex.c > > Olaf -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
