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
Received on Wed Jul 17 1996 - 15:33:10 NZST