> > Sometimes, when compiling on the Solaris machine, gcc/g++ bomb out with
> > an 'is a directory' error on either a .o file, or a generated .h file.
> > So the files have always been created on the NFS disk from the Sun, and
> > it's then getting errors back on reading them.
We've had this exact same problem for about a year. It
seems to be a fault in unfsd (the server), not in Solaris,
since if you tcpdump the packets doing over the network,
they definitely show the incorrect S_IFDIR attribute
being attached to the file.
No solution found so far despite several attempts at
diagnosing the problem. I also haven't been able to
reliably reproduce the problem, except using Sun's
assembler (ie. if I write a program which just performs
the same set of system calls as the Sun assembler and
run it over and over again ... no problem).
If you do find a solution, then please let me know!
A workaround is to build on the local disk, eg. on /var/tmp,
or unmount and remount the NFS partition, or remove
the file and wait for the problem to clear (takes about 5-20
minutes).
Rich.
-- Richard Jones rjones@orchestream.com Tel: +44 171 598 7557 Fax: 460 4461 Orchestream Ltd. 125 Old Brompton Rd. London SW7 3RP PGP: www.four11.com "boredom ... one of the most overrated emotions ... the sky is made of bubbles ..." Original message content Copyright © 1998 - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu