[stgt] Cannot compile latest git version (as of Sep 21) on Fedora 9 and 11
Albert Pauw
albert.pauw at gmail.com
Mon Sep 21 13:51:28 CEST 2009
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 at 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 at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list