[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling latest cvs fails at link stage .. help ?
From: |
Olivier Kaloudoff |
Subject: |
compiling latest cvs fails at link stage .. help ? |
Date: |
Sat, 28 Feb 2004 13:26:39 +0100 (CET) |
Hi gnokers,
I'm trying to compile from the latest cvs,
to investigate on a little bug;
unfortunatelly, here is what I got:
gmake[1]: Entering directory `/sw/src/gnokii/common'
/bin/sh ../libtool --mode=link gcc -o libgnokii.la gsm-api.lo
gsm-error.lo gsm-statemachine.lo cfgreader.lo device.lo vcal.lo vcard.lo
ldif.lo gsm-networks.lo gsm-filetypes.lo readmidi.lo gsm-ringtones.lo
gsm-bitmaps.lo gsm-sms.lo gsm-call.lo gsm-encoding.lo gsm-common.lo
sms-nokia.lo nokia-decoding.lo compat.lo misc.lo snprintf.lo
../intl/localcharset.lo phones/libPHONES.la links/libLINKS.la
devices/libDEVICES.la ../intl/libintl.la -version-info 2:0:0 -rpath
/usr/local/lib
rm -fr .libs/libgnokii.la .libs/libgnokii.* .libs/libgnokii.*
gcc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libgnokii.2.0.0.dylib gsm-api.lo gsm-error.lo gsm-statemachine.lo
cfgreader.lo device.lo vcal.lo vcard.lo ldif.lo gsm-networks.lo
gsm-filetypes.lo readmidi.lo gsm-ringtones.lo gsm-bitmaps.lo gsm-sms.lo
gsm-call.lo gsm-encoding.lo gsm-common.lo sms-nokia.lo nokia-decoding.lo
compat.lo misc.lo snprintf.lo ../intl/localcharset.lo -all_load
phones/.libs/libPHONES.al links/.libs/libLINKS.al
devices/.libs/libDEVICES.al phones/.libs/libPHONES.al
links/.libs/libLINKS.al devices/.libs/libDEVICES.al -L../intl/.libs -lintl
-lc -install_name /usr/local/lib/libgnokii.2.dylib -compatibility_version
3 -current_version 3.0
ld: multiple definitions of symbol _pgen_incoming_default
phones/.libs/libPHONES.al(generic.lo) definition of _pgen_incoming_default
in section (__TEXT,__text)
phones/.libs/libPHONES.al(generic.lo) definition of _pgen_incoming_default
in section (__TEXT,__text)
ld: multiple definitions of symbol _pgen_terminate
phones/.libs/libPHONES.al(generic.lo) definition of _pgen_terminate in
section (__TEXT,__text)
phones/.libs/libPHONES.al(generic.lo) definition of _pgen_terminate in
section (__TEXT,__text)
ld: multiple definitions of symbol _pnok_call_answer
(...)
ld: warning multiple definitions of symbol _snprintf
snprintf.lo definition of _snprintf in section (__TEXT,__text)
/usr/lib/libc.dylib(snprintf.So) definition of _snprintf
ld: warning multiple definitions of symbol _vsnprintf
snprintf.lo definition of _vsnprintf in section (__TEXT,__text)
/usr/lib/libc.dylib(vsnprintf.So) definition of _vsnprintf
gmake[1]: *** [libgnokii.la] Error 1
gmake[1]: Leaving directory `/sw/src/gnokii/common'
make: *** [common] Error 2
bash-2.05a$
There is probably a mess with my libraries, but I have no
idea where to start from...
here are some infos about the system:
bash-2.05a$ uname -a
Darwin Olivier-Kaloudoffs-Computer.local. 6.8 Darwin Kernel Version 6.8:
Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power
Macintosh powerpc
bash-2.05a$ export | grep PATH
declare -x
MANPATH=":/sw/man/:/sw/share/man/:/usr/share/man/:/opt/local/man:/opt/local/man"
declare -x
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin:/sw/bin/:/sw/sbin/:/opt/local/bin:/opt/local/sbin"
bash-2.05a$ type ld
ld is hashed (/usr/bin/ld)
Any ideas ?
Kalou
- compiling latest cvs fails at link stage .. help ?,
Olivier Kaloudoff <=