This page is not a bug tracker. If you run into a problem not listed here, please file a bug. |
List of common errors for the module gnutls.
Error - Multiple definition of functions
System details: September 04th, 2008 - GNOME 2.23 svn - Debian Stable + gcc 4.3
Stage: Compile
Error look like this :
cc -std=gnu99 -shared .libs/libguile_gnutls_v_1_la-core.o .libs/libguile_gnutls_v_1_la-errors.o .libs/libguile_gnutls_v_1_la-utils.o -Wl,--whole-archive ../../lgl/.libs/liblgnu.a -Wl,--no-whole-archive -Wl,--rpath -Wl,/tmp/buildd/gnutls26-2.2.1/lib/.libs ../../lib/.libs/libgnutls.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so /usr/lib/libguile.so /usr/lib/libgmp.so -lcrypt -lm /usr/lib/libltdl.so -Wl,-soname -Wl,libguile-gnutls-v-1.so.0 -o .libs/libguile-gnutls-v-1.so.0.0.0 .libs/libguile_gnutls_v_1_la-errors.o: In function `scm_array_handle_ref': /usr/include/libguile/inline.h:220: multiple definition of `scm_array_handle_ref' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:220: first defined here .libs/libguile_gnutls_v_1_la-errors.o: In function `scm_array_handle_set': /usr/include/libguile/inline.h:235: multiple definition of `scm_array_handle_set' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:235: first defined here .libs/libguile_gnutls_v_1_la-errors.o: In function `scm_is_pair': /usr/include/libguile/inline.h:272: multiple definition of `scm_is_pair' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:272: first defined here .libs/libguile_gnutls_v_1_la-errors.o: In function `scm_double_cell': /usr/include/libguile/inline.h:146: multiple definition of `scm_double_cell' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:146: first defined here .libs/libguile_gnutls_v_1_la-errors.o: In function `scm_cell': /usr/include/libguile/inline.h:69: multiple definition of `scm_cell' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:69: first defined here .libs/libguile_gnutls_v_1_la-utils.o: In function `scm_array_handle_ref': /usr/include/libguile/inline.h:220: multiple definition of `scm_array_handle_ref' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:220: first defined here .libs/libguile_gnutls_v_1_la-utils.o: In function `scm_array_handle_set': /usr/include/libguile/inline.h:235: multiple definition of `scm_array_handle_set' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:235: first defined here .libs/libguile_gnutls_v_1_la-utils.o: In function `scm_is_pair': /usr/include/libguile/inline.h:272: multiple definition of `scm_is_pair' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:272: first defined here .libs/libguile_gnutls_v_1_la-utils.o: In function `scm_double_cell': /usr/include/libguile/inline.h:146: multiple definition of `scm_double_cell' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:146: first defined here .libs/libguile_gnutls_v_1_la-utils.o: In function `scm_cell': /usr/include/libguile/inline.h:69: multiple definition of `scm_cell' .libs/libguile_gnutls_v_1_la-core.o:/usr/include/libguile/inline.h:69: first defined here collect2: ld returned 1 exit status
Cause:
libguile < 1.8.4 and gcc 4.3
More info : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466778
Solution: Use libguile >= 1.8.4