[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] libguestfs on OSX



On 10/23/2010 07:40 AM, Richard W.M. Jones wrote:
> On Sat, Oct 23, 2010 at 07:19:43AM +1100, Justin Clift wrote:
>> On 10/23/2010 07:15 AM, Richard W.M. Jones wrote:
>>> On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote:
>>>>> 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);
>>>>
<snip>
>> Hmmmm.  Want to cut-n-paste your simple test program here?  I'll give
>> it a whirl here, to see if the problem is this system or the test
>> program? :)
> 
> This is what I was testing:
> 
> http://www.annexia.org/tmp/project-1.0.tar.gz

Heh, it worked on the system that barfed on hivex.

************************************************************************
<snip>
make  all-recursive
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT dummy.o -MD -MP
-MF .deps/dummy.Tpo -c -o dummy.o dummy.c
mv -f .deps/dummy.Tpo .deps/dummy.Po
rm -f libgnu.a
ar cru libgnu.a dummy.o
/usr/bin/ranlib: file: libgnu.a(dummy.o) has no symbols
ranlib libgnu.a
ranlib: file: libgnu.a(dummy.o) has no symbols
ranlib: warning for library: libgnu.a the table of contents is empty (no
object file members in the library define global symbols)
gcc -std=gnu99 -DHAVE_CONFIG_H -I.     -g -O2 -MT test.o -MD -MP -MF
.deps/test.Tpo -c -o test.o test.c
mv -f .deps/test.Tpo .deps/test.Po
gcc -std=gnu99  -g -O2   -o test test.o
$ ./test
1
$
************************************************************************

Looks like there's something in the hivex code (or the example code),
which is changing behaviour? :/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]