compilation problems with 1.3.1 and Mac OSX (10.4)

Zach Roberts roberts at macquarium.com
Sun Jun 26 05:40:27 CEST 2005


Hello TagLib devel,

I am working on a small project which could benefit greatly from TagLib, 
so I attempted to compile it from source on my Mac OSX (10.4) machine.  
Now, I am a competent Pythonista, but only a C / C++ wannabe, so the 
compilation error doesn't provide a lot of information to me directly.  
 From what I can tell, it looks like it compiles the parts fine, and 
then chokes up on linking them all together.  I am hoping that someone 
on this list may be more in tune to what the issue is, and any help 
resolving it would be great.  Also, I found a possibly related link from 
the BSD world here:  
http://mail.kde.org/pipermail/taglib-devel/2005-April/000122.html

Here is the output from make:

make  all-recursive
Making all in taglib
Making all in toolkit
make[3]: Nothing to be done for `all'.
Making all in mpeg
Making all in id3v1
make[4]: Nothing to be done for `all'.
Making all in id3v2
Making all in frames
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in ogg
Making all in vorbis
make[4]: Nothing to be done for `all'.
Making all in flac
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in flac
make[3]: Nothing to be done for `all'.
Making all in ape
make[3]: Nothing to be done for `all'.
Making all in mpc
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W 
-Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new    -o 
libtag.la.closure libtag_la_closure.lo  -no-undefined -version-info 
4:0:3 tag.lo fileref.lo audioproperties.lo ./mpeg/libmpeg.la 
./ogg/libogg.la ./flac/libflac.la ./mpc/libmpc.la ./ape/libape.la 
./toolkit/libtoolkit.la
libtool: link: warning: `-version-info' is ignored for programs
/usr/bin/ld: multiple definitions of symbol _NXArgc
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_NXArgc in section (__DATA,__data)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_NXArgc in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol _NXArgv
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_NXArgv in section (__DATA,__data)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_NXArgv in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol ___progname
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
___progname in section (__DATA,__data)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
___progname in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol __dyld_func_lookup
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of __dyld_func_lookup in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of __dyld_func_lookup in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol __dyld_init_check
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of __dyld_init_check in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of __dyld_init_check in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol __start
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of __start in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of __start in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol _environ
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_environ in section (__DATA,__data)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
_environ in section (__DATA,__data)
/usr/bin/ld: multiple definitions of symbol dyld_stub_binding_helper
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of dyld_stub_binding_helper in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o private 
external definition of dyld_stub_binding_helper in section (__TEXT,__text)
/usr/bin/ld: multiple definitions of symbol start
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
start in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of 
start in section (__TEXT,__text)
collect2: ld returned 1 exit status
make[3]: *** [libtag.la.closure] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks for any advice or help resolving this issue.

Zach Roberts



More information about the taglib-devel mailing list