#846 "make" fails with perl bindings

2.3.x
open
nobody
1
2012-11-30
2012-11-30
Visvaldas Kairys
No

"make" fails with the following error (I switched on both Python and Perl bindings). Same error also when compiling latest svn version.

<...>
Scanning dependencies of target bindings_perl
[ 99%] Building CXX object scripts/CMakeFiles/bindings_perl.dir/perl/openbabel-perl.cpp.o
Linking CXX shared module ../lib/OpenBabel.so
CMakeFiles/bindings_perl.dir/perl/openbabel-perl.cpp.o: In function _wrap_delete_OBFreeGridPoint': /home/visvaldas/software/src/openbabel/scripts/perl/openbabel-perl.cpp:10585: undefined reference toOpenBabel::OBFreeGridPoint::~OBFreeGridPoint()'
CMakeFiles/bindings_perl.dir/perl/openbabel-perl.cpp.o: In function _wrap_new_OBFreeGridPoint__SWIG_0': /home/visvaldas/software/src/openbabel/scripts/perl/openbabel-perl.cpp:10542: undefined reference toOpenBabel::OBFreeGridPoint::OBFreeGridPoint()'
collect2: ld returned 1 exit status
make[2]: [lib/OpenBabel.so] Error 1
make[1]:
[scripts/CMakeFiles/bindings_perl.dir/all] Error 2

Discussion