Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* ld will not work over NFS
@ 1996-07-17  4:00 James W Walden
  1996-07-18  4:00 ` Eric Werme
  0 siblings, 1 reply; 2+ messages in thread
From: James W Walden @ 1996-07-17  4:00 UTC (permalink / raw)



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	    





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ld will not work over NFS
  1996-07-17  4:00 ld will not work over NFS James W Walden
@ 1996-07-18  4:00 ` Eric Werme
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Werme @ 1996-07-18  4:00 UTC (permalink / raw)



James W Walden <jw63+@andrew.cmu.edu> writes:

>on a filesystem exported as follows from an SGI Indy running IRIX 5.3

>/usr0   cmuhep1.phys.cmu.edu    cmuhep2.phys.cmu.edu

You didn't say how many SGI patches you're running.  Digital UNIX
uses NFS V3 by default and SGI's V3 support in 5.3 is atrocious.
Try using nfs V2 (mount -o nfsv2) or upgrade your 5.3.

Uh, why did you post this on a DEC newsgroup but not SGI?
-- 
Eric (Ric) Werme         |  werme@zk3.dec.com
Digital Equipment Corp.  |  This space intentionally left blank.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-07-18  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-17  4:00 ld will not work over NFS James W Walden
1996-07-18  4:00 ` Eric Werme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox