find commmand gives 'cannot stat' for any file

find commmand gives 'cannot stat' for any file

Post by Gregory A. He » Tue, 02 Mar 1993 12:14:37

A friend of mine asked me to help him solve a problem that started
happening recently on his SparcStation.  The find command has stopped
working.  It gives "cannot stat" messages for every file you try to find.
The files are there.  He doesn't remember changing anything when it

He is running a Sparc IPX with SunOS 4.1.2.  I feel like I need to give
more info, but that is all I could gather.  What gives?  Any Clues?  Any

Any thoughts would be appreciated,


                    /~~~~~~~~~~~~~~~~~~~~~~~~~~\                A/~~\A
                    |    WELCOME TO ALABAMA    |               ((o  o))___    
                    |  Set  your  watch  back  |                 \  /     ~~~
                    |  an hour . . . set your  |  #              (--)\    #  
Greg Heim    --x---x|  calendar back 30 years  |--#---x---x---x---x---x---#---
USENET Junkie       \--------------------------/  #                    \  i_

Sig. Copyright(c) 1991 | | )#(//  \\)(/  \| |(// \#(//  \|/   \\)|(/   \|)#(/


1. cannot find referenco to 'stat'

: does anybody know where is the problem:

: i have installed linux with kernel 1.2.13 and gcc 2.7.0 from 'd' pack
: of diskettes. however, i thought it is complete, and i still is, but i
: have problems whenever i want to compile something that uses 'stat' or
: 'lstat' etc. functions in C. always compiling passes without problems,
: but when liniking startes, i get a message "cannot find reference to
: stat". i looked in libc.a and found stat function inside, but dunno
: why can't it be found
yes. (KLUGE ALERT!).

some genius (?) decided to reimplement 'stat()' and related functions as
inline functions that are defined only in <sys/stat.h>; If you happen
to use one of these functions w/o including the "right" header, you'll
get unresolved symbols.

Thomas E. Dickey

2. RIGHT NOW!!! anyone reading this, how long till I get my answer

3. Finding Network Topology

4. instructing 'find' to only give me certain files

5. Shortened repost: mmap over NFS problem

6. xinit: cannot find file ''

7. Logs not working in Linux httpd??

8. how to get 'fd' given only 'FILE *' ?

9. ccmail 'Database file cannot be found.'

10. How to suppress 'Cannot stat "xxx"' message in tcsh

11. Starting lpd: Warning - lp: cannot stat lp device '/dev/lp0'

12. cannot load modules 'kernel_version needed, but can't be found'