conley@csvax.cs.ukans.edu (Dennis R. Conley) (07/05/90)
System: 5400, ultrix v3.1c-0 rev 42 We acquired fortran a while back, so I installed it and everything seemed fine. Recently, someone moved a project to this machine for debugging, which consists of one fortran routine and a bunch of C functions. The user ran make, and after all the compiling was done, ld died thusly: cc -o prog <lots of C object files> testf.o -lU77 -lI77 -lF77 -lc ld: testf.o: version stamp: 2.10, does not match ld's: 1.31 Undefined: f_open0 *** Error code 1 Poking around, we found under /usr/bin: lrwxr-xr-x 1 root 6 May 8 14:24 cc -> cc1.31 -rwxr-xr-x 1 root 86016 Aug 3 1989 cc1.31 lrwxr-xr-x 1 root 26 Jun 28 12:52 cc2.1 -> ../lib/cmplrs/cc2.1/driver lrwxr-xr-x 1 root 6 Jul 4 14:49 f77 -> f772.1 lrwxr-xr-x 1 root 26 Jul 4 14:49 f772.1 -> ../lib/cmplrs/cc2.1/driver lrwxr-xr-x 1 root 6 May 8 14:24 ld -> ld1.31 -rwxr-xr-x 1 root 212992 Aug 3 1989 ld1.31 lrwxr-xr-x 1 root 22 Jun 28 12:52 ld2.1 -> ../lib/cmplrs/cc2.1/ld It appears that the fortran installation provided updated versions of these, but didn't change the symbolic links for cc or ld. Similarly, there appear to be newer libraries that remain stashed away ( which is the source of the undefined symbol above ). Does this mean that the installation failed, or was incorrect? Shouldn't the links to compilers/libraries have been changed by the installation procedure? Should we try to change them by hand, or what? Thanks yet again. -- | Dennis R. Conley, Computer Science Dept., University of Kansas (913)864-4488 | | conley@csvax.cs.ukans.edu conley@kuhub.cc.ukans.edu |