Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error in ver 1.6.12-beta #50

Closed
SyuTingSong opened this issue Apr 8, 2014 · 1 comment
Closed

compile error in ver 1.6.12-beta #50

SyuTingSong opened this issue Apr 8, 2014 · 1 comment

Comments

@SyuTingSong
Copy link

cc -I. -I/Users/rek/git/github/swoole -DPHP_ATOM_INC -I/Users/rek/git/github/swoole/include -I/Users/rek/git/github/swoole/main -I/Users/rek/git/github/swoole -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/include -I/Users/rek/git/github/swoole/include -DHAVE_CONFIG_H -Wall -g -O2 -std=gnu89 -c /Users/rek/git/github/swoole/src/os/sendfile.c  -fno-common -DPIC -o src/os/.libs/sendfile.o
/Users/rek/git/github/swoole/src/os/sendfile.c:29:63: error: too many arguments
      to function call, expected 6, have 7
        ret = sendfile(in_fd, out_fd, *offset, size, 0, &sent_bytes, 0);
              ~~~~~~~~                                               ^
/usr/include/sys/socket.h:580:1: note: 'sendfile' declared here
int     sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int);
^
1 error generated.
@matyhtf
Copy link
Member

matyhtf commented Apr 10, 2014

Fixed. 3e78951

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants