On Fri, 7 Jun 2002 21:11:14 -0400 "David R. Morrison" <[EMAIL PROTECTED]> wrote:
> Hi Erik. You haven't told us what problem you're having! > > We've run into a number of different libtool problems, and have done our > best to address them. We send patches back to the libtool team but I'm > not sure if all of them have been accepted. > > You might have a look at http://fink.sourceforge.net/doc/porting/libtool.php > to see if your issues are addressed there. If not, please give us a > detailed report about how libtool is failing you. OK, I think its the convienence libray thing. My library (libsndfile) has two source code sub directorys. The results of compiling these two sub dirs are two static libraries which are linked with the code in the main source dir to create libsndfile (both static and shared). The errors I'm getting loof like this : gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libsndfile.1.0.0.dylib \ sndfile.lo common.lo file_io.lo format.lo pcm.lo ulaw.lo alaw.lo float32.lo \ double64.lo ima_adpcm.lo ms_adpcm.lo gsm610.lo dwvw.lo aiff.lo au.lo au_g72x.lo \ nist.lo paf.lo raw.lo samplitude.lo svx.lo wav.lo wav_w64.lo voc.lo ircam.lo \ w64.lo sd2.lo rx2.lo txw.lo -all_load \ GSM610/.libs/libgsm.al G72x/.libs/libg72x.al GSM610/.libs/libgsm.al \ G72x/.libs/libg72x.al -lc -install_name /usr/local/lib/libsndfile.1.dylib \ -compatibility_version 2 -current_version 2.0 ld: multiple definitions of symbol _gsm_A GSM610/.libs/libgsm.al(add.lo) definition of _gsm_A in section (__DATA,__common) GSM610/.libs/libgsm.al(decode.lo) definition of _gsm_A in section (__DATA,__common) ld: multiple definitions of symbol _gsm_B GSM610/.libs/libgsm.al(add.lo) definition of _gsm_B in section (__DATA,__common) In other words, ld complaining about redefinition of symbols which are in the convienience library. I tried Dave Vasilevsky's patch but it didn't want to apply against the ltmain.sh in my tarball. Any clues? Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +-----------------------------------------------------------+ Microsoft : Yesterday's software running on today's hardware tomorrow. _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel