> Hello. I was working on generalizing my version of hoc so that you  
> can have strings, numbers, and sets all in an expression. But when I  
> tried to compile it, I got strange errors about undefined standard  
> functions. I looked at the include files and at the pcc -E output,  
> and they show declarations.

> pcc $LDFLAGS -o hoc y.tab.8 code.8 gamma.8 init.8 math.8 symbol.8
> yytokname: undefined: sprintf in yytokname
> errcheck: undefined: strerror in errcheck
> ungetc: undefined: _IO_setvbuf in ungetc
> stat: _IO_stream: not defined

For some reason the current /n/sources/plan9/386/lib/ape/libap.a
is missing a few object files.  You can correct this yourself by 

        cd /sys/src/ape/lib/ap
        mk
        mk clean

Russ

Reply via email to