I am an amateur at unix programming and am trying to compile a motif based application that does laue diffraction pattern simulations (laueX) (I might even submit it to fink if I can figure out how to get it to execute). The compilation goes fine with some multiple definition warnings (e.g.)
cc -L/sw/lib -L/usr/X11R6/lib -dynamic -o ../bin/laueX laueX.o exitCB.o read_fileCB.o crys_dataCB.o XselectCB.o XcellCB.o mod_fileCB.o det_dataCB.o display_msg.o get_asy.o spot_dataCB.o spotCB.o index_optCB.o get_data.o save_data.o index_tryCB.o index_try.o init_mat.o vect_diff.o gener_hkl.o index_solCB.o indexation.o simul_optCB.o get_gener.o cr_mat44.o simul_compCB.o simul_print.o orien_axeCB.o do_rep.o orien_aligCB.o orien_rotCB.o gen_cell.o gen_equiv.o comp_Fhkl.o helpCB.o write_log.o reflection.o det_helpCB.o axis_helpCB.o simul_dispCB.o simul_comp.o xray_dataCB.o xray_charCB.o read_xray.o polarCB.o printerCB.o -lXm -lXt -lX11 -lm /usr/bin/ld: warning multiple definitions of symbol _vendorShellClassRec /usr/X11R6/lib/libXt.dylib(Vendor.o) definition of _vendorShellClassRec /sw/lib/libXm.dylib(Vendor.lo) definition of _vendorShellClassRec /usr/bin/ld: warning multiple definitions of symbol _vendorShellWidgetClass /usr/X11R6/lib/libXt.dylib(Vendor.o) definition of _vendorShellWidgetClass /sw/lib/libXm.dylib(Vendor.lo) definition of _vendorShellWidgetClass /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _vendorShellWidgetClass used from dynamic library /usr/X11R6/lib/libXt.dylib(Vendor.o) not from earlier dynamic library /sw/lib/libXm.2.dylib(Vendor.lo) symbol _vendorShellClassRec used from dynamic library /usr/X11R6/lib/libXt.dylib(Vendor.o) not from earlier dynamic library /sw/lib/libXm.2.dylib(Vendor.lo) /usr/bin/ld: warning unused multiple definitions of symbol _XauDisposeAuth /usr/X11R6/lib/libX11.dylib(AuDispose.o) definition of _XauDisposeAuth /usr/X11R6/lib/libXp.6.dylib(AuDispose.o) unused definition of _XauDisposeAuth /usr/bin/ld: warning unused multiple definitions of symbol _XauReadAuth /usr/X11R6/lib/libX11.dylib(AuRead.o) definition of _XauReadAuth /usr/X11R6/lib/libXp.6.dylib(AuRead.o) unused definition of _XauReadAuth chmod go+rx ../bin/laueX When I attempt to run the program, however, I get the following error messages. Any idea what they may mean -- or more specifically how to fix the program? Warning: XmManager ClassInitialize: XmeTraitSet failed Error: attempt to add non-widget child "DropSiteManager" to parent "laueX" which supports only widgets _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
