[Issues] [mod_gnutls 0000090]: Building mod_gnutls on Mac OS X 10.5.4 fails : ld ; duplicate symbol
Mantis Bug Tracker
issues at outoforder.cc
Wed Aug 27 04:09:21 EDT 2008
The following issue has been SUBMITTED.
======================================================================
http://issues.outoforder.cc/view.php?id=90
======================================================================
Reported By: pperegrina
Assigned To:
======================================================================
Project: mod_gnutls
Issue ID: 90
Category: Compile or Build
Reproducibility: always
Severity: major
Priority: normal
Status: new
Apache Version: apache2 @2.2.9_1+darwin_9
======================================================================
Date Submitted: 2008-08-27 04:09 EDT
Last Modified: 2008-08-27 04:09 EDT
======================================================================
Summary: Building mod_gnutls on Mac OS X 10.5.4 fails : ld ;
duplicate symbol
Description:
bash-3.2# make
Making all in src
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -Wall -DENABLE_SRP=1 -O2 -I/opt/local/include -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-mod_gnutls.lo -MD -MP -MF
.deps/libmod_gnutls_la-mod_gnutls.Tpo -c -o libmod_gnutls_la-mod_gnutls.lo
`test -f 'mod_gnutls.c' || echo './'`mod_gnutls.c
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-mod_gnutls.lo -MD -MP -MF
.deps/libmod_gnutls_la-mod_gnutls.Tpo -c mod_gnutls.c -fno-common -DPIC
-o .libs/libmod_gnutls_la-mod_gnutls.o
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-mod_gnutls.lo -MD -MP -MF
.deps/libmod_gnutls_la-mod_gnutls.Tpo -c mod_gnutls.c -o
libmod_gnutls_la-mod_gnutls.o >/dev/null 2>&1
mv -f .deps/libmod_gnutls_la-mod_gnutls.Tpo
.deps/libmod_gnutls_la-mod_gnutls.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -Wall -DENABLE_SRP=1 -O2 -I/opt/local/include -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_io.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_io.Tpo -c -o libmod_gnutls_la-gnutls_io.lo
`test -f 'gnutls_io.c' || echo './'`gnutls_io.c
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_io.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_io.Tpo -c gnutls_io.c -fno-common -DPIC -o
.libs/libmod_gnutls_la-gnutls_io.o
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_io.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_io.Tpo -c gnutls_io.c -o
libmod_gnutls_la-gnutls_io.o >/dev/null 2>&1
mv -f .deps/libmod_gnutls_la-gnutls_io.Tpo
.deps/libmod_gnutls_la-gnutls_io.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -Wall -DENABLE_SRP=1 -O2 -I/opt/local/include -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_cache.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_cache.Tpo -c -o
libmod_gnutls_la-gnutls_cache.lo `test -f 'gnutls_cache.c' || echo
'./'`gnutls_cache.c
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_cache.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_cache.Tpo -c gnutls_cache.c -fno-common
-DPIC -o .libs/libmod_gnutls_la-gnutls_cache.o
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_cache.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_cache.Tpo -c gnutls_cache.c -o
libmod_gnutls_la-gnutls_cache.o >/dev/null 2>&1
mv -f .deps/libmod_gnutls_la-gnutls_cache.Tpo
.deps/libmod_gnutls_la-gnutls_cache.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -Wall -DENABLE_SRP=1 -O2 -I/opt/local/include -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_config.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_config.Tpo -c -o
libmod_gnutls_la-gnutls_config.lo `test -f 'gnutls_config.c' || echo
'./'`gnutls_config.c
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_config.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_config.Tpo -c gnutls_config.c -fno-common
-DPIC -o .libs/libmod_gnutls_la-gnutls_config.o
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_config.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_config.Tpo -c gnutls_config.c -o
libmod_gnutls_la-gnutls_config.o >/dev/null 2>&1
mv -f .deps/libmod_gnutls_la-gnutls_config.Tpo
.deps/libmod_gnutls_la-gnutls_config.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../include -Wall -DENABLE_SRP=1 -O2 -I/opt/local/include -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_hooks.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_hooks.Tpo -c -o
libmod_gnutls_la-gnutls_hooks.lo `test -f 'gnutls_hooks.c' || echo
'./'`gnutls_hooks.c
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_hooks.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_hooks.Tpo -c gnutls_hooks.c -fno-common
-DPIC -o .libs/libmod_gnutls_la-gnutls_hooks.o
gcc -DHAVE_CONFIG_H -I. -I../include -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -MT
libmod_gnutls_la-gnutls_hooks.lo -MD -MP -MF
.deps/libmod_gnutls_la-gnutls_hooks.Tpo -c gnutls_hooks.c -o
libmod_gnutls_la-gnutls_hooks.o >/dev/null 2>&1
mv -f .deps/libmod_gnutls_la-gnutls_hooks.Tpo
.deps/libmod_gnutls_la-gnutls_hooks.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -DENABLE_SRP=1 -O2
-I/opt/local/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -I/opt/local/apache2/include -I/opt/local/include/apr-1
-I/opt/local/include/apr-1 -I/opt/local/include -g -O2 -rpath
/opt/local/apache2/modules -module -avoid-version -o libmod_gnutls.la
-rpath /opt/local/apache2//lib libmod_gnutls_la-mod_gnutls.lo
libmod_gnutls_la-gnutls_io.lo libmod_gnutls_la-gnutls_cache.lo
libmod_gnutls_la-gnutls_config.lo libmod_gnutls_la-gnutls_hooks.lo
libtool: link: warning: ignoring multiple `-rpath's for a libtool library
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
.libs/libmod_gnutls.so -bundle .libs/libmod_gnutls_la-mod_gnutls.o
.libs/libmod_gnutls_la-gnutls_io.o .libs/libmod_gnutls_la-gnutls_cache.o
.libs/libmod_gnutls_la-gnutls_config.o
.libs/libmod_gnutls_la-gnutls_hooks.o
ld: duplicate symbol _gnutls_module in .libs/libmod_gnutls_la-gnutls_io.o
and .libs/libmod_gnutls_la-mod_gnutls.o
collect2: ld returned 1 exit status
make[1]: *** [libmod_gnutls.la] Error 1
make: *** [all-recursive] Error 1
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-08-27 04:09 pperegrina New Issue
2008-08-27 04:09 pperegrina Apache Version => apache2
@2.2.9_1+darwin_9
======================================================================
More information about the Issues
mailing list