Closed mingodad closed 9 years ago
Hi, unfortunately I do not have a suitable environment to try compiling ULib on OS X and I am aware of the problem of sendfile ... http://stackoverflow.com/questions/8252698/sys-sendfile-h-not-found-gcc I do not know how to deal with it, it takes time and work closely with someone who has this kind of environment...
Cheers !
EDIT: I make some change to incorporate the different semantic of sendfile for OS X, if someone can test it I will much appreciate...
2015-05-16 21:25 GMT+02:00 Domingo Alvarez Duarte notifications@github.com :
Hello !
I was trying to test ULIB on OS X and after a half success with "configure" I've got this error:
In file included from all_c.c:77: In file included from ./replace/sendfile.c:7: /usr/include/sys/socket.h:585:5: error: conflicting types for 'sendfile' int sendfile(int, int, off_t, offt , struct sf_hdtr *, int); ^ ../../include/ulib/base/replace/replace.h:31:9: note: previous declaration is here ssize_t sendfile(int out_fd, int in_fd, offt poffset, size_t count); ^ 79 warnings and 1 error generated. make[1]: * [all_c.lo] Error 1 make: * [all-recursive] Error 1
— Reply to this email directly or view it on GitHub https://github.com/stefanocasazza/ULib/issues/8.
Hello !
I was trying to test ULIB on OS X and after a half success with "configure" I've got this error: