Re: [Fink-devel] libtoolize and missing symbols in shared libraries
Peter, this works very well, thanks. I've got the package to build. Next I'll try some tests, but the upshot is that I won't need to bother folks on this list again on this issue. I really appreciate the help! On 14-Jun-04, at 11:06 AM, Peter O'Gorman wrote: Hi, I had a look too. It needs a little work, but not too much. First, I replaced the "-no-undefined" flag in the modules Makefile.am with "-module", then I removed that flag from the src Makefile.am and ran all the autotools. During build I discovered that both src/utils.c and src/event.c needed an #include . It finished building, not so sure that it works properly though... Peter David R. Morrison wrote: Hi. I had a look at this, and the underlying cause is the line AM_LDFLAGS = -no-undefined -version-info 0:0:0 -export-dynamic which appears in modules/Makefile.in (and also modules/Makefile.am). I kind of understand what the developers are trying to do with this, but they are going about it the wrong way. However, if I replace that with AM_LDFLAGS = I get somewhat farther, but it still doesn't compile. There are also some disturbing warnings along the way. It seems that this is going to take some work before it's ready for OS X. -- Dave P.S. The correct web address for the project is gfs.sourceforge.net . -- Peter O'Gorman - http://www.pogma.com Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] libtoolize and missing symbols in shared libraries
Hi, I had a look too. It needs a little work, but not too much. First, I replaced the "-no-undefined" flag in the modules Makefile.am with "-module", then I removed that flag from the src Makefile.am and ran all the autotools. During build I discovered that both src/utils.c and src/event.c needed an #include . It finished building, not so sure that it works properly though... Peter David R. Morrison wrote: Hi. I had a look at this, and the underlying cause is the line AM_LDFLAGS = -no-undefined -version-info 0:0:0 -export-dynamic which appears in modules/Makefile.in (and also modules/Makefile.am). I kind of understand what the developers are trying to do with this, but they are going about it the wrong way. However, if I replace that with AM_LDFLAGS = I get somewhat farther, but it still doesn't compile. There are also some disturbing warnings along the way. It seems that this is going to take some work before it's ready for OS X. -- Dave P.S. The correct web address for the project is gfs.sourceforge.net . -- Peter O'Gorman - http://www.pogma.com --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] libtoolize and missing symbols in shared libraries
Hi. I had a look at this, and the underlying cause is the line AM_LDFLAGS = -no-undefined -version-info 0:0:0 -export-dynamic which appears in modules/Makefile.in (and also modules/Makefile.am). I kind of understand what the developers are trying to do with this, but they are going about it the wrong way. However, if I replace that with AM_LDFLAGS = I get somewhat farther, but it still doesn't compile. There are also some disturbing warnings along the way. It seems that this is going to take some work before it's ready for OS X. -- Dave P.S. The correct web address for the project is gfs.sourceforge.net . --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] libtoolize and missing symbols in shared libraries
I hope it's OK for me to ask a question that indicates I'm a bit out of my depth. I'm trying to compile an opensource fluid-dynamics simulator (gerris.sourceforge.net) on my osx box. The build fails because of (as I understand it) a problem in building shared libraries. Since I'm sure many FINK projects use shared libraries, and since my goal [if I can get this to compile] is to fink-ize the project, may I ask somebody to throw me a lifeline? Is there a doc that would tell me how to port an app that uses shared libraries to fink? I've done quite a lot of searching on the web and haven't really uncovered anything, so I'm hoping somebody will say something like "install fink package X" and it will work ok. The error I get is as follows my siginfo. (I am aware that posting the error in isolation of any code isn't too much help, but it is difficult for me to pare this complex code down well, and I'm not familiar enough with libtool to create a simpler analogue.) Thanks, in advance, for any pointers. This Gerris software is pretty nice, by the way, and so fluid-mechanics folks who use fink might like to use it, if I can ever get it packaged. Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html $ make make all-recursive Making all in modules make all-am /bin/sh ../libtool --silent --mode=link gcc -DFTT_2D -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -no-undefined -version-info 0:0:0 -export-dynamic -o libperiodic_flow2D.la -rpath /usr/local/lib/gerris periodic_flow.lo ld: Undefined symbols: _ftt_cell_pos ... _gts_object_class_new /usr/bin/libtool: internal link edit command failed make[3]: *** [libperiodic_flow2D.la] Error 1 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel