Hello all I was advised by James Gibbs to post this here:
I'm a Fink user having problems using lammpi in Tiger. I'm by no means an expert so some pointers would be greatly appreciated... I'm trying to compile a scientific program called cmbeasy which uses lammpi. The problem arises when doing ############# hcp -Wall -DPRERELEASE -I/Users/lmgb/Documents/cmbeasy/mathobject -I/Users/lmgb/Documents/cmbeasy/bessel -I/Users/lmgb/Documents/cmbeasy/anisotropy -I/Users/lmgb/Documents/cmbeasy/cosmos -I/sw/include -I/Users/lmgb/Documents/cmbeasy/chain -L/sw/lib -lgsl -lgslcblas mathobject/miscmath.o mathobject/spline.o mathobject/anchor.o mathobject/bessel.o mathobject/data.o anisotropy/cmbcalc.o anisotropy/scalarintegrator.o anisotropy/tensorintegrator.o anisotropy/integrator.o anisotropy/lensing.o anisotropy/analyzethis.o anisotropy/DataManager.o anisotropy/scalartrapezoidintegrator.o anisotropy/tensortrapezoidintegrator.o anisotropy/allskylensing.o anisotropy/flatskylensing.o mathobject/multigaussian.o cosmos/cosmos.o cosmos/recfast.o cosmos/quintessence.o cosmos/exponential.o cosmos/ratra.o cosmos/arthur.o cosmos/quintcosmos.o cosmos/perturbation.o cosmos/synchronous.o cosmos/perturbationfactory.o cosmos/quintsynchronous.o cosmos/arbitrary.o cosmos/recfastalpha.o cosmos/crossover.o cosmos/crossoverfield.o cosmos/speedyinvariant.o cosmos/speedydeinvariant.o anisotropy/mc_general.cc -o bin/mc_general -lm -lmpi ld: Undefined symbols: __ZN9__gnu_cxx18__exchange_and_addEPVii __ZNSs4_Rep20_S_empty_rep_storageE __ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base __ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base __ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base __ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base __ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_ __ZNSt15_List_node_base4hookEPS_ __ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_ __ZNSt15_List_node_base6unhookEv hcp: No such file or directory make: *** [bin/mc_general] Error 1 ################ I don't know what those Undefined symbols mean!!! (when I compiled the same program in Pather I never had this problem). The various object files called by hcp where previously compiled using gcc4, though, with no problems. However, when I do a "hcp --help" it tells me that hcp is using gcc3.3, not gcc4. Is this the cause for the undefined symbols? Is there any fink version of lammpi (or any other distribution for that matter) that uses gcc4 all the way? Thanks a lot for your time, Luis Beça ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel