PengleiShi opened a new issue, #6662:
URL: https://github.com/apache/incubator-gluten/issues/6662

   ### Problem description
   
   centos7
   log:
   ```
   /tmp/velox-deps/folly/folly/io/async/AsyncSocket.cpp:216:7: error: 
'scm_timestamping' does not name a type; did you mean 'SN_ad_timeStamping'?
     216 | const scm_timestamping* FOLLY_NULLABLE
         |       ^~~~~~~~~~~~~~~~
         |       SN_ad_timeStamping
   /tmp/velox-deps/folly/folly/io/async/AsyncSocket.cpp: In member function 
'folly::Optional<folly::AsyncSocketObserverInterface::ByteEvent> 
folly::AsyncSocket::ByteEventHelper::processCmsg(const cmsghdr&, size_t)':
   /tmp/velox-deps/folly/folly/io/async/AsyncSocket.cpp:515:27: error: 
'cmsgToScmTimestamping' was not declared in this scope
     515 |   } else if (auto scmTs = cmsgToScmTimestamping(cmsg)) {
         |                           ^~~~~~~~~~~~~~~~~~~~~
   [235/330] Building CXX object 
CMakeFiles/folly_base.dir/folly/json/JSONSchema.cpp.o
   ninja: build stopped: subcommand failed.
   + echo 'build failed'
   build failed
   + exit 1
   ```
   
   There is a similar issue 
https://github.com/facebookincubator/velox/issues/7714 . 
    And i edited ep/build-velox/src/setup-centos7.sh 
   ```
   cmake_install folly -DBUILD_TESTS=OFF -DFOLLY_HAVE_INT128_T=ON 
-DCMAKE_CXX_FLAGS='FOLLY_HAVE_SO_TIMESTAMPING'
   ```
   But it did not work.
   
   ### System information
   
   ./dev/buildbundle-veloxbe.sh
   
   ### CMake log
   
   _No response_


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to