hi,

thank Atsushi SAKAI i has fixed the problem with your recomendations, but now it is happened the following

libvirt_proxy.c: En la función `main':
libvirt_proxy.c:844: aviso: implicit declaration of function `fprintf'
libvirt_proxy.c:844: error: `stderr' undeclared (first use in this function)
libvirt_proxy.c:844: error: (Each undeclared identifier is reported only once
libvirt_proxy.c:844: error: for each function it appears in.)
libvirt_proxy.c:845: aviso: implicit declaration of function `exit'


About this i don't see nothing in the mail list. I hope that you can help me.

thank by advance
revartj



2008/7/4 Jaime Traver <revartj@gmail.com>:
I has done the folllowing changes:

i has modified the file /usr/src/linux-headers-2.6.18-6-xen-686/include/linux/limits.h, add

#define ULLONG_MAX      18446744073709551615ULL

and also i has saw that file /home/revartj/libvirt/libvirt-0.4.4/src/internal.h  have the include of limits.h.

And the result is that it continue playing the same errors.

thank you by the help and excuse me my bad english

if you don't understand somethings, then ask me.


2008/7/4 Jaime Traver <revartj@gmail.com>:

I am using i686

2.6.18-6-xen-686 #1 SMP Sat May 24 14:16:03 UTC 2008 i686 GNU/Linux

I will try now modify de limits.h and comment you.

thanks

2008/7/4 Atsushi SAKAI <sakaia@jp.fujitsu.com>:

Hi,

ULLONG_MAX should be defined on limits.h.
and its limits.h is includes on src/internal.h.
Please check these files.

By the way, you are using i486?.


Thanks
Atsushi SAKAI


"Jaime Traver" <revartj@gmail.com> wrote:

> Hi, I am having problem with compilation of libvirt, i has saw one post
> about this in the maillist, but it don't resolved the problem. The detail of
> erros is:
>
> storage_conf.c: In function 'virStorageSize':
> storage_conf.c:627: error: 'ULLONG_MAX' undeclared (first use in this
> function)
> storage_conf.c:627: error: (Each undeclared identifier is reported only once
> storage_conf.c:627: error: for each function it appears in.)
> make[2]: *** [libvirt_la-storage_conf.lo] Error 1
> make[2]: se sale del directorio `/home/revartj/libvirt/libvirt-0.4.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: se sale del directorio `/home/revartj/libvirt/libvirt-0.4.4'
> make: *** [all] Error 2
>
>
> Any information about SO:
>
> EREBO:/home/revartj/libvirt/libvirt-0.4.4# *uname -a*
> Linux EREBO 2.6.18-6-xen-686 #1 SMP Sat May 24 14:16:03 UTC 2008 i686
> GNU/Linux
>
> EREBO:/home/revartj/libvirt/libvirt-0.4.4# *gcc -v*
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
> --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-mpfr --with-tune=i686
> --enable-checking=release i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
>
> Someboy know how i can resolved this error.
>
> Thank everybody by advance.
>
> revartj