Hello all,

Hopefully somebody can help me. I am trying to get tiobench installed so I can run the complete disk suite.

the .phoronix-test-suite/installed-tests/pts/tiobench-1.1.0/install-failed.log has the following errors

gcc -c -O2 -Wall tiotest.c -o tiotest.o
gcc -c -O2 -Wall crc32.c -o crc32.o
tiotest.c:34:15: error: conflicting types for 'aligned_alloc'
In file included from tiotest.h:36:0,
from tiotest.c:23:
/usr/include/stdlib.h:513:14: note: previous declaration of 'aligned_alloc' was here
tiotest.c: In function 'cleanup_test':
tiotest.c:386:3: warning: pointer targets in passing argument 1 of 'aligned_free' differ in signedness [-Wpointer-sign]
tiotest.c:44:12: note: expected 'caddr_t' but argument is of type 'unsigned char *'
tiotest.c: In function 'report_random_write_error':
tiotest.c:890:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' [-Wformat]
tiotest.c: In function 'report_read_error':
tiotest.c:904:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t' [-Wformat]
tiotest.c: In function 'do_write_test':
tiotest.c:912:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
tiotest.c: In function 'do_random_write_test':
tiotest.c:1018:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
tiotest.c: In function 'do_read_test':
tiotest.c:1111:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
tiotest.c: In function 'do_random_read_test':
tiotest.c:1218:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
make: *** [tiotest.o] Error 1

gcc --version
gcc (GCC) 4.7.1 20120721 (prerelease)


Any ideas please?