Error During Make - undefined reference #11890
Comments
Hello @elofgren - Have you installed OpenCV? |
Yes, via |
Just attempted to reinstall OpenCV following this guide: https://gist.github.com/dnordgren/665af430064cdbaa9a31 The error that followed:
This seems like it's pretty clearly an OpenCV problem? |
Yes it looks like your OpenCV installation and for MXNet to find it is having issue. Can you try commands here - https://github.com/apache/incubator-mxnet/blob/master/setup-utils/install-mxnet-amz-linux.sh#L48 |
Same general error, with and without setting the path in the line below that highlighted section of the script. I didn't see any errors in the OpenCV installation itself.
|
@elofgren Hello, I met the same error, have you solved the problem? |
Nope. General consensus is it's an OpenCV problem, but I've made no headway since. |
I just found the solution. I replaced the "CV_LOAD_IMAGE_COLOR" with "cv::IMREAD_COLOR", and other symbols should should remove the CV_ prefix, such as "CV_INTER_LINEAR" to "cv::INTER_LINEAR" |
@liangxi627 - can you please give more details? Is it due to version mis-match of OpenCV? |
Great. It is openCV version that caused the issue. Thanks for sharing the links. |
Trying to install the mxnet library on Scientific Linux 7. I've changed the flag in mshadow/make/mshadow.mk to use -lsatlas.
This has allowed the installation to progress considerably further, but it still ends with a 1 exit status. The error I'm getting now is below:
Any idea what's generating this, or how to fix it?
Below are the results of diagnose.py, for reference:
----------Python Info----------
('Version :', '2.7.15')
('Compiler :', 'GCC 7.2.0')
('Build :', ('default', 'May 1 2018 23:32:55'))
('Arch :', ('64bit', ''))
------------Pip Info-----------
('Version :', '10.0.1')
('Directory :', '/home/user/anaconda2/lib/python2.7/site-packages/pip')
----------MXNet Info-----------
No MXNet installed.
----------System Info----------
('Platform :', 'Linux-3.10.0-862.6.3.el7.x86_64-x86_64-with-redhat-7.4-Nitrogen')
('system :', 'Linux')
('node :', 'thisisnottherealname.wsu.edu')
('release :', '3.10.0-862.6.3.el7.x86_64')
('version :', '#1 SMP Tue Jun 26 12:13:22 CDT 2018')
----------Hardware Info----------
('machine :', 'x86_64')
('processor :', 'x86_64')
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 63
Model name: Intel(R) Core(TM) i7-5960X CPU @ 3.00GHz
Stepping: 2
CPU MHz: 1385.009
CPU max MHz: 3300.0000
CPU min MHz: 1200.0000
BogoMIPS: 7496.74
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 20480K
NUMA node0 CPU(s): 0-15
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb intel_ppin ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc dtherm ida arat pln pts spec_ctrl intel_stibp
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0032 sec, LOAD: 0.5423 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0234 sec, LOAD: 0.6100 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.1200 sec, LOAD: 0.2219 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0230 sec, LOAD: 0.6329 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.1685 sec, LOAD: 0.3532 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 1.2911 sec, LOAD: 1.1775 sec.
The text was updated successfully, but these errors were encountered: