Re: OpenVZ on PPC? [message #13030 is a reply to message #12962] |
Thu, 17 May 2007 20:28   |
mbaranczak
Messages: 6 Registered: May 2007
|
Junior Member |
|
|
I think I fixed it...
I found this thread, which talks about a similar problem:
http://www.ussg.iu.edu/hypermail/linux/kernel/0003.1/0565.ht ml
This would explain why it worked on 64-bit but not 32-bit: the 64-bit architecture can compare 64-bit integers natively, but on 32 bit, GCC needs to use a library function in libgcc.
I made the following change to fs/vzdq_file.c:
467c467
< switch ((long) n) {
---
> switch (n) {
I got it to build successfully, now I just have to get that bad boy installed and running... I'll let you know how it goes.
-- Mike Baranczak --
|
|
|