I am trying to compile some code that needs to be compiled with g77. I have done this one two machines both running the latest g77 from fink and am now trying it on a third machine. All machines are running 10.2.2. On the latest machine, however, the compilation stops with:

[g4-hy:ifeffit_1.0b/src/macosx] fons% make
g77 -O2 -o autobk ../autobk/autobk.o ../autobk/misc_file.o ../autobk/setsys.o ../autobk/autint.o ../autobk/autinp.o ../autobk/getcom.o ../autobk/autdat.o ../autobk/autnls.o ../autobk/autfun.o ../autobk/autlog.o ../autobk/autout.o libxafs.a -L/sw/lib -lg2c -lm
/usr/bin/ld: Undefined symbols:
_main
_f__xargc
_f__xargv
make: *** [autobk] Error 1

The thing is that the symbols xargc and xargv are in lib2gc (which is part of g77, right?) and are showing up as undefined. I assume the _main is also defined there. Any idea as to what might be going on. On the other two machines the compile just zips through this line without error. Something is different, but I am not sure what. The version of g77 is:

[g4-hy:ifeffit_1.0b/src/macosx] fons% fink list | grep g77

i g77 2.95.2-2 GNU FORTRAN77 compiler.
[g4-hy:ifeffit_1.0b/src/macosx] fons% fink --version
Package manager version: 0.10.0
Distribution version: 0.4.1.cvs

and

[g4-hy:ifeffit_1.0b/src/macosx] fons% gcc --version
gcc (GCC) 3.1 20020420 (prerelease)


I assume this is something trivial, but I am just missing it, but the fact that the behavior is different on machines with ostensibly identical installs is troubling. Any ideas?



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to