You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/08/07 12:00:26 UTC

[GitHub] [incubator-doris] lenmom opened a new pull request #1602: include header file for ‘preadv' which caused break build on ubuntu 18.04

lenmom opened a new pull request #1602: include header file for ‘preadv'  which caused break build on ubuntu 18.04
URL: https://github.com/apache/incubator-doris/pull/1602
 
 
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:99:27: error: ‘preadv’ was not declared in this scope
            RETRY_ON_EINTR(r, preadv(fd, iov + completed_iov, iov_count, cur_offset));
                              ^
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
      (err) = (expr); \
               ^~~~
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:99:27: note: suggested alternative: ‘pread’
            RETRY_ON_EINTR(r, preadv(fd, iov + completed_iov, iov_count, cur_offset));
                              ^
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
      (err) = (expr); \
               ^~~~
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp: In function ‘doris::Status doris::do_writev_at(int, const string&, uint64_t, const doris::Slice*, size_t, size_t*)’:
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:156:27: error: ‘pwritev’ was not declared in this scope
            RETRY_ON_EINTR(w, pwritev(fd, iov + completed_iov, iov_count, cur_offset));
                              ^
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
      (err) = (expr); \
               ^~~~
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/env/env_posix.cpp:156:27: note: suggested alternative: ‘pwrite’
            RETRY_ON_EINTR(w, pwritev(fd, iov + completed_iov, iov_count, cur_offset));
                              ^
   /media/lenmom/新加卷/workspace/open-source/incubator-doris-DORIS-0.11.5-alpha/be/src/gutil/macros.h:269:12: note: in definition of macro ‘RETRY_ON_EINTR’
      (err) = (expr); \
               ^~~~
   src/env/CMakeFiles/Env.dir/build.make:62: recipe for target 'src/env/CMakeFiles/Env.dir/env_posix.cpp.o' failed
   make[2]: *** [src/env/CMakeFiles/Env.dir/env_posix.cpp.o] Error 1
   CMakeFiles/Makefile2:361: recipe for target 'src/env/CMakeFiles/Env.dir/all' failed
   make[1]: *** [src/env/CMakeFiles/Env.dir/all] Error 2
   make[1]: *** Waiting for unfinished jobs....

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org