I am trying to compile a set of packages for doing x-ray absorption spectroscopy. Eventually, I would like to make these part of fink (they are all open source projects). In any case, I hit a snag in compiling linking one of the packages which I don't understand. The package uses pgplot from fink. The file causing the problem is apparently iff_feffit.o. This is compiles without errors "g77 -O2 -g -c ieff_feffit.f". The library is also linked to by other binaries without error (they may or may not use the problem object). Any ideas how to avoid this problem, namely "local relocation entries in non-writable section"?


cc -flat_namespace -bundle -undefined suppress -L/usr/local/lib -L/usr/local/lib -framework Foundation -framework AppKit ifeffit_wrap.o -o blib/arch/auto/Ifeffit/Ifeffit.bundle -L/sw/lib -lifeffit -L/sw/lib/pgplot -lpgplot -L/sw/lib -lpng -lz -L/usr/X11R6/lib -lX11 -lcc_dynamic -L/sw/lib/gcc/powerpc-apple-darwin6.6/3.4 -L/sw/lib/gcc/powerpc-apple-darwin6.6/3.4/../../.. -lfrtbegin -lSystem
ld: /sw/lib/libifeffit.a(iff_feffit.o) has local relocation entries in non-writable section (__TEXT,__const)
make: *** [blib/arch/auto/Ifeffit/Ifeffit.bundle] Error 1




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to