GCC: undefined reference to `stat'

GCC: undefined reference to `stat'

Post by tedcho » Wed, 13 Mar 1996 04:00:00



Hi! Quick question: when I use gcc to compile some source
like slrn and sendmail, I always get the error:

objs/misc.o(.text+0x1acf): undefined reference to `stat'

and I know some part of library files are missing. Can
anyone please tell me what library files I have to get or
something I missed? I install gcc 2.7.0 on linux 1.3.59.

TIA