While working on the plplot package, I am running an error when I use the flag --enable-f77 (using fink's g77). When the flag --disable-f77 is used, compilation goes without a problem.
The following snippets are what I think that is related: g77 -dynamiclib -single_module -o .libs/libplplotf77d.9.0.0.dylib .libs/sc3d.o .libs/sccont.o .libs/scstubs.o .libs/strutil.o .libs/sfstubs.o -all_load /sw/lib/libg2c.a /Volumes/MoreStuff/.src/plplot-5.2.1.cvs.20040104-1/plplot-5.2.1.cvs.20040104/lib/csa/.libs/libcsirocsa.dylib -L/sw/lib ../../src/.libs/libplplotd.dylib -lcrt2.o -L/sw/lib/gcc/powerpc-apple-darwin7.2.0/3.4 -L/sw/lib/gcc/powerpc-apple-darwin7.2.0/3.4/../../.. -lfrtbegin -lSystem -install_name /sw/lib/libplplotf77d.9.dylib -compatibility_version 10 -current_version 10.0 ld: warning -dylib_install_name /sw/lib/libplplotf77d.9.dylib not found in segment address table LD_SEG_ADDR_TABLE /sw/var/lib/fink/prebound/seg_addr_table And then tons of the following: ld: multiple definitions of symbol _main /sw/lib/libfrtbegin.a(frtbegin.o) definition of _main in section (__TEXT,__text) /sw/lib/libfrtbegin.a(frtbegin.o) definition of _main in section (__TEXT,__text) [...] ld: multiple definitions of symbol _f__inode /sw/lib/libg2c.a(util.o) definition of _f__inode /usr/bin/libtool: internal link edit command failed in section (__TEXT,__text) /sw/lib/libg2c.a(util.o) definition of _f__inode in section (__TEXT,__text) [...] ld: multiple definitions of symbol _G77_date_and_time_0 /sw/lib/libg2c.a(datetime_.o) definition of _G77_date_and_time_0 in section (__TEXT,__text) /sw/lib/libg2c.a(datetime_.o) definition of _G77_date_and_time_0 in section (__TEXT,__text) ld: warning prebinding disabled because dependent library: /usr/lib/system/libmathCommon.A.dylib can't be searched make[3]: *** [libplplotf77d.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of make failed, exit code 2 Failed: compiling plplot-5.2.1.cvs.20040104-1 failed [ModusOperandi:local/main/finkinfo] koen% /usr/lib/system/libmathCommon.A.dylib is present on my system. Any ideas what the problem could be and how to solve it? thanks, - Koen. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
