Cannot compile latest git version (as of Sep 21) on Fedora 9 and 11

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

 



Hi Tomo,

I have been away for a while, but I just downloaded the latest git
version and tried to compile it,

It didn't work:

[root@sunny usr]# make ISCSI=1
cc -c -DUSE_SIGNALFD -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall
-Wstrict-prototypes -fPIC -DTGT_VERSION=\"0.9.8-git-df9d565\"
iscsi/conn.c -o iscsi/conn.o
In file included from /usr/include/asm/fcntl.h:2,
                 from /usr/include/linux/fcntl.h:5,
                 from /usr/include/linux/signalfd.h:14,
                 from ./util.h:123,
                 from iscsi/conn.c:30:
/usr/include/asm-generic/fcntl.h:117: error: redefinition of ‘struct flock’
In file included from /usr/include/asm/fcntl.h:2,
                 from /usr/include/linux/fcntl.h:5,
                 from /usr/include/linux/signalfd.h:14,
                 from ./util.h:123,
                 from iscsi/conn.c:30:
/usr/include/asm-generic/fcntl.h:140: error: redefinition of ‘struct flock64’

I am using it under Fedora 9 (latest kernel for that version) and
Fedora 11 (kernel 2.6.29.6-217.2.16.fc11.i586).

Hopefully it is an easy fix?

Albert
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux