[virt-tools-list] libguestfs on OSX

Richard W.M. Jones rjones at redhat.com
Fri Oct 22 19:06:35 UTC 2010


On Sat, Oct 23, 2010 at 05:44:54AM +1100, Justin Clift wrote:
> ****************************************************
> #define    ENOKEY        126
> ****************************************************

This isn't going to be much help unfortunately.  We need a standard
errno which will be available to users and is distinct from any other
value we could possibly return.  Difficult one ...

> hivexsh.c: In function 'set_prompt_string':
> hivexsh.c:231: warning: implicit declaration of function 'open_memstream'
> hivexsh.c:231: warning: assignment makes pointer from integer without a cast

I'm guessing that gnulib can help us with this one (it's a glibc
function).

> hivexsh.c: In function 'cleanup_readline':
> hivexsh.c:355: warning: implicit declaration of function 'append_history'

This is a missing part of readline / older version of readline.  We
should probably make the code deal with this.

> hivexsh.c: In function 'cmd_lsval':
> hivexsh.c:697: warning: format '%lli' expects type 'long long int', but
> argument 2 has type 'gl_int64_t'

Looks for all the world like a bug in Mac OS X:

 695     case hive_t_qword: {
 696       int64_t j = hivex_value_qword (h, value);
 697       printf ("%" PRIi64 "\n", j);
 698       break;
 699     }

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the virt-tools-list mailing list