Re: make test fails (Kernel 2.6.12.3)
Robert Scussel <[email protected]>
| Newsgroups | gmane.linux.enbd.general |
|---|---|
| Organization | OmniTI, Inc. |
| Message-ID | <[email protected]> |
Peter T. Breuer wrote: > "Also sprach Robert Scussel:" > >>I have the same code in mine: > > > Please quote when you refer back. I think you are referencing this > error Sorry. > Them please explain your compiler report. As you can see, args 3 and 4 > are long long. > > Well? I would conclude that you are not compiling the code you think > you are compiling! As some of the mistakes I have made have been as stupid, I did a fresh untar of the source, and did a make LINUXDIR=/usr/src/linux-2.6.12.3 and I get the same error for lock.c: /root/nbd-2.4.32/nbd/lock.c: In function `enbd_lock_down_timeout': /root/nbd-2.4.32/nbd/lock.c:108: warning: long long int format, long int arg (arg 4) As a side note I noticed that the configure is seeing: checking size of long int... 8 checking for long long int... yes checking size of long long int... 8 so my guess is the problem is with GCC somewhere. > If you mean that I asked you what the args to ioctl calls were on your > arch, I think I commented that I expected char *, but that it doesn't > matter since you are probably using either long or an address. Anyway, > you should look at your man page and tell me! I misunderstood the question. From man ioctl int ioctl(int d, int request, ...); Thanks, B -- Robert Scussel 1024D/BAF70959/0036 B19E 86CE 181D 0912 5FCC 92D8 1EA1 BAF7 0959