← Back to team overview

firtree team mailing list archive

[Bug 548955] Re: unable start tests or pipeline editor because of "undefined symbol: ffi_type_sint16" at libfirtree-engine-cpu.so.0.2

 

** Attachment added: "list of installed packages"
   http://launchpadlibrarian.net/42070142/pkg-list.txt

-- 
unable start tests or pipeline editor because of "undefined symbol: ffi_type_sint16" at libfirtree-engine-cpu.so.0.2
https://bugs.launchpad.net/bugs/548955
You received this bug notification because you are a member of Firtree
development team, which is subscribed to Firtree.

Status in Firtree: A generic image processing framework: New

Bug description:
I'm on up-to-date Debian Squeeze(i386). I have next trouble

0/firtree-0.2.1> cmake CMakeLists.txt 
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for modules 'glib-2.0;gobject-2.0;gdk-pixbuf-2.0'
--   found glib-2.0, version 2.22.4
--   found gobject-2.0, version 2.22.4
--   found gdk-pixbuf-2.0, version 2.18.6
-- Generating grammar from Styx source firtree.sty.
-- checking for module 'cairo'
--   found cairo, version 1.8.10
-- checking for module 'clutter-1.0'
--   found clutter-1.0, version 1.0.8
-- Found PythonInterp: /usr/bin/python2.6
-- checking for module 'gdk-pixbuf-2.0'
--   found gdk-pixbuf-2.0, version 2.18.6
-- checking for one of the modules 'pygobject-2.0'
--   found pygobject-2.0, version 2.20.0
-- Found PythonLibs: /usr/lib/libpython2.5.so
-- checking for module 'cairo'
--   found cairo, version 1.8.10
-- checking for module 'clutter-1.0'
--   found clutter-1.0, version 1.0.8
-- checking for module 'pyclutter-1.0'
--   found pyclutter-1.0, version 1.0.0
-- checking for module 'pycairo'
--   found pycairo, version 1.8.8
-- Found Doxygen: /usr/bin/doxygen
-- latex command LATEX_COMPILER not found but usually required. You will probably get warnings and user inetraction on doxy run.
-- makeindex command MAKEINDEX_COMPILER not found but usually required.
-- dvips command DVIPS_CONVERTER not found but usually required.
-- configured /home/kp/Download/firtree-0.2.1/doc/internal/doxy.config.in --> /home/kp/Download/firtree-0.2.1/doc/internal/doxy.config
-- gtkdoc-scan not found
-- gtkdoc-scangobj not found
-- gtkdoc-mktmpl not found
-- gtkdoc-mkdb not found
-- gtkdoc-mkhtml not found
-- gtkdoc-fixxref not found
-- gtkdoc was not found, public documentation will not be built.
-- Could not find valgrind, memory testing disabled.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kp/Download/firtree-0.2.1
0/firtree-0.2.1> make
--Without troubles--
0/firtree-0.2.1> sudo make install
[  7%] Built target common
[ 16%] Built target styx-parser
[ 55%] Built target llvm-frontend
[ 81%] Built target firtree
[ 83%] Built target kernel2llvm
[ 92%] Built target firtree-engine-cpu
[100%] Built target pyfirtree
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libfirtree-core.so.0.2.1
-- Installing: /usr/local/lib/libfirtree-core.so.0.2
-- Installing: /usr/local/lib/libfirtree-core.so
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-affine-transform.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-buffer-sampler.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-debug.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-lock-free-set.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-kernel.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-kernel-sampler.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-sampler.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-types.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-vector.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-cairo-surface-sampler.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-cogl-texture-sampler.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-pixbuf-sampler.h
-- Installing: /usr/local/include/firtree-0.2/firtree/firtree-type-builtins.h
-- Installing: /usr/local/include/firtree-0.2/firtree/internal/firtree-cogl-texture-sampler-intl.hh
-- Installing: /usr/local/include/firtree-0.2/firtree/internal/firtree-engine-intl.hh
-- Installing: /usr/local/include/firtree-0.2/firtree/internal/firtree-kernel-intl.hh
-- Installing: /usr/local/include/firtree-0.2/firtree/internal/firtree-sampler-intl.hh
-- Installing: /usr/local/include/firtree-0.2/firtree/internal/firtree-type-builtins.h
-- Installing: /usr/local/lib/pkgconfig/firtree.pc
-- Installing: /usr/local/lib/libfirtree-engine-cpu.so.0.2.1
-- Installing: /usr/local/lib/libfirtree-engine-cpu.so.0.2
-- Installing: /usr/local/lib/libfirtree-engine-cpu.so
-- Removed runtime path from "/usr/local/lib/libfirtree-engine-cpu.so.0.2.1"
-- Installing: /usr/local/include/firtree-0.2/firtree/engines/cpu/firtree-cpu-renderer.h
-- Installing: /usr/local/include/firtree-0.2/firtree/engines/cpu/firtree-cpu-reduce-engine.h
-- Installing: /usr/local/lib/python2.6/dist-packages/pyfirtree.so
-- Removed runtime path from "/usr/local/lib/python2.6/dist-packages/pyfirtree.so"
0/firtree-0.2.1> sudo ldconfig
0/firtree-0.2.1> make test 
Traceback (most recent call last):
  File "run_test_suite.py", line 22, in <module>
    import core.affinetransform
  File "/home/kp/Download/firtree-0.2.1/testing/core/affinetransform.py", line 4, in <module>
    from pyfirtree import *
ImportError: /home/kp/Download/firtree-0.2.1/firtree/engines/cpu/libfirtree-engine-cpu.so.0.2: undefined symbol: ffi_type_sint16
make[3]: *** [testing/CMakeFiles/test] Error 1
make[2]: *** [testing/CMakeFiles/test.dir/all] Error 2
make[1]: *** [testing/CMakeFiles/test.dir/rule] Error 2
make: *** [test] Error 2

0/firtree-0.2.1> python ../pipeline-editor/main.py
Traceback (most recent call last):
  File "../pipeline-editor/main.py", line 8, in <module>
    from gtkfirtree import *
  File "/home/kp/Download/pipeline-editor/gtkfirtree/__init__.py", line 1, in <module>
    from ImageWidget import *
  File "/home/kp/Download/pipeline-editor/gtkfirtree/ImageWidget.py", line 3, in <module>
    from pyfirtree import *
ImportError: No module named pyfirtree
1/firtree-0.2.1> cp /usr/local/lib/python2.6/dist-packages/pyfirtree.so ../pipeline-editor/gtkfirtree/
0/firtree-0.2.1> python ../pipeline-editor/main.py/home/kp/.themes/Murrina Redmond/gtk-2.0/gtkrc:86: Murrine configuration 
Traceback (most recent call last):
  File "../pipeline-editor/main.py", line 8, in <module>
    from gtkfirtree import *
  File "/home/kp/Download/pipeline-editor/gtkfirtree/__init__.py", line 1, in <module>
    from ImageWidget import *
  File "/home/kp/Download/pipeline-editor/gtkfirtree/ImageWidget.py", line 3, in <module>
    from pyfirtree import *
ImportError: /usr/local/lib/libfirtree-engine-cpu.so.0.2: undefined symbol: ffi_type_sint16

List of packages installed on system is attached.

Thank you for attention.





References