Dear Users,
I got following error message when compiling openbabael.
Plz try to remove the error.
amarbahadur@amarbahadur-G41T-M7:~$ cd /home/amarbahadur/lib/openbabel-2.3.2
amarbahadur@amarbahadur-G41T-M7:~/lib/openbabel-2.3.2$ ls
AUTHORS data
OpenBabel2ConfigVersion.cmake.in
build doc README
ChangeLog Doxyfile scripts
ChangeLog.1.x include src
cmake INSTALL test
CMakeLists.txt NEWS THANKS
COPYING openbabel-2.0.pc.cmake tools
CTestConfig.cmake OpenBabel2Config.cmake.in windows-vc2008
amarbahadur@amarbahadur-G41T-M7:~/lib/openbabel-2.3.2$ cmake
/home/amarbahadur/lib/openbabel-2.3.2-- The C compiler identification is
GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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
-- Using included inchi library.
-- Found LibXml2: /usr/lib/i386-linux-gnu/libxml2.so (found version
"2.8.0")
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.7")
-- Found wxWidgets: TRUE
-- Looking for conio.h
-- Looking for conio.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for rpc/xdr.h
-- Looking for rpc/xdr.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for rint
-- Looking for rint - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for sranddev
-- Looking for sranddev - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of clock_t
-- Check size of clock_t - done
-- Performing Test SCANDIR_NEEDS_CONST
-- Performing Test SCANDIR_NEEDS_CONST - Failed
-- Performing Test HAVE_GCC_VISIBILITY
-- Performing Test HAVE_GCC_VISIBILITY - Success
-- Found Eigen3: /usr/local/include/eigen3 (Required is at least version
"2.91.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'cairo'
-- found cairo, version 1.12.2
-- Found Cairo: /usr/lib/i386-linux-gnu/libcairo.so
-- Cairo found. PNG output will be supported.
-- Looking for getopt
-- Looking for getopt - found
-- Attempting to build the GUI
-- wxWidgets found => GUI will be built
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/amarbahadur/lib/openbabel-2.3.2
amarbahadur@amarbahadur-G41T-M7:~/lib/openbabel-2.3.2$ *make*
---------------------------------------------------------------------------------------------------------------------------------------------------
[ 83%] Building CXX object src/GUI/CMakeFiles/obgui.dir/OBGUI.o
[ 83%] Building CXX object src/GUI/CMakeFiles/obgui.dir/stdwx.o
[ 84%] Building CXX object src/GUI/CMakeFiles/obgui.dir/optswx.o
Linking CXX executable ../../bin/obgui
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_mutex_lock'
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0: undefined reference to
`g_slist_free_full'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_bus_get_sync'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_realloc_n'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_mutex_unlock'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_malloc0_n'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_dbus_connection_call'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_variant_get_strv'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_variant_iter_next_value'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_dbus_connection_call_finish'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_get_monotonic_time'
/usr/local/lib/libwx_gtk2u_core-2.9.so: undefined reference to `g_malloc_n'
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0: undefined reference to
`g_source_set_name'
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined reference to
`g_resources_open_stream'
/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0: undefined reference to
`g_mutex_trylock'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_variant_new'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_variant_iter_n_children'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_source_get_time'
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined reference to
`g_bytes_unref'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_dbus_connection_call_sync'
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined reference to
`g_resources_lookup_data'
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined reference to
`g_simple_async_result_take_error'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_variant_unref'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_format_size'
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0: undefined reference to
`g_desktop_app_info_get_filename'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_array_get_element_size'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_array_unref'
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined reference to
`g_resources_get_info'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_thread_create'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_variant_iter_init'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_variant_get_child_value'
/usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined reference to
`g_bytes_get_data'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_mapped_file_unref'
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0: undefined reference to
`g_ptr_array_set_free_func'
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0: undefined reference to
`g_mutex_new'
*collect2: error: ld returned 1 exit status
make[2]: *** [bin/obgui] Error 1
make[1]: *** [src/GUI/CMakeFiles/obgui.dir/all] Error 2
make: *** [all] Error 2
*
--
Kind Regards.
==================
Dr. Amar Bahadur
(Department of Physics)
Kamla Nehru Institute of Physical and Social Sciences,
Sultanpur- 228 118 (U.P.) India
Email: amar.b....@gmail.com
Mob.-+91-9451431428, 9044160486
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss