From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,723dd444c01f13f0,start X-Google-Attributes: gidfee84,public From: James W Walden Subject: ld will not work over NFS Date: 1996/07/17 Message-ID: <0lvCNC200VVE0Kl500@andrew.cmu.edu>#1/1 X-Deja-AN: 168596422 organization: Doctoral student, Physics, Carnegie Mellon, Pittsburgh, PA newsgroups: comp.unix.osf.osf1 When attempting to compile and link a C program, ld fails on NFS mounted filesystems while succeeding on non networking filesystems. The command "cc -c hello.c" sucessfully generates an object file, but the command "cc hello.c" fails during linking with the error: ld: make_outbuf: cannot ftruncate((null)) The permissions and ownership of the directory are as follows: drwxr-xr-x 3 walden sys 512 Jul 17 08:48 ./ drwxr-xr-x 20 walden sys 1536 Jul 17 07:48 ../ -rw-r--r-- 1 walden sys 61 Jul 16 19:23 hello.c on a filesystem exported as follows from an SGI Indy running IRIX 5.3 /usr0 cmuhep1.phys.cmu.edu cmuhep2.phys.cmu.edu The compilation is being done on the machine cmuhep1, an Alphastation 600 5/333 running Digital UNIX 3.2. In /usr/lib/cmplrs/cc, both ld and driver are owned by bin.bin and are mode 555. Gcc 2.7.2 returns the same error as expected since it's using the standard linker. Please email replies and I will post a summary of responses. Thank you, James (http://www-hep.phys.cmu.edu:8001/~walden) "Truth decays into beauty, while beauty soon becomes merely charm. Charm ends up as strangeness, and even that doesn't last, but up and down are forever." - The Laws of Physics