uml_utilities-20060323 fails to build on alpha
Hello,
I hear you say "who cares?" :)
Well, such failure uncovers a small bug on 64bit arches with __u64 not defined as unsigned long long (oh, that "who cares" again :)).
cow.c: At top level:
cow.c:271: error: conflicting types for 'read_cow_header' cow.h:25: error: previous declaration of 'read_cow_header' was here
the attached patch fixes it.
Thanks
Signature · 2 lines
mattia :wq!
moo/cow.c renamed from moo/cow.c~clean +1 -1
@@ -265,7 +265,7 @@int read_cow_header (int (*reader)(__u64 ,char *,int ,void *),void *arg,__u32 *version_out,char **backing_file_out, -time_t *mtime_out,unsigned long long *size_out, +time_t *mtime_out,__u64 *size_out,int *sectorsize_out,__u32 *align_out,int *bitmap_offset_out) {
Quoted 9 lines · Mattia Dongili
Hello,
I hear you say "who cares?" :)
Well, such failure uncovers a small bug on 64bit arches with__u64not defined as unsigned long long (oh, that "who cares" again :)).
cow.c: At top level:
cow.c:271: error: conflicting types for 'read_cow_header' cow.h:25: error: previous declaration of 'read_cow_header' was here
forgot to tell: full log of the failure is available here
http://buildd.debian.org/fetch.php?&pkg=uml-utilities&ver=20060323-1&arch=alpha&stamp=1144601041&file=log&as=raw
Thanks
Signature · 13 lines
mattia :wq! ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 5 lines · Mattia Dongili
Hello,
I hear you say "who cares?" :)
Well, such failure uncovers a small bug on 64bit arches with__u64not defined as unsigned long long (oh, that "who cares" again :)).
No, you're right, good catch.
Systems using linux-libc-headers (i.e. RedHat and Fedora to my knowledge) exhibit this, and I've applied a similar patch to Uml itself for a Fedora user, but forgot it for uml_utilities. (I had "fixed" both instances of the COW code together).
Will apply the patch ASAP (at least next week) and release the resulting thing.
Quoted 7 lines
cow.c: At top level:
cow.c:271: error: conflicting types for 'read_cow_header' cow.h:25: error: previous declaration of 'read_cow_header' was herethe attached patch fixes it.
Thanks
Signature · 24 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel