- Subject: fio Makefile bug
- From: Mike Miller <mike.miller@xxxxxx>
- Date: Thu, 17 Feb 2011 14:16:36 -0600
- User-agent: Mutt/1.4.2.2i
I ran across this when trying to run make on fio v1.50.
spike:/tmp/fio-1.50 # make
Makefile:25: Extraneous text after `else' directive
Makefile:30: Extraneous text after `else' directive
Makefile:30: *** only one `else' per conditional. Stop.
OS info:
spike:/tmp/fio-1.50 # cat /etc/issue
Welcome to SUSE Linux Enterprise Server 10 SP4 RC2 (x86_64) - Kernel \r
(\l).
spike:/tmp/fio-1.50 # uname -a
Linux spike 2.6.16.60-0.81.1-smp #1 SMP Tue Feb 8 06:02:54 UTC 2011 x86_64
x86_64 x86_64 GNU/Linux
The offendinding lines:
else ifeq ($(UNAME), SunOS)
SOURCE += fifo.c lib/strsep.c helpers.c solaris.c engines/posixaio.c \
engines/solarisaio.c
LIBS += -lpthread -ldl -laio -lrt -lnsl -lsocket
CPPFLAGS += -D__EXTENSIONS__
else ifeq ($(UNAME), FreeBSD)
SOURCE += helpers.c engines/posixaio.c
LIBS += -lpthread -lrt
CFLAGS += -rdynamic
else ifeq ($(UNAME), NetBSD)
SOURCE += helpers.c engines/posixaio.c
LIBS += -lpthread -lrt
CFLAGS += -rdynamic
else ifeq ($(UNAME), AIX)
SOURCE += fifo.c helpers.c lib/getopt_long.c engines/posixaio.c
LIBS += -lpthread -ldl -lrt
CFLAGS += -rdynamic
CPPFLAGS += -D_LARGE_FILES -D__ppc__
else ifeq ($(UNAME), Darwin)
SOURCE += helpers.c engines/posixaio.c
LIBS += -lpthread -ldl
else ifneq (,$(findstring CYGWIN,$(UNAME)))
SOURCE += engines/windowsaio.c
LIBS += -lpthread -lrt
To workaround it I simply deleted those lines.
-- mikem
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux SCSI]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]