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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
