kaiyuyue opened a new issue #8615: the link problem of libmxnet.so URL: https://github.com/apache/incubator-mxnet/issues/8615 Dear all, This may be wired. I put the cuda, cudnn and other dependencies in a folder together. At the same time, I change their specific CLFAGS and LDFLAGS path in the Makefile. I can compile mxnet successfully. But when I do the command `ld libmxnet.so`, it shows that `undefined reference` like this: ``` ld: warning: libmklml_intel.so, needed by libmxnet.so, not found (try using -rpath or -rpath-link) ld: warning: cannot find entry symbol _start; not setting start address libmxnet.so: undefined reference to `cudnnSetLRNDescriptor' libmxnet.so: undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)' libmxnet.so: undefined reference to `caffe::LayerParameter::LayerParameter()' libmxnet.so: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' libmxnet.so: undefined reference to `cudnnGetConvolutionBackwardDataWorkspaceSize' libmxnet.so: undefined reference to `google::base::CheckOpMessageBuilder::ForVar2()' libmxnet.so: undefined reference to `cudnnSetFilter4dDescriptor' libmxnet.so: undefined reference to `cv::Mat::copySize(cv::Mat const&)' libmxnet.so: undefined reference to `cudnnGetConvolutionForwardAlgorithm' libmxnet.so: undefined reference to `google::base::CheckOpMessageBuilder::CheckOpMessageBuilder(char const*)' libmxnet.so: undefined reference to `cudnnGetConvolutionBackwardFilterWorkspaceSize' libmxnet.so: undefined reference to `cudnnCreateConvolutionDescriptor' libmxnet.so: undefined reference to `cudnnDestroyConvolutionDescriptor' libmxnet.so: undefined reference to `cudnnSetTensorNdDescriptor' libmxnet.so: undefined reference to `cuLaunchKernel' libmxnet.so: undefined reference to `cudnnSetFilterNdDescriptor' libmxnet.so: undefined reference to `cudnnSoftmaxBackward' libmxnet.so: undefined reference to `caffe::LayerParameter::CopyFrom(caffe::LayerParameter const&)' libmxnet.so: undefined reference to `google::protobuf::TextFormat::PrintToString(google::protobuf::Message const&, std::string*)' ... ``` mxnet cannot work well. How to solve this? Really really thanks.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services