Re: [Fink-devel] libtool :-(
You might have to edit ltmain.sh by hand, in order to apply Dave's patch... -- another Dave (msg resent by request) ___ 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
Re: [Fink-devel] ASM in C file ; porting from CodeWarrior -> OSX
On Fri, 7 Jun 2002 21:28:20 -0400 Alexander Strange <[EMAIL PROTECTED]> wrote: > int float2int(register float in) > { > return (int)in; > } Hmm. I'm not an expert on PPC, in fact I've only had one for three days. However I know that on x86 a bit of inline assember can improve the execution speed of float/double to int casts by a factor of 8 or more. In fact, I wrote a paper on it: http://mega-nerd.com/FPcast/ Now that I have a PPC machine I will compare the standard C cast against a function similar to the one I posted. I cannot do that until I can convert the code, so if anyone knows how to do it, I would appreciate hearing from them. Regards, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ "Reality is just a crutch for people that can't handle CyberSpace!!" - Hank Duderstadt ___ 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
Re: [Fink-devel] libtool :-(
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
Re: [Fink-devel] ASM in C file ; porting from CodeWarrior -> OSX
int float2int(register float in) { return (int)in; } Begin forwarded message: > From: Erik de Castro Lopo <[EMAIL PROTECTED]> > Date: Fri Jun 07, 2002 08:54:14 PM US/Eastern > To: [EMAIL PROTECTED] > Subject: [Fink-devel] ASM in C file ; porting from CodeWarrior -> OSX > > Hi all, > > Does anyboy have any idea how to port his code from CodeWarrior > to OSX? > > inline int > float2int (register float in) > { long res [2] ; > > asm > { fctiw in,in > stfd in,res > } > > return res [1] ; > } > > Thanks in advance, > Erik > -- > +---+ > Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) > +---+ > "If dolphins are so smart, why do they live in igloos?" -Eric Cartman > > ___ > > 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 ___ 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
[Fink-devel] 0.4.0a
I've released a very minor update to fink, version 0.4.0a. The only change was to update the URLs to work within the context of the new sourceforge mirroring scheme. -- Dave ___ 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
Re: [Fink-devel] libtool :-(
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. -- Dave ___ 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
[Fink-devel] libtool :-(
Hi People, I'm the author of libsndfile ( http://www.zip.com.au/~erikd/libsndfile/ ) a cross platform library for reading and writing audio files. The vast majority of my development work is done on Debian Linux but I have a large number of users on other Unixen, Win32 and MacOS (OS 9 and OSX). Until recently I had few if any reports of problems. The problems began when I upgraded my Debian machine from Potato to Woody. This upgrade changed the version of autoconf/automake/libtool which I had been using to generate the source tarballs I had been distributing. The configure/libtool scripts in the tarball now fail to build on OSX. Since I have recently bought myself an iBook which is running OS 9, OSX and Linux I now have an opportunity to get to the bottom of this. However I would not like to repeat the work of others stomping the same ground so I ask 1) Is anybody else having this problem? 2) Is anybody working on it? 3) Where are they up to? 4) How close is a solution? 5) Are people pushing their solutions back to the autoconf/automake/ libtool etc maintainers? I have tried using the Fink autoconf/automake/libtool set and reconfiguring on OSX but this still does fix the problems on my library. Cheers, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ "I once worked for a company where as part of the BS5750 "Quality" process I attended a meeting where I was informed that it was Company Policy not to use free software. When I asked him for his written authorisation for me to remove X Windows from our Sun workstations, he backtracked." -- Phil Hunt ___ 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
[Fink-devel] ASM in C file ; porting from CodeWarrior -> OSX
Hi all, Does anyboy have any idea how to port his code from CodeWarrior to OSX? inline int float2int (register float in) { long res [2] ; asm { fctiw in,in stfdin,res } return res [1] ; } Thanks in advance, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ "If dolphins are so smart, why do they live in igloos?" -Eric Cartman ___ 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
[Fink-devel] #if (defined(__MACH__) && defined(__APPLE__))
Hi all, Is this #if (defined(__MACH__) && defined(__APPLE__)) the standard way of determining whether C code is being compiled on MacOSX or is there some other preferred method? Thanks in advance, Erik -- +---+ Erik de Castro Lopo [EMAIL PROTECTED] (Yes it's valid) +---+ BSD: A psychoactive drug, popular in the 80s, probably developed at UC Berkeley or thereabouts. Similar in many ways to the prescription-only medication called "System V", but infinitely more useful. (Or, at least, more fun.) The full chemical name is "Berkeley Standard Distribution". ___ 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
[Fink-devel] gcc3
Apparently this one didn't make it to the list : Begin forwarded message: > A) > Compiled succesfully with gcc3: > atlas-3.3.15-1 rrdtool-1.0.37-3 wget-ssl-1.8.2-1 > > libxslt-1.0.18-1 failed with install_name error > > lftp-ssl_2.5.2-2 failed with : > g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -no-cpp-precomp > -I/sw/include -O2 -Wall -Wwrite-strings -Woverloaded-virtual > -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o > FileCopyFtp.o `test -f FileCopyFtp.cc || echo './'`FileCopyFtp.cc > In file included from FileAccess.h:27, > from FileCopy.h:38, > from FileCopyFtp.h:26, > from FileCopyFtp.cc:27: > ../include/trio.h:172:1: warning: "vfscanf" redefined > In file included from ../include/trio.h:25, > from FileAccess.h:27, > from FileCopy.h:38, > from FileCopyFtp.h:26, > from FileCopyFtp.cc:27: > /usr/include/stdio.h:330:1: warning: this is the location of the > previous definition > In file included from log.h:26, > from FileCopyFtp.cc:28: > /usr/include/unistd.h:135: declaration of C function `int getopt(int, > char* >const*, const char*)' conflicts with > ../include/getopt.h:104: previous declaration `int getopt()' here > make[1]: *** [FileCopyFtp.o] Error 1 > > B) > The webpage on gcc3 asks to send further such reports to this list _ > which > I'm doing now. But if people really start doing this, is it not going > to cause > too much traffic ? Wouldn't it be preferable to send such reports > directly > to the maintainer of that page ? > > C) If I understand correctly, for packages that depend on c++ libs, > those libs > have first to be rebuild. I have no idea how to get an exact list of > all packages > providing such libs, but going to my /sw/var/logs dir, the command > grep 'c++' * | cut -f 1 -d . | sort | uniq > gave me the following list, which could be at least a start : > aplus-fsf apt aria arts aspell astyle clanlib cups cyclo db3 db4 > ddd dejagnu dpkg drscheme dx f2c g77 gc gengetopt geomview glib2 > gnome-apt gnome-games gnome-pim graphviz gtkmm gtop hdf5 icemc > intercal-threaded jags kdebase3-ssl kdelibs3-ssl launch lftp-ssl > libdivxdecore libsigc++ libxml++ macaulay2 mad mjpegtools mozilla mysql > nautilus ncurses netcdf octave-atlas oleo openh323 openjade pango1 > plotutils prcs pspell pwlib python qcad qt qt3 qtella sagasu sdl sdl-net > singular-factory singular-libfac smpeg source-highlight sppc stlport > swig tela tmake unixodbc unrar wxgtk wxmac xfree86-rootless zoinks > > (It would be nice if there was a command or at least a no too arduous > way > to put such a list in dependency order...) > > > JF Mertens > ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Re: gcc3_more
I forgot : also abiword-1.0.2-1, oaf-0.6.10-1 and netpbm-9.25-1 build correctly with gcc3 JFMertens ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] gcc3_more
In addition to the packages on the list : debianutils libiconv gettext ncurses bzip2 gzip tar dpkg zlib dlcompat readline m4 autoconf25 automake15 make texinfo libtool libtool14 bison flex ssed gawk and gengetopt (latest versions) build correctly with gcc3. apt-0.5.4-3 still fails with an undefined symbols error. readline-4.2a-5 has undefined symbol errors and others. stlport-4.5-1 fails since the start... JF Mertens ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] gcc3
A) Compiled succesfully with gcc3: atlas-3.3.15-1 rrdtool-1.0.37-3 wget-ssl-1.8.2-1 libxslt-1.0.18-1 failed with install_name error lftp-ssl_2.5.2-2 failed with : g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -no-cpp-precomp -I/sw/include -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o FileCopyFtp.o `test -f FileCopyFtp.cc || echo './'`FileCopyFtp.cc In file included from FileAccess.h:27, from FileCopy.h:38, from FileCopyFtp.h:26, from FileCopyFtp.cc:27: ../include/trio.h:172:1: warning: "vfscanf" redefined In file included from ../include/trio.h:25, from FileAccess.h:27, from FileCopy.h:38, from FileCopyFtp.h:26, from FileCopyFtp.cc:27: /usr/include/stdio.h:330:1: warning: this is the location of the previous definition In file included from log.h:26, from FileCopyFtp.cc:28: /usr/include/unistd.h:135: declaration of C function `int getopt(int, char* const*, const char*)' conflicts with ../include/getopt.h:104: previous declaration `int getopt()' here make[1]: *** [FileCopyFtp.o] Error 1 B) The webpage on gcc3 asks to send further such reports to this list _ which I'm doing now. But if people really start doing this, is it not going to cause too much traffic ? Wouldn't it be preferable to send such reports directly to the maintainer of that page ? C) If I understand correctly, for packages that depend on c++ libs, those libs have first to be rebuild. I have no idea how to get an exact list of all packages providing such libs, but going to my /sw/var/logs dir, the command grep 'c++' * | cut -f 1 -d . | sort | uniq gave me the following list, which could be at least a start : aplus-fsf apt aria arts aspell astyle clanlib cups cyclo db3 db4 ddd dejagnu dpkg drscheme dx f2c g77 gc gengetopt geomview glib2 gnome-apt gnome-games gnome-pim graphviz gtkmm gtop hdf5 icemc intercal-threaded jags kdebase3-ssl kdelibs3-ssl launch lftp-ssl libdivxdecore libsigc++ libxml++ macaulay2 mad mjpegtools mozilla mysql nautilus ncurses netcdf octave-atlas oleo openh323 openjade pango1 plotutils prcs pspell pwlib python qcad qt qt3 qtella sagasu sdl sdl-net singular-factory singular-libfac smpeg source-highlight sppc stlport swig tela tmake unixodbc unrar wxgtk wxmac xfree86-rootless zoinks (It would be nice if there was a command or at least a no too arduous way to put such a list in dependency order...) JF Mertens ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel