Gavin Martin <gavin_martin@xxxxxxxxxxx> wrote: >Hi Jens, > >I grabbed the 2.0.15 when it came out and it configured and compiled >fine, but the latest one from today (12/04) displays errors when >trying to configure. > >I'm not doing anything different to what I was doing for the previous >builds. Just running ./configure, below is the output from >config.log; > ># FIO configure log Fri Apr 12 08:25:30 BST 2013 ># Configured with: './configure' ># >gcc -D_GNU_SOURCE -include config-host.h -c -o >/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c >/tmp/fio-conf-27676-20722-14401.c:2:2: error: #error __ANDROID__ not >defined >gcc -D_GNU_SOURCE -include config-host.h -c -o >/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c >gcc -D_GNU_SOURCE -include config-host.h -c -o >/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c >/tmp/fio-conf-27676-20722-14401.c:2:2: error: #error __i386__ not >defined >gcc -D_GNU_SOURCE -include config-host.h -c -o >/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c >Compiling test case cross >gcc -D_GNU_SOURCE -include config-host.h -o >/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c >Compiling test case endian >gcc -D_GNU_SOURCE -include config-host.h -o >/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c >Compiling test case wordsize >gcc -D_GNU_SOURCE -include config-host.h -DWORDSIZE=32 -o >/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c >/tmp/fio-conf-27676-20722-14401.c: In function âmainâ: >/tmp/fio-conf-27676-20722-14401.c:5: error: size of array âtype nameâ >is negative >Compiling test case wordsize >gcc -D_GNU_SOURCE -include config-host.h -DWORDSIZE=64 -o >/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c >Compiling test case zlib >gcc -D_GNU_SOURCE -include config-host.h -o >/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c >-lz >/tmp/fio-conf-27676-20722-14401.c:1:18: error: zlib.h: No such file or >directory >/tmp/fio-conf-27676-20722-14401.c: In function âmainâ: >/tmp/fio-conf-27676-20722-14401.c:4: error: âz_streamâ undeclared >(first use in this function) >/tmp/fio-conf-27676-20722-14401.c:4: error: (Each undeclared >identifier is reported only once >/tmp/fio-conf-27676-20722-14401.c:4: error: for each function it >appears in.) >/tmp/fio-conf-27676-20722-14401.c:4: error: expected â;â before >âstreamâ >/tmp/fio-conf-27676-20722-14401.c:5: error: âstreamâ undeclared (first >use in this function) >/tmp/fio-conf-27676-20722-14401.c:5: error: âZ_OKâ undeclared (first >use in this function) > >This is on a SLES11 SP1 x86_64 machine, I don't know enough to see if >I am doing something wrong, but it has worked on previous builds. > >Thanks, >Gavin Gavin, I have commit rights to the opensuse fio package in the benchmark repo. V2.0.15 is already there. There should be a sles rpm you can just install. Do the fio builds from the opensuse benchmark repo not work for you? Why are you self compiling? Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- 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