Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Error when running "/rcnn/script/additional_deps.sh" #8694

@YeWenting

Description

@YeWenting

Description

I tried to run "/example/rcnn/script/additional_deps.sh". However I get the following error:

/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libcblas.so: undefined reference to ATL_zger2u' /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libcblas.so: undefined reference to ATL_cger2u'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libcblas.so: undefined reference to ATL_zger2c' /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libcblas.so: undefined reference to ATL_cger2c'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libcblas.so: undefined reference to ATL_dger2' /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libcblas.so: undefined reference to ATL_sger2'
collect2: error: ld returned 1 exit status
Makefile:406: recipe for target 'bin/im2rec' failed
make: *** [bin/im2rec] Error 1
~/repos/mxnet/python ~/repos/mxnet ~/repos/mxnet/example/rcnn

...

Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for mxnet==0.12.1
~/repos/mxnet ~/repos/mxnet/example/rcnn
~/repos/mxnet/example/rcnn
im making cython
cd rcnn/cython/; python setup.py build_ext --inplace; rm -rf build; cd ../../
running build_ext
skipping 'bbox.c' Cython extension (up-to-date)
skipping 'cpu_nms.c' Cython extension (up-to-date)
skipping 'gpu_nms.cpp' Cython extension (up-to-date)
cd rcnn/pycocotools/; python setup.py build_ext --inplace; rm -rf build; cd ../../
Compiling _mask.pyx because it changed.
Cythonizing _mask.pyx

Error compiling Cython file:

...
siz h,
siz w,
siz m,
uint* cnts,
void rlesInit( RLE **R, siz n )
void rleEncode( RLE *R, const byte *M, siz h, siz w, siz n )
^

_mask.pyx:42:39: Expected ')', found '*'
Traceback (most recent call last):
File "setup.py", line 36, in
ext_modules=cythonize(ext_modules)
File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 667, in cythonize
cythonize_one(*args[1:])
File "/opt/tiger/ss_lib/python_package/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 731, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: _mask.pyx

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions