ajs124 / ioping

Automatically exported from code.google.com/p/ioping
GNU General Public License v3.0
0 stars 0 forks source link

Does not compile on Mac OS X #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Untar 
2. Run make

What is the expected output? What do you see instead?
Program should compile

What version of the product are you using? On what operating system?
ioping-0.4 on Mac OS X 10.6.7

Please provide any additional information below.

make
cc -std=c99 -g -Wall -Wextra -pedantic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c 
-o ioping.o ioping.c
ioping.c:26:20: error: malloc.h: No such file or directory
ioping.c: In function ‘parse_device’:
ioping.c:271: warning: implicit declaration of function ‘getline’
ioping.c: In function ‘main’:
ioping.c:338: error: ‘O_DIRECT’ undeclared (first use in this function)
ioping.c:338: error: (Each undeclared identifier is reported only once
ioping.c:338: error: for each function it appears in.)
ioping.c:355: error: ‘BLKGETSIZE64’ undeclared (first use in this function)
ioping.c:375: warning: implicit declaration of function ‘memalign’
ioping.c:375: warning: assignment makes pointer from integer without a cast
ioping.c:413: warning: implicit declaration of function ‘posix_fadvise’
ioping.c:413: error: ‘POSIX_FADV_RANDOM’ undeclared (first use in this 
function)
ioping.c:442: error: ‘POSIX_FADV_DONTNEED’ undeclared (first use in this 
function)
make: *** [ioping.o] Error 1

Original issue reported on code.google.com by ernestoo...@gmail.com on 6 Jun 2011 at 4:05

GoogleCodeExporter commented 9 years ago
try current svn head

Original comment by koct9i on 9 Jun 2011 at 12:01

GoogleCodeExporter commented 9 years ago
Thanks koct9i, compiled and works on Mac from svn head!

Original comment by ernestoo...@gmail.com on 11 Jun 2011 at 9:47

GoogleCodeExporter commented 9 years ago
ok then

Original comment by koct9i on 13 Jun 2011 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by koct9i on 28 Feb 2013 at 7:53