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

Re: [libvirt] storage_conf.c: In function 'virStorageSize'



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



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