Re: FIO 2.0.14 - getting a compile error on opensuse

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

 



On 26 March 2013 05:44, Greg Freemyer <greg.freemyer@xxxxxxxxx> wrote:
> But this is the basic error which happens on the first gcc call.
>
> [   48s] gcc -o gettime.o -std=gnu99 -Wwrite-strings -Wall
> -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2
> -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -DBITS_PER_LONG=32
> -DFIO_VERSION='"fio-2.0.14"' -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG -c
> gettime.c

Something has happened to the CFLAGS -- you're missing -D_GNU_SOURCE
which is needed for the definition of CPU_ZERO.

I can get the same behaviour with:
   make EXTFLAGS=
but then I got confused looking at the Makefile. I don't understand
how that ever works, since EXTFLAGS is used before it's defined.


    -- Aaron
--
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




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux