It worked now! Thanks everyone!

-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Otto
Moerbeek
Enviada: sabado, 17 de Novembro de 2007 12:41
Para: Pedro de Oliveira
Cc: [email protected]
Assunto: Re: Compiling pcc

On Sat, Nov 17, 2007 at 12:21:46PM -0000, Pedro de Oliveira wrote:

> Tried what you guys said... and now it fails on make with another
> error, well, its not even an error, its a few warnings.
>
> cc -O2 -pipe  -DPCC_DEBUG -DGCC_COMPAT -Wall -Wmissing-prototypes
> -Wstrict-prototypes -Werror -DLIBEXECDIR=\"/usr/local/libexec\"   -I.
> -I/usr/src/usr.bin/pcc/ccom/i386/.. -I/usr/src/usr.bin/pcc/ccom/i386
> -I/usr/src/usr.bin/pcc/ccom/i386/../../mip
> -I/usr/src/usr.bin/pcc/ccom/i386/../../i386
> -I/usr/src/usr.bin/pcc/ccom/i386/../.. -c
> /usr/src/usr.bin/pcc/i386/local.c
> /usr/src/usr.bin/pcc/i386/local.c: In function `picsymtab':
> /usr/src/usr.bin/pcc/i386/local.c:69: warning: implicit declaration of
> function `strlen'
> /usr/src/usr.bin/pcc/i386/local.c:72: warning: implicit declaration of
> function `strlcpy'
> /usr/src/usr.bin/pcc/i386/local.c:73: warning: implicit declaration of
> function `strlcat'
> *** Error code 1
>
> Stop in /usr/src/usr.bin/pcc/ccom/i386.
> *** Error code 1
>
> Stop in /usr/src/usr.bin/pcc/ccom.
> *** Error code 1
>
> Stop in /usr/src/usr.bin/pcc.

Your source is not up to date. local.c includes pass1.h which includes
manifest.h which includes string.h.

        -Otto

Reply via email to